Bapi Po Create1 Manual Price

Explicit PO Number: This post will explain how to create a SAP PO ( Purchasing Order) with Explicit PO Number.

  1. Bapi Po Create1 Manual Price In India
  2. Bapi Po Create1 Manual Priced
  3. Bapi Po Create1 Manual Price

Further information on purchase order BAPIs is available in SAP Note 197958. If you test the BAPIs BAPIPOCREATE1 or BAPIPOCHANGE in the Function Builder (transaction code SE37), no database updates will be carried out. If you need this function, take a look at Note 420646. The BAPI BAPIPOGETDETAIL serves to read the details of a purchase. I've found two functions, BAPIPOCREATE and BAPIPOCREATE1. Since the CREATE1 has a more recent modification date, I assumed this would be the best one to use. As an example, I'm creating a rather simple purchase without a material. BAPIPOCHANGE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions specific to the object. 1899549-BAPIPOCREATE1: Net price is not taken from input data in POITEM-NETPRICE Symptom When creating a purchase order by BAPIPOCREATE1, net price is not taken from input data in POITEM-NETPRICE. What is BAPIPOCREATE1 BAPIPOCREATE1 is the function module that is allowed you to create purchase orders, this BAPI use the technology behind the enjoy purchase order transaction ( ME21N). In this article i would share you the solution when you cannot input net price ( net price always 0 ) when using BAPIPOCREATE1 to create.

The first part will cover SAP PO Number Customizing and the second part will explain how to create explicit PO Number.

Customizing for Explicit PO Number

In order to allow External number to SAP PO ( Purchase Order ), customizing for PO Number range should be set to External.

So Define a SAP PO document Type then assign a number range for external numbers.

Create External Number Range for Purchasing Document

Launch the SAP Tcode OMH6 : Number Ranges for Purch. Documents

Check also, the following SAP Tcodes for Number Ranges

  • OMH6 Number Ranges for Purch. Documents
  • OMH7 Number Ranges for Purch. Requisition
  • OMH8 Number Ranges for Service Package
  • OMH9 Number Ranges for Entry Sheet

Assign External Number Range to Purchasing Document Type

To assign External Number Range to Purchasing Document Type, Navigate through SPRO to
Purchasing > Define Document Types

Set the following information

  • Type for Document Types
  • Item Number Interval
  • No Range Internal
  • No Range External

Create SAP PO Explicit PO Number using BAPI

Once the Customizing for External Number Range for PO is done, you can move to ABAP report/Code.

In order to create a SAP Purchasing document with an External PO number use the standard BAPI BAPI_PO_CREATE1 (Create Purchase Order).

Check also List of Important SAP SD Tables (Sales and Distribution).

The main input parameters for PO Number are

  • POHEADER : Header Data- type BAPIMEPOHEADER
  • POHEADERX: Header Data (Change Parameter)- type BAPIMEPOHEADERX

Use field the POHEADER-PO_NUMBER (EBELN CHAR 10 0 Purchasing Document Number) for the External PO Number for the Purchase Document you want to create.

Set POHEADERX-PO_NUMBER = ‘X’

Call the BAPI BAPI_PO_CREATE1 will all the SAP Purchasing Order Details.