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

Change document object for delivery dates

Former Member
0 Likes
791

HI all ,

I have the requiremnet that the customer arrival dates changes( begin actual and end actual - vl02n - go to header- dates ) are to be captured and the report needs to be prepared based on user - old value and new value etc.

I think for that the changes should be updated in table cdhdr and cdpos.

The details are as below :

Struct. ITSEGDIAE

Field name TIME_TST03

Data element TSEGTIMLOC

Domain: TZNTSTMPSL

for this data element I have activated( ticked ) the check box for 'change document' in 'further characteristics' tab.

still the changes are not coming in cdhdr and cdpos table.

am I missing any step here?

tsegh and tsege tables are updated with the changes but changes are not coming in cdhdr and cdpos tables.

1 ACCEPTED SOLUTION
Read only

valter_oliveira
Active Contributor
0 Likes
492

Hello.

Another possibility is to create an exit in program SAPMV50A, include MV50AFZ1. You have form USEREXIT_SAVE_DOCUMENT, that is triggered at SAVE moment, and where you can retrieve values from structures:

xlikp or likp (new values)

xlips or lips (new values)

ylikp (old values)

ylips(old values)

... and much more others.

Regards.

Valter Oliveira.

1 REPLY 1
Read only

valter_oliveira
Active Contributor
0 Likes
493

Hello.

Another possibility is to create an exit in program SAPMV50A, include MV50AFZ1. You have form USEREXIT_SAVE_DOCUMENT, that is triggered at SAVE moment, and where you can retrieve values from structures:

xlikp or likp (new values)

xlips or lips (new values)

ylikp (old values)

ylips(old values)

... and much more others.

Regards.

Valter Oliveira.