2006 Jan 23 10:43 AM
Hi everyone,
I would like to know if it is possible to limit the code generated by TCD or SAPGUI mode because it is very difficult to know which dynpro correspond to which screen.
Kind regards,
Bob.
2006 Jan 24 4:51 AM
Hello Bob,
What I understood is you are finding difficulty in analyzing which dynpro of TCD or SAPGUI corresponds to which screen of transaction. If this is you query then following information can be useful -
1. TCD Mode -
In TCD command, double click on the command interface on left side. On the right side the window of command interface shows folder of DYNPRO MODE PROG DYNR.
The last two options PROG DYNR are program and screen number of the transaction screen. In transaction, from menu System -> Status, you can get the program name & screen number.
2. SAPGUI Mode -
-In SAPGUI command, the first parameter of command itself contains the screen number of transaction.
e.g. SAPGUI(VA01_104_STEP_1)
Here 104 is the screen of transaction VA01. This can again be verified from VA01's System -> Status menu.
- Double click on this first parameter of SAPGUI command on left side, on right side under ProcessedScreen option Transaction, Program & ScreenNumber information is available.
If it doesn't answer you query, please elaborate the question.
Regards
2006 Jan 24 4:51 AM
Hello Bob,
What I understood is you are finding difficulty in analyzing which dynpro of TCD or SAPGUI corresponds to which screen of transaction. If this is you query then following information can be useful -
1. TCD Mode -
In TCD command, double click on the command interface on left side. On the right side the window of command interface shows folder of DYNPRO MODE PROG DYNR.
The last two options PROG DYNR are program and screen number of the transaction screen. In transaction, from menu System -> Status, you can get the program name & screen number.
2. SAPGUI Mode -
-In SAPGUI command, the first parameter of command itself contains the screen number of transaction.
e.g. SAPGUI(VA01_104_STEP_1)
Here 104 is the screen of transaction VA01. This can again be verified from VA01's System -> Status menu.
- Double click on this first parameter of SAPGUI command on left side, on right side under ProcessedScreen option Transaction, Program & ScreenNumber information is available.
If it doesn't answer you query, please elaborate the question.
Regards
2006 Jan 24 1:48 PM
Hello SAP Developper,
Thank you very much for your helpful and clear answer.
Can you please tell me where can I find some explanations about the structure TCD(Mode, Program, Dynpro) and SAPGUI(ProcessedScreen,ScreenNumber, Transaction, etc...)
And I would like to know if it is possible to display the recorded screens by SAPGUI (kind of print screen).
Best regards,
Bob.
2006 Jan 25 1:55 PM
Hello Bob,
=>Following links can help you in exploring about the details of TCD as well as SAPGUI Command Interfaces. Explore the nodes of TCD as well as SAPGUI. Detailed information is available.
http://help.sap.com/saphelp_erp2004/helpdata/en/aa/1d493b5cdf6716e10000000a11402f/frameset.htm
http://help.sap.com/saphelp_erp2004/helpdata/en/b5/c5f60a2b5bc74f8ca0eef40158806c/content.htm
=> Till date I have not seen display of recorded screens of SAPGUI in a recorded script. This can be done in case of error by recorder, which is available with WAS 6.40.
Regards
2006 Jan 26 2:25 PM