cancel
Showing results for 
Search instead for 
Did you mean: 

CRMD_ORDER Bapi

Former Member
0 Kudos

Hi Gurus,

I want to change the partner determination data on transaction CRMD_ORDER.

How Can I change this data ( In 'Partners' Tab , in 'CRMD_ORDER' transaction) by using a BAPI or a function.

I need a program that makes this job in background.

that is why I need a BAPI or Function.

thanks in advance

regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can use the FM "BAPI_LEAD_CHANGEMULTI". With the help of this FM you can change the following data in the Lead : Header data, Partners, Status and the organisation data in the lead.

Hope this helps you.

Regards,

Swapna

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Vikash,

Thanks for your reply.

Do you have a sample code for this FM?

thanks & regards

Former Member
0 Kudos

Hi There,

If I understood correctly you want to write a program to change the partners in the transactions. If that is correct then you can use the FM CRM_PARTNER_MAINTAIN_MULTI_OW to maintain the partners. Make sure that you call the FM 'CRM_ORDER_SAVE'

inorder to save the changes.

If you want to do the changes while order creation then you can use the BADI ORDER_SAVE and use the FM CRM_PARTNER_MAINTAIN_MULTI_OW to change the partners here you do not have to explicitly call order save or you can write an event FM and call it as per your requirment.

Hope this will help.

Thanks,

Vikash.