cancel
Showing results for 
Search instead for 
Did you mean: 

Replace CRMD_ORDER Call in Background with a suitable BADI

Former Member
0 Kudos

Hi Gurus,

I cam across a CNTL_ERROR dump because of calling a BDC of CRMD_ORDER in background job.

To solve this I found that I have to replace the BDC code with a BADI.

So can you please advise which BADI will be suitable to change the employee responsible field in my attached screen?

the highlighted field here what best BADI can I use to change (change from Initial an place an employee No. in)?

Will performing the following give the exact functionality as the BDC recording of CRMD_ORDER:

1- BAPI_LEAD_CHANGEMULTI
2- CRM_ORDER_SAVE
3- BAPI_TRANSACTION_COMMIT

Thanks & regards.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

For some reason FM 'CRM_ORDER_MAINTAIN' did not work for me, no errors just nothing even when I'm passing the values in LT_PARTNER correctly and Using 'CRM_ORDER_SAVE' afterwards.

However solution worked in my case when using 'CRM_ORDER_MAINTAIN_MULTI_OW' passing LT_PARTNER, IV_COLLECT_EXCEPTIONS & IT_INPUT, then saving.

Regards.

Answers (1)

Answers (1)

spencer_liang
Active Contributor
0 Kudos

crm_order_maintain

Former Member
0 Kudos

Thanks I will give it a try.