Adding deleted PO line items to the outbound IDOC
I am sending out purchase orders to a third party application and SAP does not include deleted line items in the IDOC but this supplier wants all items and if the item is deleted we should send it with deletion indicator turned on. Any ideas how I could add the deleted items to the outbound IDOC?
Thank you in advance for your help,
Cyrus Arjomandi replied
Thank you for your help.
I just found that sometimes we delete all the items in the PO and still need to send an IDOC to the third party and inform them and that is the problem because SAP rejects transmitting PO with all line items deleted.
I saw some good ideas like changing process code from change to create (ME11 to ME10) and in the ME10 user exit change the action type from '001' to '002'. I was looking for better idea, if there are any?