Application Development and Automation 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: 
Read only

call screen 100

Former Member
0 Likes
1,360

i want to make a program with dialog can you give me simple example,and i will draw the layout thanks

i want to make a program with dialog can you give me simple example,and i will draw the layout thanks

3 REPLIES 3
Read only

Laxmana_Appana_
Active Contributor
0 Likes
778

Hi,

Check this.

you have many examples under ABAPDOCU.

ABAPDOCU->ABAP User Dialogs -> screens->Processing screens.

Laxman

Read only

Former Member
0 Likes
778

Hi Rani,

Please find the simple example program with dialog:

PROGRAM screen_example.

DATA: INPUT TYPE I,

OUTPUT TYPE I,

RADIO1,

RADIO2,

RADIO3,

BOX1,

BOX2,

BOX3,

EXIT.

CALL SCREEN 100.

  • PBO event of screen 100

MODULE INIT_SCREEN_100 OUTPUT.

CLEAR INPUT.

RADIO1 = 'X'.

CLEAR: RADIO2, RADIO3.

ENDMODULE.

  • PAI event of screen 100

MODULE USER_COMMAND_0100 INPUT.

OUTPUT = INPUT.

BOX1 = RADIO1.

BOX2 = RADIO2.

BOX3 = RADIO3.

IF EXIT NE SPACE.

LEAVE PROGRAM.

ENDIF.

ENDMODULE.

Screen 100 has the following layout:

<Input field> <Output field>

<Radio button 1>

<Radio button 2>

<Radio button 3>

<Check box 1>

<Check box 2>

<Check box 3>

<Check box for exit>

Hope it helps.

Regards,

Neeraj Gupta