Hello,
I am relatively new to SAP byd and am attempting to use the WebService API to update recipient addresses. Below is the request I've drafted and the subsequent response I received.
There are several specific questions I encountered:
1. What means "Deletion of item not possible due to status of document"? Since nothing is required to be deleted.
2. Is Ship-to party the same as recipient party? Can I edit the address just like what I do in the GUI?
3. It seems like I have problems with several address details such as Countrycode, Regioncode, what's the reason for such errors? If it's because I used the wrong code, where could I find the list of correct codes?
I would greatly appreciate any assistance or insights to resolve this issue.
Thank you in advance!
Request:
<soapenv:Header/>
<soapenv:Body>
<glob:SalesOrderBundleMaintainRequest_sync>
<SalesOrder itemListCompleteTransmissionIndicator="true" businessTransactionDocumentReferenceListCompleteTransmissionIndicator="true" actionCode="02">
<ID>8650</ID>
<ProductRecipientParty partyContactPartyListCompleteTransmissionIndicator="true" actionCode="02">
<PartyID>CNUMBERAUD</PartyID>
<Address>
<CorrespondenceLanguageCode>EN</CorrespondenceLanguageCode>
<PostalAddress>
<Countrycode>AU</Countrycode>
<RegionCode>New South Wales</RegionCode>
<CountyName>Australia</CountyName>
<StreetName>123 BillTo Street</StreetName>
<CityName>North Ryde</CityName>
<StreetPostalCode>2113</StreetPostalCode>
</PostalAddress>
</Address>
</ProductRecipientParty>
</SalesOrder>
</glob:SalesOrderBundleMaintainRequest_sync>
</soapenv:Body>
</soapenv:Envelope>
Response:
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header/>
<soap-env:Body>
<n0:SalesOrderBundleMaintainConfirmation_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:JSZ:/1SAI/TAE88DF3AA925C3E49C60CC:804">
<Log>
<MaximumLogItemSeverityCode>3</MaximumLogItemSeverityCode>
<Item>
<TypeID>027(/CL_CDA_STATUS/)</TypeID>
<CategoryCode>INC.BOI</CategoryCode>
<SeverityCode>3</SeverityCode>
<Note>Deletion of item not possible due to status of document</Note>
</Item>
<Item>
<TypeID>094(/CL_CDA_BUSDT/)</TypeID>
<CategoryCode>ENV.CBM</CategoryCode>
<SeverityCode>2</SeverityCode>
<Note>Document blocked for delivery</Note>
</Item>
<Item>
<TypeID>075(//PAPR/PARTY_ADMIN/)</TypeID>
<CategoryCode>SEI.FSI</CategoryCode>
<SeverityCode>3</SeverityCode>
<Note>Address inconsistent for party Ship-To CNUMBERAUD</Note>
</Item>
<Item>
<TypeID>080(//PAPR/PARTY_ADMIN/)</TypeID>
<CategoryCode>SEI.FSI</CategoryCode>
<SeverityCode>2</SeverityCode>
<Note>Country/Region in address of Ship-To party missing</Note>
</Item>
<Item>
<TypeID>076(//PAPR/PARTY_ADMIN/)</TypeID>
<CategoryCode>SEI.FSI</CategoryCode>
<SeverityCode>3</SeverityCode>
<Note>Address inconsistent for location</Note>
</Item>
<Item>
<TypeID>111(//PAPR/PARTY_ADMIN/)</TypeID>
<SeverityCode>3</SeverityCode>
<Note>Address inconsistency: Country code is mandatory</Note>
</Item>
<Item>
<TypeID>111(//PAPR/PARTY_ADMIN/)</TypeID>
<SeverityCode>3</SeverityCode>
<Note>Address inconsistency: Region code NSW is not valid</Note>
</Item>
<Item>
<TypeID>023(/CL_CDA_STATUS/)</TypeID>
<CategoryCode>INC.BOI</CategoryCode>
<SeverityCode>3</SeverityCode>
<Note>Saving not possible due to status of document</Note>
</Item>
</Log>
</n0:SalesOrderBundleMaintainConfirmation_sync>
</soap-env:Body>
</soap-env:Envelope>