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

ALV fieldcatalog for runtime structure

Former Member
0 Likes
534

Hi All,

My requirement is to display ALV report for any table that user enters in the selection screen. Say user enters mara then mara table records should display..if user enters makt then makt table records should display. How to preperare field catalog when i dont know the structure of the table before..

Pls help me out.

Regards,

Mallika

Hi All,

My requirement is to display ALV report for any table that user enters in the selection screen. Say user enters mara then mara table records should display..if user enters makt then makt table records should display. How to preperare field catalog when i dont know the structure of the table before..

Pls help me out.

Regards,

Mallika

2 REPLIES 2
Read only

Former Member
0 Likes
478

Hi Mallika,

You can use the FM 'REUSE_ALV_FIELDCATALOG_MERGE' for generating the fieldcatalog. Just pass the structure to this FM and will return you the fieldcatolog for the structure.

Refer to the below link

[|]

Regards,

Nikhil

Edited by: Nikhil Kayal on Apr 25, 2009 11:07 AM

Read only

Former Member
0 Likes
478

Please don't ask such a simple questions, Search before posting.

in SCN there are similar post with lot of answers, Please make use of existing answers.