Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

PPOME set record selector of a subtype

Former Member
0 Kudos
200

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.

1 REPLY 1
Read only

Former Member
0 Kudos
123

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