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

Refresh input/output field from screen

Former Member
0 Likes
1,273

Hello everyone,

I have a screen 0500 that contains a custom container with an OO ALV. By its side, i placed an input/output field (read only) that should calculate the total of one of the currency columns, for all selected lines.

Then i have a button that i press and should refresh this total, in case the number of selected rows has changed.

My problem is that in the screen this field is not being refreshed. I know by debugging that the event of pressing the button "refresh" is triggered and the new calculation for new selected rows is done, affecting the global variable that the field is mapped to.

Can anyone help me?

Thank you in advance,

Nuno

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
716

Try using the DYNP_VALUES_UPDATE function module to update the value on the screen field from the program

Regards,

Ravi

Hello everyone,

I have a screen 0500 that contains a custom container with an OO ALV. By its side, i placed an input/output field (read only) that should calculate the total of one of the currency columns, for all selected lines.

Then i have a button that i press and should refresh this total, in case the number of selected rows has changed.

My problem is that in the screen this field is not being refreshed. I know by debugging that the event of pressing the button "refresh" is triggered and the new calculation for new selected rows is done, affecting the global variable that the field is mapped to.

Can anyone help me?

Thank you in advance,

Nuno

1 REPLY 1
Read only

Former Member
0 Likes
717

Try using the DYNP_VALUES_UPDATE function module to update the value on the screen field from the program

Regards,

Ravi