Application Development and Automation 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: 
Read only

How to pass the internal table defined in program to ALV

Former Member
0 Kudos
227

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
Read only

Former Member
0 Kudos
174

Hi,

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

ashish

4 REPLIES 4
Read only

Former Member
0 Kudos
174

Hi Pradeep,

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

Regards,

Atish

Read only

0 Kudos
174

Create Fieldcatalog and pass it to parameter IT_FIELDCAT of REUSE_ALV_LIST_DISPLAY

Read only

Former Member
0 Kudos
175

Hi,

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

ashish

Read only

Former Member
0 Kudos
174

Hi,

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