Application Development 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: 

Get several value in event

FredericGirod
Active Contributor
0 Kudos

Hi,

I have a form in the event at selection-screen on value-request. I want this form to get several values, one for each parameters. The parameters have the value, but it's only the parameters specify in the event selection-screen on value, that is refresh on the screen.

The codes looks like :

parameters : a(1) ,
             b(1) .

start-of-selection.
...
end-of-selection.


at selection-screen on value-request for a.
  move : 'X' to a ,
         'X' to b .

Any help are welcome.

Regards

Frédéric.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello Frédéric,

I'm not sure I understand your requirement. The event AT-SELECTION SCREEN ON VALUE REQUEST FOR <field></b> is triggerred only when the user presses F4 on the field <field>.

Are you sure this is the event you want to use? If not, you could try out the normal AT SELECTION-SCREEN event.

Please elaborate your requirement a little for a clearer analysis and solution.

Regards,

Anand Mandalika.

P.S. One more option, that occurs to me with the given information, is to use the FM DYNP_VALUES_UPDATE.

3 REPLIES 3

Former Member
0 Kudos

Hi Frédéric,

try the fm 'SET_DYNP_VALUE' to set the value and 'GET_DYNP_VALUE' to get the values. In your case, as you have a report with a selection-screen, your dynpro no. should be 1000.

hope this helps

regards

Siggi

Former Member
0 Kudos

Hello Frédéric,

I'm not sure I understand your requirement. The event AT-SELECTION SCREEN ON VALUE REQUEST FOR <field></b> is triggerred only when the user presses F4 on the field <field>.

Are you sure this is the event you want to use? If not, you could try out the normal AT SELECTION-SCREEN event.

Please elaborate your requirement a little for a clearer analysis and solution.

Regards,

Anand Mandalika.

P.S. One more option, that occurs to me with the given information, is to use the FM DYNP_VALUES_UPDATE.

0 Kudos

The FM DYNP_VALUES_UPDATE works perfectly.

And I really want to make like in my example.

Thanks to both of you.