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

Is it possible to check when a field in Sales Order was changed?

walkerist
Participant
0 Kudos
357

VBAK-ZZBATCHSPLIT is the field in Sales Order that means "Customer Accepts Batch Split Delivery" its possible values are Yes or No only.

Current scenario when creating Sales Order in VA01 which also happens to be an iDOC, VBAK-ZZBATCHSPLIT is empty at the start but when processed in RBDAPP001 it goes thru a custom program named ZDOCPROC that sets the VBAK-ZZBATCHSPLIT to "YES" as default. In short, Sales Orders were usually batch split as current design.

However, the user sometimes manually sets the order NOT to have a Batch Split Delivery but when the SO/iDOCs were processed, it will be reverted to the default value which is YES.

TL;DR: Is it possible to check that when VBAK-ZZBATCHSPLIT was manual changed prior processing in RBDAPP001, it will not be reverted to the default value but it will retain its current state/value instead.

EDIT: Also, sometimes IDOCS are processed outside RBDAPP001.

1 REPLY 1
Read only

RaymondGiuseppi
Active Contributor
0 Kudos
270

If every code that handle your customer field is correct (check in VA01/02, BAPI, IDOC and the report ZDOCPRO) and as the data element has the change document is checked (so you can see records in CDPOS) I would say yes.

(Buy we cannot look at your code)