2007 Feb 27 10:22 AM
Please, how to do this?
i want to generate a dynpro in my own program. Like it is in SE16. I call first screen, fill the table name, and then it 's generated dynpro with parameters having this table. Could you help me?
thanks
2007 Feb 27 12:00 PM
Hi Filip.
Let's see if i can be clear:
you have 2 OPTIONS. the choice will depend on the kind of the second screen you want.
FIRST:
SECOND
- 1º in you report, declare a PARAMETER (for example the table name).
- 2º call a secondary report.
Best regards
Valter Oliveira.
2007 Feb 28 8:32 AM
No, that's not it.
I describe it on the short example.
First dynpro has only one input field - name of table (i have no problem with that dynpro). But then, if i choose table BSEG, i want to have in the second dynpro all primary key (BUKRS,BELNR, GJAHR); if i choose DRAW, i want there DOKNR, DOKAR,DOKVR,DOKTL... etc. Does anyone know, how to reach that?
2007 Feb 28 8:41 AM
2007 Feb 28 8:45 AM
I found only that FMs
SWU_AM_CREATE_DYNPRO_CONT_GET
SWU_CREATE_DYNPRO_WF_START
SWU_CREATE_DYNPRO_WI_EXECUTE
2007 Feb 28 11:03 AM
oh, still not what i want. In fact, i want to modify the dynpro that exists. Something like call a dynpro and dynamically modify subscreens only.
2007 Feb 28 11:09 AM
YOu need to delete the existing subscreen every time and create a new screen for each time you delete it.
use SWY_DELETE_DYNPRO for task1 and
SWY_CREATE_DYNPRO for task2
Regards,
Ravi