We have a requirement to create a return order with reference to an invoice using a BAPI. The invoice reference would be at the line item ( which means the line items will be created with reference instead of the entire document ).
Is there a recommended BAPI that we should use if we would like the copy control between invoice and returns order to be executed when the document is created with this BAPI ?
We tried using BAPI for sales order create, but found that the copy control is not being executed.
Would appreciate valuable inputs from the forum.