SAP Knowledge Base Article - Public

2814133 - While Creating Accounts Using Webservice ManageCustomerIn the Codelist Value Provided in Request Payload for Invoice Summary Role Displays Value Set in the XML Parameters

Symptom

Your requirement is to create an Account with its Invoice Summary Role using the webservice ManageCustomerIn. In the Request XML Payload, you provided the value for the InvoiceSummaryRole. Upon executing the Request Payload, you observe that the Account is created in system where, Invoice Summary Role field has the value that was provided in the XML parameters and the content of the value is not displayed.

Environment

SAP Business ByDesign

Reproducing the Issue

To find the webservice:

  1. Go to Application and User Management workcenter
  2. Go to Input and Output Management view
  3. Go to Service Explorer subview
  4. Search for the webservice ManageCustomerIn
  5. Select the button Download WSDL to download the WSDL file for the webservice

Using a third party tool like SOAPUI, run the Request Payload:

  1. Login to SOAPUI tool
  2. Select File -> New SOAP Project
  3. In the Initial WSDL field, browse for the downloaded WSDL file for ManageCustomerIn
  4. Expand the node: MaintainBundle_V1
  5. Select Request 1
  6. Paste the Request payload
  7. At the bottom of the screen, select Auth (Basic)
  8. Provide the relevant credentials and the domain
  9. Run the Request Payload

To check the Account which is created in the system:

  1. Go to Receivables workcenter
  2. Go to Customers view
  3. Show All Customers
  4. Find the customer ZZZZZ
  5. Select Edit -> Financial Data
  6. Go to Invoice Summary Data tab
  7. Invoice Summary Role: has a value X as passed in the Request payload
  8. The values set in the XML parameters are displayed. But the content is not resolved.

Example:

Request XML Payload:

<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>
<BasicMessageHeader>
<!--Optional:-->
</BasicMessageHeader>
<Customer actionCode="01" addressInformationListCompleteTransmissionIndicator="true" contactPersonListCompleteTransmissionIndicator="true" >
<CategoryCode>2</CategoryCode>
<CustomerIndicator>true</CustomerIndicator>
<LifeCycleStatusCode>2</LifeCycleStatusCode>
<Organisation>
<FirstLineName>XXXXXXXXXX</FirstLineName>
</Organisation>
<AddressInformation actionCode="01">
<Address actionCode="01" telephoneListCompleteTransmissionIndicator="true">
<AddressUsage actionCode="01">
<AddressUsageCode>XXDEFAULT</AddressUsageCode>
<DefaultIndicator>true</DefaultIndicator>
</AddressUsage>
<EmailURI>example@example.com</EmailURI>
<PostalAddress>
<CountryCode>XYZ</CountryCode>
<StreetPostalCode>1234567890</StreetPostalCode>
<StreetName>YYYYY</StreetName>
<HouseID>0123456789</HouseID>
</PostalAddress>
</Address>
</AddressInformation>
<!--InvoiceSummaryRole-->
<glob1:InvoiceSummaryRole>X</glob1:InvoiceSummaryRole>
<glob1:ClosingDatePattern>PQR</glob1:ClosingDatePattern>
</Customer>
</glob:CustomerBundleMaintainRequest_sync_V1>
</soapenv:Body>
</soapenv:Envelope>



Response Payload:

<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header/>
<soap-env:Body>
<n0:CustomerBundleMaintainConfirmation_sync_V1 xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:XYZ:/1PQR/XXXXXXXXXXXXXXXXXXXXXXXX:123">
<Customer>
<ReferenceObjectNodeSenderTechnicalID></ReferenceObjectNodeSenderTechnicalID>
<ChangeStateID>11111111111111.2222222</ChangeStateID>
<InternalID>ZZZZZ</InternalID>
<UUID>12345678-90AB-CDEF-0123-456789ABCDEF</UUID>
</Customer>
<Log/>
</n0:CustomerBundleMaintainConfirmation_sync_V1>
</soap-env:Body>
</soap-env:Envelope>

*where XXXXXXXXXX represents the Name of the Account
example@example.com represents the email address of the Account
XYZ represents the Country Code
1234567890 represents the Postal Code
YYYYY represents the Street
0123456789 represents the House Number
X represents the Invoice Summary Role
PQR represents the Closing Date Pattern
ZZZZZ represents the Account ID
12345678-90AB-CDEF-0123-456789ABCDEF represents the UUID of the Account created

Cause

Incorrect codelist values provided for InvoiceSummaryRole in the Request payload.

Resolution

Provide the below code-list values for InvoiceSummaryRole in the Request XML Payload and try to upload.

C - Invoice Summary Customer
M - Invoice Summary Recipient
N - Not(Invoice Summary) Relevant
P - Invoice Summary Payer

Migration template for Invoice Summary can also be used to update the Invoice Summary Role for the created/migrated customer Accounts.

Keywords

InvoiceSummaryRole, Invoice Summary Role, ManageCustomerIn , KBA , SRD-CRM-ACC , Account Management , Problem

Product

SAP Business ByDesign all versions