Skip to Content

How to apply ALV view at runtime

Hi,

Now I have the view list for current alv table, but I don't know how to apply them at runtime.

I know this class CL_SALV_WD_CONFIG_TABLE, unfortunately no similar method can be found to implement this.

Any reply is highly welcome.

Thanks and regards,

Felix

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 14, 2009 at 09:46 AM

    Hi Felix,

    If there is a saved view in ur ALV. It can be set during runtime by using the method GET_CONFIG_DATA in the ALV interface IWCI_SALV_WD_TABLE.

    SAP Help document: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/93/47854a8366474f8bedabdcc43b2387/frameset.htm

    Ranganathan

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 11, 2009 at 02:53 AM

    Anybody help?

    Is it difficult to implement?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Felix Yan

      Hi Felex,

      This requirement is not reasonable. You can set the configuration for a standard view and if the user want to set their own view as the default view, they can set their own view as default.

      Best regards,

      Blake Le

  • Posted on Aug 12, 2009 at 07:23 AM

    Hello,

    Anybody there?

    I want to apply personalized view. I thought it would be easy by calling some method of class CL_SALV_WD_CONFIG_TABLE which is usually used to for example set width, columns.

    Any reply is deeply appreciated.

    Thanks,

    Felix

    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.