Skip to Content
Aug 05, 2015 at 11:11 AM

It's an error or am I missing something...



I was trying two Model dialog box screens with CL_GUI_HTML_VIEWER class.

But getting some strange error, I don’t know. Error will be the right word or something I am missing in program.

Logic I have followed.

  1. Created dialog screen and display HTML information by using the CL_GUI_CUSTOM_CONTAINER=>DEFAULT_SCREEN as parent for the same.
  2. Activated HTML event for the designed button.
  3. When button clicked, another dialog screen will appear, and here I am getting the same view, which is defined for the 1st screen.
  4. But 2nd screen contains some different view.
  5. After analyzed, I have created a container object for screen 1st then changed the PARENT for 1st screen HTML object to declared container as CL_GUI_CUSTOM_CONTAINER. After that i got the same solution what I was expecting.
  6. Provide some hints or solution, how I can achieve the same solution by use CL_GUI_CUSTOM_CONTAINER=>DEFAULT_SCREEN as parent.

Please find the code in attachment.

Test 1: without Container: (error)

Test 2: with Container (Expected)



Attachments (1.3 kB)
info.jpg (18.0 kB)
info.jpg (17.9 kB)