2006 Mar 06 9:52 AM - last edited on 2024 Feb 04 4:31 AM by postmig_api_4
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
2006 Mar 06 9:58 AM
Hi,
Check this.
you have many examples under ABAPDOCU.
ABAPDOCU->ABAP User Dialogs -> screens->Processing screens.
Laxman
2006 Mar 06 9:59 AM
http://help.sap.com/saphelp_47x200/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
Can also have a look at this link
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
Check this link for sample code.
http://www.sapgenie.com/abap/example_code.htm
http://www.sap-img.com/abap.htm
also,
http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
2006 Mar 06 11:35 AM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |