‎2008 Jun 26 5:12 AM
I am using IBM WebSphere Message Broker SAP Adapter request node to call BAPI_PR_CREATE, here is the input business object:
<NS1:SapbapiprcrtWrapper xmlns:NS1="http://www.ibm.com/xmlns/prod/websphere/j2ca/sap/sapbapiprcrtwrapper">
<SapBapiPrCreate>
<SapPrheader>
<PrType>NB</PrType>
</SapPrheader>
<SapPrheaderx>
<PrType>X</PrType>
</SapPrheaderx>
<SapPritem>
<PreqItem>00010</PreqItem>
<Material>1300-330</Material>
<Plant>1000</Plant>
<Quantity>33000</Quantity>
<Unit>PC</Unit>
</SapPritem>
<SapPritemx>
<PreqItem>00010</PreqItem>
<Material>X</Material>
<Plant>X</Plant>
<Quantity>X</Quantity>
<Unit>X</Unit>
</SapPritemx>
</SapBapiPrCreate>
</NS1:SapbapiprcrtWrapper>
But the adapter node failed during the processing, seems a RecordNotFound exception throwed, anyone can help?
‎2008 Jun 26 5:51 AM
HI,
are you able to test the Bapi in Se37 sucessfully??? For same data are u getting the output??
Regards
Raj
‎2008 Jun 26 3:57 PM
Ok, solove the problem, Quantity field type should be assigned a DECIMAL in the ESQL code.
By the way, I can't execute the BAPI_PR_CREATE function sucessfully directly, don't know why.