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: 

Project Systems delta data

Former Member
0 Kudos
173

Hi,

I need to capture data at runtime through CJ20n before saving.

I have used Validation at Network Header level and used the function module 'CO_BO_OPR_OF_ORDER_GET' to get activities.I need to get delta data,

So I check on the field VBKZ.

However if I change one activity, for all the activities

i get VBKZ = 'U'.

I want to capture only those activities that are actually changed.

Any idea?

Thanks & Regards,

Vanita

1 ACCEPTED SOLUTION

Former Member
0 Kudos
123

Vanita,

It makes sense if SAP marks all activities updated even if you change one activity because activities have relationship among them and change in duration of one activity may change the scheduling of other activities too.

Inside the network header level validation, you could read the activities from database again. You can do it by reading table AFVC against routing number of network and blank SUMNR. It will give you all activities in one select statement. You can move the both data for one particular activity( from datbase and from function module) to two similar structures ( structure almost like AFVC but with out administrative information like last changed on, at, by etc etc). By comparing them, you can identify if aqctivity got changed.

If an activity was previously scheduled and now you change its duration or dates then SAP puts a system status NTUP. if you are just interested in activities with changed dates, you can go by system status change to NTUP.

I hope this helps.

PS - Please award the points if it helps.

1 REPLY 1

Former Member
0 Kudos
124

Vanita,

It makes sense if SAP marks all activities updated even if you change one activity because activities have relationship among them and change in duration of one activity may change the scheduling of other activities too.

Inside the network header level validation, you could read the activities from database again. You can do it by reading table AFVC against routing number of network and blank SUMNR. It will give you all activities in one select statement. You can move the both data for one particular activity( from datbase and from function module) to two similar structures ( structure almost like AFVC but with out administrative information like last changed on, at, by etc etc). By comparing them, you can identify if aqctivity got changed.

If an activity was previously scheduled and now you change its duration or dates then SAP puts a system status NTUP. if you are just interested in activities with changed dates, you can go by system status change to NTUP.

I hope this helps.

PS - Please award the points if it helps.