2008 Jan 25 12:40 PM
2008 Jan 25 12:44 PM
Hi,
give default values in the screen then it will act as variant other wise get all the values in the internal table.
when 'SAVE'.
it_tab-name = name.
append it_tab.
Plzz reward points if it helps.
How to create variant in dialog program
2008 Jan 25 12:44 PM
Hi,
give default values in the screen then it will act as variant other wise get all the values in the internal table.
when 'SAVE'.
it_tab-name = name.
append it_tab.
Plzz reward points if it helps.
2008 Jan 25 1:23 PM
Hi inderpreet,
dialog program screen have this limitation of not supporting variants (like they dont support select options - what a shame)
however, you can do it as adviced also in the above post .... but to make it a variant ... you can create a Z table with a key field which would be the variant name and remianing fields as the screen fields
when a user enters the screen field values and clicks on variant save button, you can update this Z table and in future, when he wants to retrieve the values, you can read the values from this table and display all variants in a pop up
it would be good to add created by and created on fields in this Z table to allow you to display on user specific variants also ....
hope this helps
regards,
aditya
2008 Jan 25 2:23 PM
Hi Inderpreet,
screens created with screen painter do not provide the variant saving.
Try to create your screens using
selection-screen begin of screen xyz.
...
selection-screen end of screen xyz.
it is not so easy but with the help of all selection-screen commands available (skip, text, begin of line...) you can do it all and then CALL that screen.
Then you can save variants.
Regards,
Clemens
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |