RABAX - ManageCuatomerIn - While creating a new account
Hi Experts,
I am trying to create a new Ship-To Account using ManageCustomerIn SOAP service.
This Ship-To Account has to be related/ linked to another Sold-To Account using Is-Ship-To-Party-Of relationship.
I am able to do so with the below request XML. But the the same XML with same data fails intermittently giving an RABAX exception.
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global" xmlns:a01="http://sap.com/xi/AP/CustomerExtension/BYD/A01Q1" xmlns:ymn="http://0000159922-one-off.sap.com/YMN5Q7R8Y_" xmlns:yng="http://0000159922-one-off.sap.com/YNGLNLRVY_" xmlns:yod="http://0000159922-one-off.sap.com/YODNFKN0Y_" xmlns:glob1="http://sap.com/xi/AP/Globalization">
<soapenv:Header/>
<soapenv:Body>
<glob:CustomerBundleMaintainRequest_sync_V1>
<Customer actionCode="01">
<CategoryCode>2</CategoryCode>
<CustomerIndicator>true</CustomerIndicator>
<Organisation>
<FirstLineName>Account Name</FirstLineName>
<SecondLineName>Second Name</SecondLineName>
</Organisation>
<yod:AccountGroup>02</yod:AccountGroup>
<IndustrialSectorCode>Z11000</IndustrialSectorCode>
<LifeCycleStatusCode>2</LifeCycleStatusCode>
<AddressInformation actionCode="01">
<Address actionCode="01">
<CorrespondenceLanguageCode>RO</CorrespondenceLanguageCode>
<PostalAddress>
<RegionCode>01</RegionCode>
<CountryCode>RO</CountryCode>
<CountyName>Romania</CountyName>
<StreetPrefixName>Street Prefix</StreetPrefixName>
<StreetName>Street Name</StreetName>
<CityName>City Name</CityName>
<StreetPostalCode>100212</StreetPostalCode>
</PostalAddress>
</Address>
</AddressInformation>
<Relationship actionCode="01">
<RelationshipBusinessPartnerInternalID>10035072</RelationshipBusinessPartnerInternalID>
<RoleCode>CRMH02-2</RoleCode>
</Relationship>
</Customer>
</glob:CustomerBundleMaintainRequest_sync_V1>
</soapenv:Body>
</soapenv:Envelope>
Most of the times I get a success and the account gets created. But with the same data/ request sometimes it fails and I get below error:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring xml:lang="en">RABAX occurred on server side</faultstring>
<detail>
<sap:Rabax xmlns:sap="http://www.sap.com/webas/710/soap/runtime/abap/fault/generic">
<SYDATUM>20151015</SYDATUM>
<SYUZEIT>134207</SYUZEIT>
<ERRORCODE>DATREF_NOT_ASSIGNED</ERRORCODE>
</sap:Rabax>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>
Has any one faced similar issue?
Is there any way to check relevant logs in ByDesign?
Am I missing any other mandatory/ required attributes, action codes, any indicators etc.?
Your help will be appreciated.
Thanks.