cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How can I mass delete sales orders coming from SAP ERP?

Former Member
0 Kudos
910

Hello Experts,

we want to delete several thousand Sales Orders in C4C. The Orders had been migrated from SAP ERP to C4C.If I want to delete single orders I receive the failure messsage that "Header can`t be deleted due to Status". I receive the same failure message for all sales orders Independent from the Status. I expect that I can delete the sales orders somehow in a Mass Data Deletion. Can you help me and explain if and how this mass data deletion would work in this case? Thank you very much. Nicole

Accepted Solutions (1)

Accepted Solutions (1)

manideepsatya
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear nicole vogler,

As mentioned in the KBA's provided by Amit, you cannot delete the Sales Order in C4C if it is replicated from external system and the transfer process is completed or in process. As ERP is the master system here, the deletion can only happen with source as ERP which means when the order is deleted in ERP or when you send the deletion message to C4C via other means(soap ui). If you choose to send the deletion message from other means, ensure that you will switch off the outgoing confirmation service in C4C - because if activated it may delete the order in ERP also.

Regards,
Manideep Satya

0 Kudos

Thanks for the reply.

I had this problem and by changing the actioncode in the CPI iFlow for "Replicate Sales Order and Sales Quote from SAP Business Suite" from 4 (update) to 5 (delete) in the node I could quickly push delete messages.

Node: /ns2:Messages/ns2:Message1/ns0:CustomerOrderRequestMassRequest/CustomerOrderRequest/CustomerOrderRequest/@actionCode

regards,

Johan

Answers (2)

Answers (2)

amit_kumar159
Product and Topic Expert
Product and Topic Expert

Hi Nicole,

You can refer below KBA (Knowledge base article)

2435330 - Deleting Replicated Sales Orders and Sales Quotes in C4C

2417927 - Not Possible to Delete Sales Orders

Regards,

Amit Kumar

Former Member
0 Kudos

Thank you for your answers.