We are using a custom program for the confirmation of production orders. Confirmation is being done via BAPI_PRODORDCONF_CREATE_HDR.
However, there are instances wherein it generates separate material documents right after confirmation. For example, if the total quantity of the material in the order is '3' then the system generates 3 material documents (movement 101). Each material document has a quantity of 1.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Material documents were created minutes after the other.
I would just like to know why this is happening and how can it be avoided?
Thanks in advance!