Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass the internal table defined in program to ALV

Former Member
0 Kudos

Hi Friends,

I have a doubt regaring the ALV's,

How can we pass the internal table defined in the program to ALV by not filling the attribute (I_STRUCTURE_NAME) in the REUSE_ALV_LIST_DISPLAY.

I have tried many ways but unable to pass the structure of the internal table. I am getting the error message "Field Catalog Not Specified......" and its terminating and when i am giving the I_STRUCTURE_NAME = 'INTERNAL-TABLE-NAME' then its displaying a blank screen with all the tool-bars and icons...(No output of internal table data is seen on the screen) .

and when i am passing the DDIC table or structure ( for eg. LFA1) to I_STRUCTURE_NAME then its displaying with any error.

Plaese help in resolving this problem....

Regards

Pradeep Goli

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Check this thread which gives example of ALV. This will give you an idea.

ashish

4 REPLIES 4

Former Member
0 Kudos

Hi Pradeep,

You need to create the fieldcatlog before passing data to ALV.

Regards,

Atish

0 Kudos

Create Fieldcatalog and pass it to parameter IT_FIELDCAT of REUSE_ALV_LIST_DISPLAY

Former Member
0 Kudos

Hi,

Check this thread which gives example of ALV. This will give you an idea.

ashish

Former Member
0 Kudos

Hi,

if you dont want to pass a value to i_structure, then u have to build fieldctalog.