‎2009 May 18 2:24 PM
Hi there,
I have to implement a modification in SAP-coding that should generally implement the following:
SAP calls a dynpro and I want to implement that the user doesn't get directly on the screen, insteas I want to simulate that the user has pressed a button on this dynpro. So I mean I want directly go to PAI with a given sy-ucomm. This sy-ucomm will lead to a popup which the user hast to maintain first. After he closes this dynpro he should get normal acess to the dynpro that should be supressed the first time.
Does anyone have an idea how to directly start the PAI-logic of a dynpro and not completely hide the first dynpro (because it should be shown after the popup).
Thank you!
Kind regards...
‎2009 May 18 2:50 PM
You need check for the Method "set_new_ok_code":
CALL METHOD cl_gui_cfw=>set_new_ok_code
EXPORTING
new_code = '<Dummy New OKCODE>'.
You can find few threads related to this in this forum
a®
‎2009 May 18 2:50 PM
You need check for the Method "set_new_ok_code":
CALL METHOD cl_gui_cfw=>set_new_ok_code
EXPORTING
new_code = '<Dummy New OKCODE>'.
You can find few threads related to this in this forum
a®
‎2009 May 18 3:00 PM
Hi,
Create a transaction for the program and then call the transaction with the required values from the program.
call transaction 'zzzz' and skip first screen.