2016 Aug 25 6:13 AM
Hello,
I wish to create a dynamic module poll screen..
the scenario is like :
on screen 1. I will choose some fields.
Based on the chosen fields I wish to develop screen 2 where all the fields from screen 1 appear as select options and a text field corresponding to each select option.
selOpt 1 TxtFld 1
selOpt 2 TxtFld 2
.
.
.
.
selOpt n TxtFld n.
the database selection will then be passed to Screen1 back.
is it possible ? any leads to achieve this ?
Thanks.
Regards.
Praveen Nenawa
2016 Aug 25 6:48 AM
Hi,
You can create screen 2 with all the fields that can be selected on screen 1.
After selecting fields on screen 1 , in PBO of screen 2 , loop at screen 2 and make the fields invisible that have not been selected on screen 1.
Just out of curiosity, why don't you create select options for all fields on screen 1 and then whatsoever input is provided , use that for selection.
Thanks
Deepak
2016 Aug 25 6:55 AM
Hi Deepak,
Thanks for sharing your thoughts.
1 . The fields to choose at screen1 comes from a custom customizing table. The fields can be changed at any time. cant do hard code kind of thing here. so PBO, loop at screen . screen-active = 0. will not work.
2. screen 1 is just to choose layout. based on these fields data is selected and mapped back to each field. I need txtFld just to define the mapping, if user want to change.
Thanks.
BR,
Praveen Nenawa