Skip to Content
author's profile photo Former Member
Former Member

AET new table - replicate to ECC

Hi,

I've created a new customized table as part of BUT000 table with AET. So far so good.

How do i replicate this new table data to ECC, eg, Structure to create in ECC, etc?

I've read the following blog, but it's for customized field and NOT for customized table.

Exchange ECC customer master standard field with the CRM Z- fields (ECC -> CRM)

Thanks in advance.

- julius

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 20, 2014 at 01:06 PM

    Hi Julius,

    the BDoc structure should have been enhanced automatically as long as you checked the box for ERP within creation of AET table enhancement.

    Nevertheless you have to create a corresponding table also in ERP. Afterwards you have to fill / read the BDoc.

    Therefore you have to create two function modules in ERP. First one for reading the incoming crm data within ERP and a second one for transferring the ERP changes from ERP to CRM. The CRM will automatically fill and read the BDoc.

    ERP Inbound

    1 .Create FM Z_CRM_MW_AET_IN

    *" IMPORTING
    *" REFERENCE(IT_TRANSFER_DATA) TYPE ANY
    *" EXPORTING
    *" REFERENCE(EV_STATUS) TYPE UPLOADSTAT
    *" TABLES
    *" IT_BAPIMTCS STRUCTURE BAPIMTCS
    *" IT_BAPIPAREX STRUCTURE BAPIPAREX
    *" ET_BAPIMTCS STRUCTURE BAPIMTCS
    *" ET_MESSAGES STRUCTURE BAPICRMMSG


    The FM has to read the incoming information within BSC_PARENT (tabname of it_bapimtcs), depending on the line attribute relkey. After a type cast the values can be entered in the corresponding table on ERP.


    2. Create entry in COM_BUPA_CALL_FU

    COM_BUPA_CALL_FU

    R3OBI R/3 Objekt Eingang BUPA Geschäftspartner 9000000 Z_CRM_MW_AET_IN


    ERP Outbound

    1. Create FM Z_CRM_MW_AET_OUT

    *" CHANGING
    *" REFERENCE(C_BP_STRUCT) TYPE BUS_EI_COM_EXTERN_T
    *" REFERENCE(CT_BAPIMTCS) TYPE COM_BUPA_BAPIMTCS_T OPTIONAL


    Add a new entry to ct_bapimtcs with attribute value 'BSC_PARENT' for attribute tabname. In addition the value of attribute relkey should be the CRM table name. Afterwards you'll have to do a cast operation.


    2. Create entry in COM_BUPA_CALL_FU

    COM_BUPA_CALL_FU

    R3OUT Mapping Ausgang BUPA Geschäftspartner 900000 Z_CRM_MW_AET_OUT


    Best regards,

    Daniel

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 18, 2020 at 06:15 AM

    Hi,

    What structures needs to be appended in ECC for Business partner..

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.