Skip to end of metadata
Go to start of metadata

Sample Test Data for "Find Customer Address Basic Data by Name and Address"  

This Enterprise Service can be used to find a customer and his details if only a fragment or only parts of the customers master data are available. In this example only a part of the customers name is known:
FirstLineName= "*automobil"* If necesssary please include wildcards in your search string.

Here the sample input data for this service:

<?xml version="1.0" encoding="UTF-8" ?>
<rn1:services xmlns:rn0="{*}http://schemas.xmlsoap.org/soap/encoding/*" xmlns:rn2="java:sap/standard" xmlns:rn1="{*}http://www.sap.com/webas/2007/02/ws/wsnavigator/*" xmlns:rn3="http://www.w3.org/2001/XMLSchema">
 <rn1:service name="CustomerERPAddressBasicDataByNameAndAddressQueryResponse_In" namespace="*http://sap.com/xi/APPL/SE/Global*" WSDLURL="*http://erp.esworkplace.sap.com:80/sap/bc/srt/xip/sap/ecc_customeraddressbasicdataqr/version2?sap-client=800&wsdl=1.1&mode=sap_wsdl*">
 <rn1:operation name="CustomerERPAddressBasicDataByNameAndAddressQueryResponse_In">
 <rn1:input>
 <CustomerERPAddressBasicDataByNameAndAddressQuerysync>
 <CustomerSelectionByNameAndAddress>
 <Common>
 <Name>
  <FirstLineName>*automobil*</FirstLineName>
  </Name>
  </Common>
  </CustomerSelectionByNameAndAddress>
 <ProcessingConditions>
  <UnlimitedQueryHitsIndicator>true</UnlimitedQueryHitsIndicator>
  </ProcessingConditions>
  </CustomerERPAddressBasicDataByNameAndAddressQuerysync>
  </rn1:input>

Here the complete output data for the above sample test data:

 <rn1:output>
 <CustomerERPAddressBasicDataByNameAndAddressResponsesync>
 <Customer>
  <ID xmlns:pns="http://sap.com/xi/APPL/SE/Global">0000001554</ID>
 <Common>
 <Name>
  <FormOfAddressCode xmlns:pns="http://sap.com/xi/APPL/SE/Global">0003</FormOfAddressCode>
  <FormOfAddressName xmlns:pns="http://sap.com/xi/APPL/SE/Global">Company</FormOfAddressName>
  <FirstLineName>BM Automobil AG</FirstLineName>
  <SecondLineName>Werk Dingolfing</SecondLineName>
  </Name>
  <KeyWordsText>BM</KeyWordsText>
  <NaturalPersonIndicator>false</NaturalPersonIndicator>
  </Common>
 <AddressInformation>
 <Address>
 <PhysicalAddress>
  <CountryCode>DE</CountryCode>
  <CountryName xmlns:pns="http://sap.com/xi/APPL/SE/Global">Germany</CountryName>
  <RegionCode xmlns:pns="http://sap.com/xi/APPL/SE/Global">09</RegionCode>
  <RegionName>Bavaria</RegionName>
  <StreetPostalCode>84130</StreetPostalCode>
  <CityName>Dingolfing</CityName>
  <StreetName>Landshuter Strasse</StreetName>
  <HouseID>1</HouseID>
  </PhysicalAddress>
  </Address>
  </AddressInformation>
  </Customer>
 <Customer>
  <ID xmlns:pns="http://sap.com/xi/APPL/SE/Global">0000001555</ID>
 <Common>
 <Name>
  <FormOfAddressCode xmlns:pns="http://sap.com/xi/APPL/SE/Global">0003</FormOfAddressCode>
  <FormOfAddressName xmlns:pns="http://sap.com/xi/APPL/SE/Global">Company</FormOfAddressName>
  <FirstLineName>BM Automobil AG</FirstLineName>
  </Name>
  <KeyWordsText>BM</KeyWordsText>
  <NaturalPersonIndicator>false</NaturalPersonIndicator>
  </Common>
 <AddressInformation>
 <Address>
 <PhysicalAddress>
  <CountryCode>DE</CountryCode>
  <CountryName xmlns:pns="http://sap.com/xi/APPL/SE/Global">Germany</CountryName>
  <RegionCode xmlns:pns="http://sap.com/xi/APPL/SE/Global">09</RegionCode>
  <RegionName>Bavaria</RegionName>
  <StreetPostalCode>80809</StreetPostalCode>
  <CityName>Muenchen</CityName>
  <StreetName>Lerchenauer Strasse</StreetName>
  <HouseID>99</HouseID>
  </PhysicalAddress>
  </Address>
  </AddressInformation>
  </Customer>
 <ProcessingConditions>
  <ReturnedQueryHitsNumberValue>2</ReturnedQueryHitsNumberValue>
  <MoreElementsAvailableIndicator>false</MoreElementsAvailableIndicator>
  <LastProvidedCustomerID xmlns:pns="http://sap.com/xi/APPL/SE/Global">0000001555</LastProvidedCustomerID>
  </ProcessingConditions>
 <Log>
  <BusinessDocumentProcessingResultCode>3</BusinessDocumentProcessingResultCode>
  </Log>
  </CustomerERPAddressBasicDataByNameAndAddressResponsesync>
  </rn1:output>

 


 

  • No labels