on 04-08-2016 7:03 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.