Skip to Content

ALV Dump for only 1 user

Hello Gurus !

We have a custom report inside which an ALV is called .

CALL METHOD <alvxxx>->set_table_for_first_display

is_variant = wa_variant
i_save = 'A'
is_layout = l_layout
it_fieldcatalog = lt_fieldcatalog
it_outtab = <datatable>.

Only for 1 user this ALV display fails with an ASSERTION FAILED dump .

This user has a user specific layout set . So next we changed the ALV call with i_default parameter so that when anybody calls this custom program only the standard layout should get called . This worked fine & now the user deleted his old layouts & created a new user specific layout .This was also fine.

After this the ALV i_default parameter change was reverted .( Other users were obviously complaining that their user specific layouts were not coming ! )

After code reversal the user has the same problem again . Its weird that only 1 user has a problem . Any hints pls ?

It seems to be happening in the ALV display process where it is trying to apply a filter on the layout. So the issue seems to be with the layout of the user , but we cannot delete the user's layout directly as it dumps even before we can see his layout .

abapdump.png (44.1 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Sep 28, 2018 at 11:22 AM

    From the little snippet it seems that there is an illegal filter condition operator saved in the layout. Can you see the actual value further down in the dump text where it lists the variable contents?

    Can you use program BCALV_DELETE_ALL_USER_LAYOUTS ? It will delete all personal layouts of the user, however. There is a list shown first before you have to decide to proceed or cancel.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 28, 2018 at 11:17 AM

    Hello Shari Gubby,

    When you have Layout and you saved accoriding to your parameters then you have change you parameters then you will get a dump.

    It means:

    Program 1.0 ( with 3 Paramters ) = Layout 1

    Program 1.1 ( with 2 Paramters ) or you have changed the name of paramters and the same layout., then you will get a dump.

    If this what happend to you, then you have to do the following things:

    Just delete the layout and create a new layout according to your program and save it.-

    If not this case of your problem then I did not understand your question!



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 16, 2018 at 11:55 AM

    Thanks ! It worked .

    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.