BAPI_REQUISITION_CREATE , BAPI_PO_CREATE are the standard BAPI’s used for creating PR / PO. For materials its straight forward , but for services getting the structure of input might be slightly difficult.

SAP Notes : 452608, 420331, 420332 and 420334 , can support where there is template provided as example for building the input structure.

Issue 01 : PR / PO created with incorrect line item value.

Check table : ESUH. This is a limits table and there is a package no column. if the Pack No used in the BAPI for creating the line item refers to one of the entries in the table , PR / PO is created with the limit value maintained in ESUH.

The only way to avoid is to user number range not in the table for package no. Ex : 80000001

Reference

https://community.sap.com/t5/additional-blogs-by-sap/about-table-eslh-service-package-header-data/ba-p/12892309

Categories: ABAPSAP

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *