2010 Dec 27 11:01 AM
Hello,
i have created an infotype with time constraint 3.
Then i have created the tab of this infotype in ppome.
Standard SAP create a selector record because time constraint is overlap.
Now, i'd want create an ALV grid custom in this dympro, that let me by double click to simulate the function of selector record.
The problem is that i can't syncrhonize the row of ALV grid selected with the selector record.
I tried to debug but In my subscreen there isn't a parameter that let me to control the number of selector record.
2011 Jan 10 4:19 PM
The solution is to use the function 'DYNP_UPDATE_FIELDS'.
This function let us to set values fields of another screen.
Then....
call function 'DYNP_UPDATE_FIELDS'
exporting
dyname = 'SAPLRHOMDETAIL_PP01'
dynumb = '0610'
request = 'A'
tables
dynpfields = dynpfields
..to write in the input fields ma selected row of ALV.
And then i force the ok_code like:
call method cl_gui_cfw=>set_new_ok_code
exporting
new_code = 'ENTER'.
Thanks
Mattia