Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Unable to create Purchase req service lineitems using BAPI_PR_CREATE

Former Member
0 Likes
514

Dear All,

I am trying to use the FM BAPI_PR_CREATE to create PR material and service lineitems .

I am able to completly map the fields for the purchase requisition in case the lineitem is a material.

But in case the PR lineitem is a service ,I am not able to find the required structure needed to pass the service lineitems(which comes under the service lineitems in ME51N tab).

For some reasons I cannot use the FM, BAPI_REQUISITION_CREATE wherin the service information could be passed using the table REQUISITION_SERVICES.

We are using ECC 6.0.Is it that this functionality for service lineitems is missing from this BAPI.

Thanks.

Regards,

Rijuraj

Dear All,

I am trying to use the FM BAPI_PR_CREATE to create PR material and service lineitems .

I am able to completly map the fields for the purchase requisition in case the lineitem is a material.

But in case the PR lineitem is a service ,I am not able to find the required structure needed to pass the service lineitems(which comes under the service lineitems in ME51N tab).

For some reasons I cannot use the FM, BAPI_REQUISITION_CREATE wherin the service information could be passed using the table REQUISITION_SERVICES.

We are using ECC 6.0.Is it that this functionality for service lineitems is missing from this BAPI.

Thanks.

Regards,

Rijuraj

1 REPLY 1
Read only

RaymondGiuseppi
Active Contributor
0 Likes
408

First read [Note 499627 - FAQ: BAPIs for purchase requisitions|https://service.sap.com/sap/support/notes/499627] (questions 8 and 9) and eventually [Note 1312947 - Wrong business function assigned for service processing|https://service.sap.com/sap/support/notes/1312947]

Regards,

Raymond