cancel
Showing results for 
Search instead for 
Did you mean: 

User status transfer for sales orders from ECC to CRM

Former Member
0 Kudos

Hi,

We use business process with CRM sales orders that are transfer to ERP.

Users can change user status in the sales orders in ERP.

How we can replicate custom user status from ECC Sales Order to CRM Sales Order?

What is the steps to do this for CRM 7.0?

Denis

Accepted Solutions (1)

Accepted Solutions (1)

robert_kunstelj
Active Contributor
0 Kudos

There is no standard customazing option. You will have to implement logic in badi CRM_DATAEXCHG_BADI.

For more info look at SAP Note 905430 - No mapping of user statuses between R/3 and CRM.

Regards.

Former Member
0 Kudos

Hi, Robert

I know about this note.

This note describe status transfer from CRM to ERP.

My question is:

How to transfer user status from ERP sales order to CRM?

User-exit?

Denis.

robert_kunstelj
Active Contributor
0 Kudos

In method CRM_DATAEXCH_R3D_MBDOC_FILL of badi implementation CRM_DATAEXCHG_BADI check if R3 returns user status value from R3 in structure TI_BAPIMTCS. If yes, then you just have to write the logic in this method to fill status in structure CT_BUS_TRANS_MSG-STATUS_H of this method which is used to set values to CRM.

Regards.

Former Member
0 Kudos

Robert, thank you.

Solved.

Denis.

0 Kudos

Hi Robert,

Could you tell me which structure in TI_BAPIMTCS can I find teh changed value of USER STATUS ?

Regds,

Oindrila

Former Member
0 Kudos

BAD_STATUS_MESS

0 Kudos

HI Denis,

the BAD Status_MESS is returning no values in CRM in debug mode.I get only Orderadm_h that has values and I am looking into TI_BAPIMTCS when fetching data from ECC to CRM

Former Member
0 Kudos

You have to fill structure BAD_STATUS_MESS.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

We are creating quotation ZPQT in CRM which is then get replicated to ECC on saving it on “Accepted” status. In ECC we then create sales order of type ZPOR. Sales order gets replicated in CRM and also updates document flow. This sales order is called as “Project Sales Order”. PS team assigns WBS element to this order and does billing later on. Upon billing document is created sales order status in ECC changes to “Completed”. This is system status. But the issue is status of order ZPOR is CRM remains in status “Inprocess”. We want it to change to “Completed”.

We have similar scenario with order type ZOR. In this order after delivery and billing ECC assigns status “Completed” to sale order and same gets replicated to CRM.

In CRM for user status Completed we have assigned system status as FINI. Both ZPOR and ZOR has same status profile assigned at header and item level.

Our concern is if status is changing back in CRM for ZOR then why not for ZPOR. What is stopping system to do so?