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

module pool: field values not changed after input

Former Member
0 Likes
682

Hi Experts!!

I have a module pool with several fields. When I change the value of a field and I give the intro is going to chek me, but I have the value that had previously not new.

Is there any way to get the new value written to the field

Thanks

Moderator message: subject corrected (to my best understanding), please use a more descriptive one next time.

Edited by: Thomas Zloch on Apr 20, 2010 6:33 PM

4 REPLIES 4
Read only

Former Member
0 Likes
559

Hi Ivan,

Can you explain more clearly what exactly is the problem.

Thanks,

Samantak.

Read only

Former Member
0 Likes
559

Well i don't have a clue about your question. Please frame your question in a understandable manner.

Read only

0 Likes
559

Sorry.

In a module pool with varios fields, with values ( old_values)

I change the value of them (new_values).

I have a function to use the values of the fields, but the values of the filed are "old_values", but I need "new_values" to compare with "old_values".

Sorry for my English..

Thanks.

Read only

0 Likes
559

Hi Ivan,

In the Module Pool, after the user changed the Field Values, you will have the new values once the User triggers any action like any PAI Event. Then ABAP Control will map all the UI Elements data from the dialog module to you ABAP Module Pool Variables. You can use the updates values to compare with the old ones.

But the best approach will be to go ahead with the ABAP Objects concept. You need to define a class and instantiate in with the Old values and with the new values. Then you can define a method to compare both of them.

Hope this will help.

Thanks,

Samantak.