Symptom
Error occurs while executing Web Service PurchaseOrderByElementsQuery.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to Application and User Management work center.
- Go to Service Explorer view.
- Select 'Query Purchase Orders'.
- Click in 'Download WSDL' button
WSDL is downloaded.
- Open application SOAP UI.
- In File, select New SOAP Project.
- Initial the WSDL downloaded previously.
- Expand 'binding_SOAP12'.
- Expand FindSimpleByElements.
- Double click in Request1.
- Insert the payload.
- Click in Auth.
- In Authorization click in Add New Authorization.
- Insert the information from technical user.
- Click in Submit Request.
In the answer, it is shown the error: RABAX occurred on server side.
Cause
There are some possible causes for this error message to be triggered, which will be listed below.
Cause 1 - The tags used in the query PurchaseOrderSelectionByElements is wrong.
For example:
You have used the payload as below;
<n0:PurchaseOrderSimpleByElementsQuery_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">
<PurchaseOrderSimpleSelectionByElements>
<SelectionByPurchaseOrderLifeCycleStatusCode>
<InclusionExclusionCode>I</InclusionExclusionCode>
<IntervalBoundaryTypeCode>3</IntervalBoundaryTypeCode>
<LowerBoundaryPurchaseOrderLifeCycleStatusCode>1</LowerBoundaryPurchaseOrderLifeCycleStatusCode>
<UpperBoundaryPurchaseOrderLifeCycleStatusCode>6</UpperBoundaryPurchaseOrderLifeCycleStatusCode>
</SelectionByPurchaseOrderLifeCycleStatusCode>
</PurchaseOrderSimpleSelectionByElements>
<ProcessingConditions>
<QueryHitsUnlimitedIndicator>false</QueryHitsUnlimitedIndicator>
<QueryHitsMaximumNumberValue>100</QueryHitsMaximumNumberValue>
</ProcessingConditions>
</n0:PurchaseOrderSimpleByElementsQuery_sync>
In the above payload, the tags used for Lower and Upper BoundaryPurchaseOrderLifeCycleStatusCode is incorrect. Also you have set the tag - QueryHitsUnlimitedIndicator to false.
Cause 2 - One (or more) Purchase Orders that are being queried doesn't have its currency properly maintained.
If one of those Purchase Orders don't have the currency maintained, the RABAX error will be triggered.
Resolution
[Resolution for Cause 1]
The proper tags should be maintained when executing the paylod.
For example:
<PurchaseOrderSelectionByElements>
<SelectionByLifeCycleStatusCode>
<InclusionExclusionCode>I</InclusionExclusionCode>
<IntervalBoundaryTypeCode>3</IntervalBoundaryTypeCode>
<LowerBoundaryCode>1</LowerBoundaryCode>
<UpperBoundaryCode>6</UpperBoundaryCode>
</SelectionByLifeCycleStatusCode>
</PurchaseOrderSelectionByElements>
<ProcessingConditions>
<QueryHitsMaximumNumberValue>100</QueryHitsMaximumNumberValue>
<QueryHitsUnlimitedIndicator>true</QueryHitsUnlimitedIndicator>
</ProcessingConditions>
</n0:PurchaseOrderByElementsQuery_sync>
With the above payload request, you will get the successful response.
[Resolution for Cause 2]
The system doesn't share which is the Purchase Order that doesn't have the currency maintained.
Once the currency is maintained in the document, the error will not be triggered anymore.
Keywords
<PurchaseOrderSimpleSelectionByElements>; RABAX error occurred on server side; web service , KBA , AP-POP-PO , Purchase Order , How To
SAP Knowledge Base Article - Public