I am working in Retail domain
We have a z program for stores to inward deliveries.
In this the user can input the deliveries and scan articles eans in it.
The posting of these aricles happens according to scanned and delivery qty.
1. 101 posting happens for dleivery qty.
2. if there is more qty scanned for articles than the delivery qty, then 301 posting takes place for extra qty.(from source to destinatin plant)
3. If there is less qty scanned for articles than delivery qty then 311 posting takes place for difference qty to R008 location of destination plant.
Currently the issue being faced is:
If scanning is done for delivery articles with delivery qty as 0, then the result found are:
1. Sometimes 301 posting takes place
2. Sometime 301 posting does not take place.
On Debugging th program in production, things work correctly.
The implementation for BADI - MB_DOCUMENT_BADI has been used for posting
Moreover tis situation does not get replicated in Development / Quality.
This issue is getting really worrysome. Kindly Help ...
Thanks & Regards,