Problem in Calling SAP BAPI via SAP Outbound

Hi All,

I am working with an transaction Purchase Requisition using SAP Adapters . I am using the BAPI_REQUISITION_CREATE bapi as outbound call.

I mapped all my database fields to the Import paramter tables in the BAPI as well.

(Actually i am having three line items and i mapped incide the loop).

But I am getting the Result PR number. But PR contains only one line item , can anyone throw an Bright light.

regards
Ramesh

Don’t use the LOOP anymore. In your service when you call your BAPI, map your documentlist (I assume you have documentlist) to the REQUISITION_ITEMS in service in. This will pick them all.

HTH,
Miles