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

Controls problemes : no refresh of the ALV after an event

Hello,

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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

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

    Hi

    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 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.