cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi,

I am new to dialog programming. I have a requirement to open a pop-up screen to get some values as input and execute them on click of 'save' button. Once processed, a message should be shown on top or bottom of the same screen. Also, the screen has another button 'cancel' to close the popup.

I created a new (normal) screen with input controls and showed it by using 'CALL SCREEN <SCRNO> STARTING.....'. But, i find the toolbar icons of the parent screen displaying in the bottom of the popup screen as shown in screenshot. Also, unable to close this normal screen by calling 'LEAVE SCREEN' (Is set screen mandatory before calling this ?). This might be very basic question/issue that i am not aware. Please help to solve this. Also, any good links on dialog programming will also be helpful.

Thanks in Advance.

View Entire Topic
Sandra_Rossi
Active Contributor
  1. A screen displayed as a popup must be defined with type "dialog box", not as "general". It will maybe solve the issue of buttons.
  2. If you want to set other buttons, same answer than Evgeny, define a GUI status with these buttons, and activate it during the PBO of the screen using SET PF-STATUS 'NAME'.
  3. To leave a screen displayed using CALL SCREEN, you should use SET SCREEN 0 (zero is a special value). To word it more precisely, CALL SCREEN starts a "screen sequence" (the screen may change in the screen sequence using SET SCREEN), and the screen sequence can be left using SET SCREEN 0.
  4. You have many demo programs using ABAPDOCU transaction code.