Skip to Content

BusinessPartnerInternalIDTypeCode in Account Hierarchy Replication

Hello,

I am currently working on Account Hierarchy Replication to SAP C4C. I need to know about the tags <BusinessPartnerInternalIDTypeCode> and <ParentBusinessPartnerInternalIDTypeCode> in the payload. What exactly should be the value for these tags? Any sample payload will be of great help.

Thanks & Regards,

Meghna

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Apr 08, 2016 at 11:40 AM

    Hello Meghna,

    ParentBusinessPartnerInternalIDTypeCode is the parent account ID which is mapped to HKUNNR in ERP and simillarly BusinessPartnerInternalIDTypeCode is the child account which is mapped to KUNNR in ERP. Please find the IDOC and C4C xml for your reference. Hope this will help you proceed further.

    IDOC From ERP:

    <?xml version="1.0" encoding="UTF-8"?>

    -<COD_CUSTHIERMAS01>

    -<IDOC BEGIN="1">

    -<EDI_DC40 SEGMENT="1">

    <TABNAM>EDI_DC40</TABNAM>

    <MANDT>004</MANDT>

    <DOCNUM>0000000002739137</DOCNUM>

    <DOCREL>702</DOCREL>

    <STATUS>30</STATUS>

    <DIRECT>1</DIRECT>

    <OUTMOD>2</OUTMOD>

    <IDOCTYP>COD_CUSTHIERMAS01</IDOCTYP>

    <MESTYP>COD_CUSTHIERMAS</MESTYP>

    <SNDPOR>SAPQ5E</SNDPOR>

    <SNDPRT>LS</SNDPRT>

    <SNDPRN>Q5ECLNT004</SNDPRN>

    <RCVPOR>QXL_2381</RCVPOR>

    <RCVPRT>LS</RCVPRT>

    <RCVPRN>0LO7ESC</RCVPRN>

    <CREDAT>20160408</CREDAT>

    <CRETIM>132608</CRETIM>

    <SERIAL>20160408132608</SERIAL>

    </EDI_DC40>

    -<E1COD_KNVHM SEGMENT="1">

    <MSGFN>009</MSGFN>

    <HITYP>A</HITYP>

    <KUNNR>0000000529</KUNNR>

    <VKORG>1000</VKORG>

    <VTWEG>10</VTWEG>

    <SPART>00</SPART>

    <DATAB>20160406</DATAB>

    <DATBI>99991231</DATBI>

    <HKUNNR>0000000527</HKUNNR>

    <HVKORG>1000</HVKORG>

    <HVTWEG>10</HVTWEG>

    <HSPART>00</HSPART>

    <GRPNO>000</GRPNO>

    <HZUOR>00</HZUOR>

    </E1COD_KNVHM>

    </IDOC>

    </COD_CUSTHIERMAS01>

    C4C xml:

    <?xml version="1.0" encoding="UTF-8"?>

    -<ns0:BusinessPartnerHierarchySimpleMassReplicateRequest xmlns:ns0="http://sap.com/xi/SAPGlobal20/Global">

    -<MessageHeader>

    <ID>FA163ED10E711ED5BFAF964802461BA7</ID>

    <UUID>FA163ED1-0E71-1ED5-BFAF-964802461BA7</UUID>

    <CreationDateTime>2016-04-08T13:26:11Z</CreationDateTime>

    -<SenderParty>

    <InternalID schemeAgencyID="310" schemeID="LocalSystemID">Q5ECLNT004</InternalID>

    </SenderParty>

    -<RecipientParty>

    <InternalID schemeAgencyID="310" schemeID="LocalSystemID">0LO7ESC</InternalID>

    </RecipientParty>

    </MessageHeader>

    -<BusinessPartnerHierarchySimpleReplicateRequestBusinessPartnerHierarchySimple>

    -<BasicMessageHeader>

    <ID>0000000002739137-1</ID>

    </BasicMessageHeader>

    -<BusinessPartnerHierarchySimple>

    <BusinessPartnerInternalID>0000000529</BusinessPartnerInternalID>

    <BusinessPartnerInternalIDTypeCode>918</BusinessPartnerInternalIDTypeCode>

    <ParentBusinessPartnerInternalID>0000000527</ParentBusinessPartnerInternalID>

    <ParentBusinessPartnerInternalIDTypeCode>918</ParentBusinessPartnerInternalIDTypeCode>

    </BusinessPartnerHierarchySimple>

    </BusinessPartnerHierarchySimpleReplicateRequestBusinessPartnerHierarchySimple>

    </ns0:BusinessPartnerHierarchySimpleMassReplicateRequest>

    Regards,

    --Sathya Swaroop

    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.