Tutorials for dailog programming & screen painter
HI,
I am new to the topics above and i want to have information about it . plzz proivde me d simple and easiest tutorials for it.
Hi,
A dialog program consists of the following basic components:
Screens (dynpros)
Each dialog in an SAP system is controlled by dynpros. A dynpro (DYnamic PROgram) consists of a screen and its flow logic and controls exactly one dialog step. The flow logic determines which processing takes place before displaying the screen (PBO-Process Before Output) and after receiving the entries the user made on the screen (PAI-Process After Input).
The screen layout fixed in the Screen Painter determines the positions of input/output fields, text fields, and graphical elements such as radio buttons and checkboxes. In addition, the Menu Painter allows to store menus, icons, pushbuttons, and function keys in one or more GUI statuses. Dynpros and GUI statuses refer to the ABAP/4 program that control the sequence of the dynpros and GUI statuses at runtime.
ABAP/4 module pool
Each dynpro refers to exactly one ABAP/4 dialog program. Such a dialog program is also called a module pool, since it consists of interactive modules. The flow logic of a dynpro contains calls of modules from the corresponding module pool. Interactive modules called at the PBO event are used to prepare the screen template in accordance to the context, for example by setting field contents or by suppressing fields from the display that are not needed. Interactive modules called at the PAI event are used to check the user input and to trigger appropriate dialog steps, such as the update task.
All dynpros to be called from within one transaction refer to a common module pool. The dynpros of a module pool are numbered. By default, the system stores for each dynpro the dynpro to be displayed next. This dynpro sequence or chain can be linear as well as cyclic. From within a dynpro chain, you can even call another dynpro chain and, after processing it, return to the original chain.
Check this link for basics.
http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
Check this link for Dialog Programming/Table Control
http://www.planetsap.com/Tips_and_Tricks.htm#dialog
Check this SAP Help for Dialog Program doc.
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
Check this SAP Help link for Subscreens.
http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbabfe35c111d1829f0000e829fbfe/content.htm
Check this link for subscreen demo program.
http://abapcode.blogspot.com/2007/05/demo-program-to-create-subscreen-in.html
Also check this link too.
http://abapcode.blogspot.com/2007/06/dialog-programming-faq.html
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/frameset.htm
http://sap.mis.cmich.edu/sap-abap/abap09/sld004.htm
http://help.sap.com/saphelp_nw04/helpdata/en/52/670ba2439b11d1896f0000e8322d00/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/52/670c17439b11d1896f0000e8322d00/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/52/670c17439b11d1896f0000e8322d00/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9ccf35c111d1829f0000e829fbfe/frameset.htm
Reward if it is useful
Harimanjesh AN
Similar Messages
-
ChooseFromList for Customers by Screen Painter
Hi,
I don't know how to start on just adding a ChooseFromList for customers on my Screen Painter form.
Any tutorials, videos anything out there to show me how to compelte this task ?aruntb wrote:
...Make sure that your edittext control must be binded with either DBDatasource or user data source of alphanumeric type.
>
> hope this helps
>
> Regards
> Arun
I already did all this and once run it wasn't working at all so I don't know if your last sentence above is made in Screen Painter also but if not, this was probably the missing piece for the whole thing to work. Never read this anywhere not even in Screen painter documentation which is so poor actually.
Well after all, I did everything by code and it seems to work ok. I will make myself a favor ad add a nice single method that do it all and save it in my library. I will even come here and give to everyone this method so it's easier for other people having a hard time with that.
Thank you for the information -
Background color change option for box in screen painter
have created a box in screen painter . is there any option to change the back ground color of this box.
please helpNo, you can not change the background color of your screen painter box.
-
Drill Down Report in screen painter
Hi Experts,
I have a requirement in dialog programming/screen painter to create a 2 level drill down report. for eac page of the report, it should only contain 10 entries then to view the other entries (11 and up), the button for next page should be click (there is also back button).
First question is how will I have the drill down report (alv list type?) in screen painter?
Second question is how should I process the logic mentioned above (next and back) in screen painter/dialog programming?
Thanks in advance for all teh support. Points will be rewarded.
Cheers,
KurttHai,
Go thru this Threads u ll get an idea,
Drill down report help
Re: regarding Drill Down Reporting
drill down capabilities for an alv grid display field using oops concept
Regards,
Padmam. -
How do you open graphical screen painter
Hi all-
I'm using PlatinGUI 6.30r2. How do I open the graphical screen painter (after going into object navigator, I want to place controls on a screen)?
I clicked Layout, but get what appears to be a bunch of horizontal lines-- nothing like a screen painter.
thanks,
KevinActually, the GUI provided on the CD is 6.30r4. After trying to install I got this:
rpm Uvh path/PlatinGUI-Linux-6.30-4.i386.rpm
>./gui
JAVA=/usr/lib/java/bin/java: Command not found
PH=/opt/sapgui/6.30rev4/jar: Command not found
SOI=/opt/staroffice7/program/classes: Command not found
JAVA: undefined variable
I read elsewhere on one of these forums that the free GUI on the sneak preview doesn't work so well with the database (and learned this by sad experience myself), so I downloaded and installed an earlier version from the website:
ftp d ftp.sap.com
name: anonymous
pw: email account
cd to /pub/sapgui/
get PlatinGUI-Linux-630r2.jar
I installed that with java jar PlatinGUI-Linux-630r2.jar, but I didn't see any prompts about installing specific components, so I have no idea what you are referring to (must be on the software that people pay for). That is the version I am currently using, and it is working fine except for this graphical screen painter is not coming up. Now my ABAP book is from 2002, so I'm sure it is included somewhere. Do you have any suggestions? Don't worry, you will get your points.
thanks- -
How can i place an in image in the screen painter?
Hi, first checkout whether your picture is present in your server or not.
i am pasteing a code where i have taken sap enjoy pictur which is present default.
Please see that your custom container name when u create for picture in screen painter will be PICTURE_CONTAINER1.
Copy paste this code....
In TOP declarations....
TYPES pict_line(256) TYPE c.
DATA :init,
container TYPE REF TO cl_gui_custom_container,
editor TYPE REF TO cl_gui_textedit,
picture TYPE REF TO cl_gui_picture,
pict_tab TYPE TABLE OF pict_line,
url(255) TYPE c.
in PBO
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'ZTECH'.
SET TITLEBAR 'SELECT'.
IF init is initial.
init = 'X'.
CREATE OBJECT:
container EXPORTING container_name = 'PICTURE_CONTAINER1',
picture EXPORTING parent = container.
ENDIF.
IMPORT pict_tab = pict_tab FROM DATABASE abtree(pi) ID 'ENJOY'.
CALL FUNCTION 'DP_CREATE_URL'
EXPORTING
type = 'IMAGE'
subtype = 'GIF'
TABLES
data = pict_tab
CHANGING
url = url.
CALL METHOD picture->load_picture_from_url
EXPORTING
url = url.
CALL METHOD picture->set_display_mode
EXPORTING
display_mode = picture->display_mode_fit_center.
ENDMODULE. " STATUS_0100 OUTPUT
Hope this helps.
Thks -
I am new to ABAP
Can any body give me the sites for material abt screen painter
thanks in adv
sateeshhi sateesh,
check these...
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
http://www.allsaplinks.com/dialog_programming.html
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://www.sap-basis-abap.com/sapabap.htm
http://www.erpgenie.com/sap/abap/index.htm
do reward if it helps,
regards,
priya. -
Any video tutorials for "Greeting Card Shop?"
Hello. I just purchased Greeting Card Shop from the Mac App store as a viable alternative to my PC version of The Print Shop. There are no directions. Are there any video tutorials for this program (a la "Video Professor")? Thank you.
There's Mac 101 which contains many short videos on various features. And also Switch 101
-
Best screen painter or dailog prg tutorials
hi,
i want to have best tutorials for screen painter and dailog prg as i am interested in doing work on it.Ric,
Do one thing enter inot any one of below sites from there search for Modulepool.
Module Pool Program
http://abapprogramming.blogspot.com/search/label/DIALOGS%20AND%20SCREENS
http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
reward if useful... -
Screen shot for screen painter..
hi.. can anyone give me screen shots or kink for screen painter using module pool programing..
Hi,
Check this link for STEP-BY-STEP DEMO FOR SCREEN PAINTER with screen shots
http://abapliveinfo.blogspot.com/2007/12/working-with-screen-painter-in-sap.html
Check this link for Screen Painter Concepts http://help.sap.com/saphelp_nw04s/helpdata/en/d1/801c54454211d189710000e8322d00/frameset.htm
http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/MENU&SCREEN_Painter_tutorial.html
http://abap-gallery.blogspot.com/2007/08/screen-painter.html
http://www.thespot4sap.com/articles/SAP_Design_Screen_Elements.asp
Reward points if useful....
Regards
AK -
How to set Function Code for Radion Buttons in Screen painter
Hi,
I have faced problem of grouping 3 radio buttons in screen painter (no graphical editor). How to do it?
I have checked similiar threads in SDN, but those are for graphical editor.
Radio Buttons in custom screeen
http://****************/Tutorials/ABAP/Checkbox/page1.htm
http://****************/Tutorials/ABAP/Checkbox/page2.htm
Regards,
SukhboldHi,
U want to create radio button in the selection screen then u can create like this
PARAMETERS : c1 AS CHECKBOX USER-COMMAND cd,
r1 RADIOBUTTON GROUP rad,
r2 RADIOBUTTON GROUP rad.
AT SELECTION-SCREEN OUTPUT.
IF c1 = 'X'.
LOOP AT SCREEN.
IF screen-name = 'R1'.
screen-input = '0'.
screen-active = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
IF screen-name = 'R1'.
screen-input = '1'.
screen-active = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Thanks, -
F4 help for the selection screen field designed in screen painter
Hi all,
I have designed selection screen in the screen painter. in that for one of the fields i have to give f4 help. for that i have writter the code in PAI event. in this event i have used the standard Function module for f4 help. but no f4 help is comming for that field. can any body suggest what i have to do.
Thanks & Regards,
Giri.Hi,
You must use the correct event to meet ur requirement use POV event instead of PAI event.
for more clarification and example program see below the demo program
DEMO_DYNPRO_F4_HELP_DYNPRO
DEMO_DYNPRO_F4_HELP_MODULE
Cheers
fareed -
Screen Painter - search help for field
Hello All,
I have some fields in a screen created with Screen Painter.
The filelds's types are standard system types like BU_PARTNER or other.
How do I have to define them so that in the screen to appear the match code?
Thank you very much,
Diana.Hi Diana Cotelea,
You can use standard search help 'BUPA'.
Do as follows,
1. Goto 'Dict' tab of the property of BU_PARTNER field in your screen, in 'Search Help' property enter the search help name 'BUPA'.
2. Goto 'Program' tab, for 'Poss. Entries Key' property select 2 or 3 from its DropDowm List values.
Try this.
Regards,
R.Nagarajan. -
ABAP Dictionory type FLTP is nt allowed for screen Painter!!
Hello All,
ABAP Dictionary type FLTP is nt allowed for screen Painter!! am getting this error message if am giving some input.
Thanks
santu
Edited by: santu4u on Oct 23, 2009 1:48 PMHi
Instead of FLTP use Quantity or Currency or Packed Decimals type fields for the Screen Elements.
While you save the data into the database if the database field is of type FLTP the values entered would be automatically converted into FLTP type. We need not take care of this.
---?? What do you mean by IDES version --->
You mean in SE11 or SE16, Wherever it may be you can not use FLTP type on Screen Fields.
This is Standard SAP Procedure, As mentioned Above you can use Packed Decimals or Currency or Quantity Fields
Cheers
Ram
Edited by: Ramchander Krishnamraju on Oct 23, 2009 2:10 PM
Edited by: Ramchander Krishnamraju on Oct 23, 2009 2:13 PM -
How do i download a patch(ex: level 10) and screen painter patch for gui ?
Hello,
how do i download a patch(ex: level 10) and screen painter patch for gui ?
Thanks,
ShehryarHi,
Please see 323878 and 303476.
I believe that you 'll find there the solutions.
Regards
Nuno Mendes Fernandes
Maybe you are looking for
-
All, version: 11.1.1.4 I have a requirement Input xml: *<document>* *<ponum>1000</ponum>* *<linenum>1</linenum>* *<ponum>1000</ponum>* *<linenum>2</linenum>* *</document>* Output: *<document>* *<ponum>1000</ponum>* *<linenum>1</linenum>* *<linenum>2<
-
Hi, when i want to active a table in delphi that contains a BLOB field, it through an exception with message like 'Field Type not supported' How can I show an image saved in Oracle database with Delphi (version 7) plz add codes if u can...
-
Elements 9 serial number limit
Have had two computer crashes recently and replaced my computer. I have orinal E9 discs and number but after upgrading Elements tells I have reached my limit for installing the program and need to buy another one??? What's with this?? Can I get a ser
-
Photoshop cc fails to download, error U44M1I210
photoshop cc fails to download, error U44M1I210
-
In cards, why isn't there a simple folded picture card anymore?
There used to be a simple folded picture card in iphoto cards. You could add writing inside, with no cutesy crap or polka dots, etc. and print it out yourself. Am I missing something?