Symptom
Error occurs while executing PurchaseOrderByElementsQuery using web service.
Error - RABAX error occurred on server side
Environment
SAP Business ByDesign
Reproducing the Issue
- Login to SOAP UI tool
- Upload the Payload Request PurchaseOrderByElementsQuery
- Execute the payload
- Error occurs
Cause
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.
Resolution
You have to use the proper tags to execute the payload.
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.
Keywords
<PurchaseOrderSimpleSelectionByElements>; RABAX error occurred on server side; web service , KBA , AP-POP-PO , Purchase Order , Problem