on 02-08-2017 8:00 AM
Hi Experts,
I want to create a customer with 2 set of addresses(permanent and correspondence address) When I using below payload for creation. customer is creating but only 1 address is reflecting.
Thanks and Regards
Santosh k
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global" xmlns:glob1="http://sap.com/xi/AP/Globalization">
<soapenv:Header/>
<soapenv:Body>
<glob:CustomerBundleMaintainRequest_sync_V1>
<!--1 or more repetitions:-->
<Customer actionCode="01">
<CategoryCode>1</CategoryCode>
<ProspectIndicator>true</ProspectIndicator>
<CustomerIndicator>false</CustomerIndicator>
<Person>
<GivenName>mayank</GivenName>
<FamilyName>thakur</FamilyName>
<GenderCode>1</GenderCode>
<NationalityCountryCode>IN</NationalityCountryCode>
<BirthDate>1991-01-29</BirthDate>
</Person>
<AddressInformation actionCode="01" addressUsageListCompleteTransmissionIndicator="true">
<ObjectNodeSenderTechnicalID>002</ObjectNodeSenderTechnicalID>
<AddressUsage actionCode="01">
<ObjectNodeSenderTechnicalID>003</ObjectNodeSenderTechnicalID>
<AddressUsageCode>XXDEFAULT</AddressUsageCode>
<DefaultIndicator>false</DefaultIndicator>
</AddressUsage>
<Address actionCode="01" telephoneListCompleteTransmissionIndicator="true">
<PreferredCommunicationMediumTypeCode>LET</PreferredCommunicationMediumTypeCode>
<Email>
<!--Optional:-->
<URI>Santosh@gmail.com</URI>
</Email>
<PostalAddress>
<CountryCode>IN</CountryCode>
<RegionCode>10</RegionCode>
<CountyName>India</CountyName>
<CityName>Bangalore</CityName>
<StreetPostalCode>560068</StreetPostalCode>
<StreetName>ViratNagar</StreetName>
</PostalAddress>
<Telephone>
<ObjectNodeSenderTechnicalID>005</ObjectNodeSenderTechnicalID>
<FormattedNumberDescription>+91 8867793338</FormattedNumberDescription>
<MobilePhoneNumberIndicator>true</MobilePhoneNumberIndicator>
</Telephone>
<WebURI>http://www.customer.com/</WebURI>
</Address>
<Address actionCode="01" telephoneListCompleteTransmissionIndicator="true">
<AddressUsage actionCode="01">
<ObjectNodeSenderTechnicalID>003</ObjectNodeSenderTechnicalID>
<AddressUsageCode>XXDEFAULT</AddressUsageCode>
<DefaultIndicator>true</DefaultIndicator>
</AddressUsage>
<PreferredCommunicationMediumTypeCode>LET</PreferredCommunicationMediumTypeCode>
<Email>
<!--Optional:-->
<URI>Santosh@gmail.com</URI>
</Email>
<PostalAddress>
<CountryCode>IN</CountryCode>
<RegionCode>10</RegionCode>
<CountyName>India</CountyName>
<CityName>Bangalore</CityName>
<StreetPostalCode>560010</StreetPostalCode>
<StreetName>Rajajinagar</StreetName>
</PostalAddress>
<Telephone>
<ObjectNodeSenderTechnicalID>005</ObjectNodeSenderTechnicalID>
<FormattedNumberDescription>+91 8867793338</FormattedNumberDescription>
<MobilePhoneNumberIndicator>true</MobilePhoneNumberIndicator>
</Telephone>
<WebURI>http://www.customer.com/</WebURI>
</Address>
</AddressInformation>
</Customer>
</glob:CustomerBundleMaintainRequest_sync_V1>
</soapenv:Body>
</soapenv:Envelope>
Hi all,
I have resolved issue own.
In above code we need to use 2 tags of <AddressInformation actionCode=01>
Thank you
Santosh K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
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.