cancel
Showing results for 
Search instead for 
Did you mean: 

Using CRM_ORDER_MAINTAIN to delete a sales order line?

Former Member
0 Kudos

It is possible to use CRM_ORDER_MAINTAIN to delete a sales order line? So far I have managed to call CRM_ORDER_MAINTAIN from my own implementation of the ORDER_SAVE BADI, but I am struggling to find out if it is possible to delete a line with this function module.

Is there any documentation available for the CRM_ORDER_API function group? Is there a separate CD that can be ordered from SAP?

Very best regards,

Anders

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Anders,

the best way is that you set a breakpoint in 'CRM_ORDER_MAINTAIN' and delete a item in SAPGui. Then you can see how the tables are filled.

The field 'MODE' in the table CT_ORDERADM_I is important if a item is inserted, changed or deleted and turn your attention to the table 'CT_INPUT_FIELDS'.

I hope this information help you.

regards

Joerg