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: 

User EXit in Creating Contract or Changing Contract

Former Member
0 Kudos

Hi guys,

Need help on this one.

I have a user exit in USEREXIT_SAVE_DOCUMENT_PREPARE, I need to get the old value of the characteristics and the new value which the user has just inputed on the transaction it is not saved yet because i need to compare them. What FM or procedure can i use to get the old value and the new value.

1 REPLY 1

Former Member
0 Kudos

Hi

You need to check the Tables CDHDR and CDPOS for the OLD and NEW values for a field in a transaction

or you can check the fun modules

CHANGEDOCUMENT_READ_HEADERs

CHANGEDOCUMENT_READ_POSITIONS

Regards

Anji