Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8808

Issue with Gain/Loss Posting for partial confirmation in O4H1

$
0
0

Hi All,

 

My requirement is to create material document for gain/loss posting during partial confirmation (Status 5) of the shipment using O4H1.

Currently I have called the following in the exit EXIT_SAPMOIGS_007:

PERFORM d_check_balance(SAPMOIGS) using lv_flag.
PERFORM d_gain_loss(SAPMOIGS).


This creates the material document for gain loss posting. But the material document takes into consideration all the deliveries in the shipment even if they are not confirmed and the material document contains items with 957 Movement type posting for the deliveries which were not confirmed.


Can anyone please let me know how to create the material document with the deliveries which are selected in O4H1 only.


Thanks in advance.


Regards,

Souvik


Viewing all articles
Browse latest Browse all 8808

Trending Articles



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