Hi Gurus,
We have a program that from R3 side creates a quotation by using BAPI_QUOTATION_CREATEFROMDATA2 and BAPI_TRANSACTION_COMMIT. During that it performs the GATP check and confirms the Schedule Line.
Then for some reason program uses BAPI_CUSTOMERQUOTATION_CHANGE (& BAPI_TRANSACTION_COMMIT) to "change" the current ITEM line of the created quotation, the issue here is that this ITEM does not confirm because there were some Temporary Stock Assignment (TSA) objects created during the first creation and those were not deleted.
Example:
Quotation item created for 100 Units and TSA created on GATP side for 100 units.
Quotation item re-created for 100 units but unable to confirm (TSA are holding the supply of 100 units).
Why are these TSA not being deleted? I cannot see anything on /n/SAPAPO/AC06.
Best regards,