No exchange of communication usages

[] []

Symptom
In SAP_ABA Release 6.40 you can maintain usages for the communication data. However, the data exchange between an OLTP ECC 5.0 or an ECC 6.0 with a CRM 5.0 system does not support this data exchange. This note describes how to enhance the data exchange without making a modification so that the usages can also be exchanged.
Other terms
BP_EXCHANGE_CRM_TO_R3_BP, BP_EXCHANGE_R3_BP_TO_CRM ADRU
Reason and Prerequisites
You use a business partner in the OLTP system and you want communication usages to be exchanged between an ECC Release 5.0 system or higher with a CRM Release 5.0 system. This note does not apply to you if you merely use the SD customer master in the OLTP.
Solution
CRM
In the CRM system you must create the two function modules:
FUNCTION zrm_bupa_comm_to_bapimtcs.
*”*”Lokale Schnittstelle:
*” IMPORTING
*” REFERENCE(IS_BP_EXTERN) TYPE BUS_EI_EXTERN
*” EXPORTING
*” REFERENCE(ET_ERROR_TABLE) TYPE BUS_BAPIRET2_T
*” CHANGING
*” REFERENCE(CT_BAPIMTCS) TYPE CRMT_BUPA_BAPIMTCS_T
*” REFERENCE(CV_NEXT_FREE_CURRDNO) TYPE CURRDNO
and
FUNCTION zrm_bupa_bapimtcs_to_comm.
*”*”Lokale Schnittstelle:
*” CHANGING
*” REFERENCE(CT_BAPIMTCS) TYPE CRMT_BUPA_BAPIMTCS_T
*” REFERENCE(CS_BP_EXTERN) TYPE BUS_EI_EXTERN
*” REFERENCE(CT_ERROR_TABLE) TYPE BUS_BAPIRET2_T
Then copy the source code from the correction instructions.
You must then register the zrm_bupa_comm_to_bapimtcs function module in Transaction CRMC_BUT_CALL_FU for the BUPA object and the TOMTC time, and the zrm_bupa_bapimtcs_to_comm function module must be registered correspondingly for the MTCTO time.OLTP:
In the OLTP system you must create the two function modules:
FUNCTION zom_bupa_comm_to_bapimtcs.
*”*”Local Interface:
*” IMPORTING
*” REFERENCE(IS_BP_EXTERN) TYPE BUS_EI_COM_EXTERN
*” CHANGING
*” REFERENCE(CT_BAPIMTCS) TYPE COM_BUPA_BAPIMTCS_T
*” REFERENCE(CV_NEXT_FREE_CURRDNO) TYPE CURRDNO DEFAULT 1
and
FUNCTION zom_bupa_bapimtcs_to_comm.
*”*”Local Interface:
*” CHANGING
*” REFERENCE(CT_BAPIMTCS) TYPE COM_BUPA_BAPIMTCS_T
*” REFERENCE(CS_BP_EXTERN) TYPE BUS_EI_COM_EXTERN
Then copy the source code from the correction instructions.
Then you must register the zom_bupa_comm_to_bapimtcs function module in Transaction COM_BUPA_CALL_FU for the BUPA object and the TOMTC time, and the zom_bupa_bapimtcs_to_comm function module must be registered correspondingly for the MTCTO time.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Comment