Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Controls problemes : no refresh of the ALV after an event

Former Member
0 Kudos

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

1 REPLY 1

ssimsekler
Active Contributor
0 Kudos

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