Skip to Content
author's profile photo Former Member
Former Member

FIELDCATALOG IN ALV

I WAMNT TO DISPLAY DIFFERENT FIELDCATALOG AT DIFFERENT FUNCTION CODES...AND ALSO REFERSH THE DATA..

KINDLY HELP

IT IS URGENT

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 22, 2008 at 05:01 AM

    Hi aasu mishra ,

    you can do this in two ways,

    1. create different field catalogs for each t codes.

    eg: create it_fld_cat1 for tcode 1,

    create it_fld_cat2 for tcode 2.

    now before calling the FM to display the alv, check system field that return the curren tcode, now pass the corresponding itab to the general field catalog itab say, its_flg_cat_general.

    2. put the lagic to fill the field catalog inside a condition that checks current tcode.

    Regards

    Sarath

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.