Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Issue with S703 Info structure being updated

$
0
0

Hi All,

 

I am facing an issue with the way the “Open Order Quantity” is being updated in the S703 Info structure.

We have a report being generated and sent out based on the Open Order Quantity in the S703 info structure.


We have implemented a Sales Order user exit (USEREXIT_SAVE_DOCUMENT_PREPARE) where we are changing a couple of custom fields that have been added to the VBAP table using an APPEND structure.

The field – “Open Order Quantity” (S703-OAUME) seems to be adding up the Sales Order Line item quantity (VBAP-KWMENG) every time this user exit gets executed and changes the contents of the 2 custom fields of VBAP.

 

For ex: if we have a Sales Order line item with quantity ‘10’ that was created, S703 gets updated with Open Order Quantity = 10. Every subsequent change to the 2 custom fields mentioned adds the value ‘10’ to the existing “Open Order Quantity” in S703. At the end of 4 changes to the custom fields, Open Order Quantity in S703 becomes ‘50’ while actually it should only be ‘10’.

 

We are not sure what / how the S703 info structure gets updated in SAP, since there are no direct updates on this table (I did a Where-used list and it does not come up with any INSERT / MODIFY statements on this table in any code).


Any pointers about what could be going wrong / how the S703 table gets updated with these values will be really helpful.

 

Thanks & Best Regards,

Keerthi


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>