on 01-08-2008 11:00 AM
hi all,
Can anbody will send the step-by step procedure(if possible with screenshots) for learning menu painter and screen painters.
Menu Painter
The Menu Painter is a tool with which you design user interfaces for your ABAP programs.
This section tells you how to create and use the interface, and how to define the functions that you use within it.
http://help.sap.com/saphelp_nw04/helpdata/en/83/7a18cbde6e11d195460000e82de14a/frameset.htm
Regarding * SET PF-STATUS 'xxxxxxxx'
The purpose of this statemnt is to provide icons/ functions on application toolbar and menu toolbar at the o/p screen.
This is how we do it :
just provide a name to XXXX by decommenting it
for example SET PF-STATUS 'ZITP_GV_ALV_GRID'.
Then double click on "'ZITP_GV_ALV_GRID'"
it will take you to the next screen.
On that screen you just ahve to provide the
icons / functions which you want on your application and menu toolbar respectively..
so that you can use them while you are seeing the O/P of your program.
one eg :
MODULE USER_COMMAND_0100 INPUT.
IF SY-UCOMM = 'EXIT'.
LEAVE PROGRAM.
ENDIF.
ENDMODULE.
This exit button is there on menu toolbar
SO when you will press exit on the menu toolbar ( ^^^ the code wil be executed and it'll take you bac to se38 editor)
Reward points if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Screen painter
Screen painter is used to design the screens. Using screen painter you can create text boxes, radiobuttons, pushbuttons etc.
Go to se38 and create a program which is of type module pool, then go to se51 give the same prg name which you created in se38 and give some screen number. Then go to layout and design the layout by dragging and dropping the textboxes, pushbuttons etc. then write code in PAI or PBO modules.
In PAI modules you will create code which will be triggerred when u perform some action in the output. In PBO module the code which you write gets triggered before the screen gets displayed.
After writing the code activate the program and create a transaction code in se93 for the program as it can't be executed by pressing F8.
Go through these sites so that u will get an idea.
http://wiki.ittoolbox.com/index.php/FAQ:What_is_module_pool_program_in_abap%3F
http://help.sap.com/saphelp_46c/helpdata/en/35/26b1aaafab52b9e10000009b38f974/content.htm
http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm
http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
http://www.geocities.com/ZSAPcHAT
http://www.allsaplinks.com/files/using_table_in_screen.pdf
http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
http://www.sapgenie.com/links/abap.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
http://www.geocities.com/ZSAPcHAT
http://www.allsaplinks.com/files/using_table_in_screen.pdf
http://www.allsaplinks.com/files/using_table_in_screen.pdf
http://www.geocities.com/ZSAPcHAT
Reward Points if useful.
Edited by: Sravan Prakash.V on Jan 8, 2008 4:39 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.