Skip to Content
avatar image
Former Member

Leads Create for existing BP using ManageMarketingLeadIn from ECC

Hi All,

I am trying to create Leads from ECC in C4C using the standard WSDL - MangeMarketingLeadIn.

While doing so everytime I create a Lead from ECC a new customer is getting created instead of identifying the BP in C4C.

Below is the code that is being written in SOAP UI for test.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global" xmlns:yh2="http://0003865926-one-off.sap.com/YH27FMJUY_">
   <soapenv:Header/>
   <soapenv:Body>
      <glob:MarketingLeadBundleMaintainRequest_sync>
         <!--1 or more repetitions:-->
         <MarketingLead actionCode="01" itemListCompleteTransmissionIndicator="true">
		<ObjectNodeSenderTechnicalID>Marketing_Lead_1</ObjectNodeSenderTechnicalID>
         <!-- <ID>197</ID> -->
            <Name>T CFooter</Name>
            <StatusCode>Z2</StatusCode>
            <LifeCycleStatusCode>2</LifeCycleStatusCode>
            <EmployeeInternalID></EmployeeInternalID>
            <IndividualCustomerGivenName>Matt</IndividualCustomerGivenName>
            <IndividualCustomerFamilyName>Harley</IndividualCustomerFamilyName>
            <IndividualCustomerMiddleName>tetertet</IndividualCustomerMiddleName>
            <IndividualCustomerGenderCode>0</IndividualCustomerGenderCode>
            <IndividualCustomerABCClassificationCode>1</IndividualCustomerABCClassificationCode>
            <GroupCode>ZH01</GroupCode>
            <yh2:LeadContractAccountIDEx >900010847334</yh2:LeadContractAccountIDEx>
            <AccountExternalKey>
                  <RemoteObjectID>7000000482</RemoteObjectID>
               </AccountExternalKey>
            
            <!--<ProspectInternalID>7000000482</ProspectInternalID>-->
            <ProspectParty partyContactPartyListCompleteTransmissionIndicator="true" actionCode="01">
  			<!--<ContactParty actionCode="01">
  			<AccountInternalID>7000000482</AccountInternalID>
  			<AccountInternalID>7000000482</AccountInternalID>
  			<AccountExternalKey>
                  <RemoteObjectID>7000000482</RemoteObjectID>
               </AccountExternalKey>
               <AccountStatus>
                  <LifeCycleStatusCode>2</LifeCycleStatusCode>
               </AccountStatus>
    			<ContactPersonInternalID>7000000482</ContactPersonInternalID>
    			<MainIndicator>true</MainIndicator>
  			</ContactParty>-->
               <!--<MainContactPersonInternalID>7000000482</MainContactPersonInternalID>-->
            </ProspectParty>
                              
         </MarketingLead>
      </glob:MarketingLeadBundleMaintainRequest_sync>
   </soapenv:Body>
</soapenv:Envelope>

Result: BP is getting created with the details 7000001413 which is not mentioned anywhere in the above payload.

Please suggest how to use the exisiting Individual Customer instead of creating a new one.

THanks,

Srihari.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers