Skip to Content

Change in repository does not make any change in alv for some time

Hi Sap Masters!!

I'm an strange error that i detected in diferent sap sistems and versions (4.6, 5.0)

When i make a table or structure and it's fields and use se16n to display this table or i use the function of alv in a program, the match code associated with this field will be displayed normally, but if any change is made in this element, for change this match code, the change does not appear in the generated grid or se16n...

But, in the next day, the match code just beguin to work... i have detected this many times in diferent ambients

Try, make a table without mathcode and go to se16n

Then apply a match code and redisplay in se16n....any match code will be displayed...

wait some times and it began to run.....

Any help?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Dec 20, 2010 at 12:57 AM

    Hi Rafael,

    the creators of ALV functionality were afraid the internal field catalog handling might take too much time (or were they afraid their development would not take too much time?) and they invested a lot of work to put everything in persistent buffers that last exactly until next day.

    And they created a clear-buffer program (at least 2 versions of it): Run BALVBUFDEL once and everything is fine.

    Regards,

    Clemens

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 19, 2010 at 09:49 PM

    Hello Raphael

    The ALV applications buffer the DDIC data of the structure/table of your OUTTAB.

    Thus, if you are using class CL_GUI_ALV_GRID then call method SET_TABLE_FOR_FIRST_DISPLAY using I_BYPASSING_BUFFER = 'X'.

    The same you should do if you build up your fieldcatalog using fm LVC_FIELDCATALOG_MERGE.

    Maybe this explains the behaviour of the applications in your systems.

    Regards

    Uwe

    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.