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

Controls problemes : no refresh of the ALV after an event


I have the following problem :

I have created a program which create a custom container and create an instance of the class 'Z..CL_WF_INBOX_01' (a copy of CL_WF_INBOX_01).

Inside this class I had changed the constructor and create a splitter container, a HTML container and an ALV container, I had added each control to the screen (via the method ADD_CONTROL of the splitter object) and...that work fine, when I run my program, I can see a screen with at top the Inbox content in an ALV grid and the first work item content displayed in HTML format.

If I click on one item of the ALV, one event is triggered and the method HANDLER_DELAYED_CALLBACK is called too. Everything looks good in this method, I capture the cells and rows of the clicked line, I read the content of the work item and put data in table and fill in the new HTML format, but when I come back to my screen, the ALV and the HTML windows are deleted. This happened really like if I have never defined a splitter container and its controls...

Someone to help me ?

Thank you very much in advance.

I dont't know if it's important, but I'm using Tab strips as screen for the ALV, HTML display. ?

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Jun 16, 2004 at 10:01 PM


    ALV requires a frontend refresh method call. So, either you should have refreshed it at PBO (where u should also check the existence of already-created ALV instance) or after the event call using the method 'refresh_table_display'.

    Add comment
    10|10000 characters needed characters exceeded