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

Checking whether data is changed on a dynpro

vinotha_m
Participant
0 Likes
1,083

Hi,

I am using sy-datar for one of my dynpro and it works fine, but if that screen has a table control and if the user changes the values in table control, sy-datar does not show any change to x.

Is there any other variable that i can use...or check if table control values are changed.

Please Do reply

2 REPLIES 2
Read only

sergey_korolev
Active Contributor
0 Likes
697

First, you should call a PAI module to register field changes with addition <b>ON REQUEST</b>, in that case the module will be called only if user changed its content somehow (including full retyping the old value). And after that it seems that you have to compare table contents programmatically, at least that could be seen in SAP sources.

Read only

0 Likes
697

Use the system variable SY-DATAR may be interesting sometimes!

Let me know If I helped you

Message was edited by: STEPHAN KAMINSKI