‎2009 Mar 24 11:01 AM
Hi,
I have a requirement to create the selection screen Dynamically. All the fields that should appear on the selection screen will be available in a custom table. So, based on the entries available in the Z tables, the selection screen should be built. Eg. If there are 10 records available in the Z table, the selection screen should consist of 10 fields. If there are 100 entries, the Selection screen should contain 100 fields. and the logic to build this selection screen should be carried out dynamically in the program.
Could anyone of you please share the valuable inputs on this. If anyone has the sample code to do this, please share.
Thanks in advance.
Regards,
Paddu.
‎2009 Mar 24 11:15 AM
Hi,
Kindly go through this sample program below:
DEMO_LIST_FORMAT_INPUT *and
check this function module:
FREE_SELECTIONS_DIALOG *.
Hope it helps
Regards
Mansi
‎2009 Mar 24 11:13 AM
‎2009 Mar 24 11:15 AM
Hi,
Kindly go through this sample program below:
DEMO_LIST_FORMAT_INPUT *and
check this function module:
FREE_SELECTIONS_DIALOG *.
Hope it helps
Regards
Mansi
‎2009 Mar 24 11:15 AM
HI,
Refer to this link ..https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/dynamicSelectionScreensbasedonuserinputs
‎2009 Mar 24 11:18 AM
Hi,
just a quick suggestion.
Debug the standard transaction code SE16. It designs the selection screen dinamically based on the fields that you choose. With a very quick debug, seems that the transaction generates a program using some define routines.
With some patient, you can use its to design your screen.
Best regards
Andrea