Menu

SAP Function Module BAPI_PO_CREATE1

Create Purchase Order

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module BAPI_PO_CREATE1 (Create Purchase Order) is a standard Function Module in SAP ERP and is part of the function group 2012 within the package ME.

Technical Information

Function Module BAPI_PO_CREATE1
Short Text Create Purchase Order
Function Group 2012
Package ME
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
MEMORY_COMPLETE LIKE BAPIFLAG-BAPIFLAG Hold Purchase Order if NOT Faulty
MEMORY_UNCOMPLETE LIKE BAPIFLAG-BAPIFLAG Hold Purchase Order if Faulty
NO_AUTHORITY LIKE BAPIFLAG-BAPIFLAG No Authorization Check
NO_MESSAGE_REQ LIKE BAPIFLAG-BAPIFLAG No Messages Necessary
NO_MESSAGING LIKE BAPIFLAG-BAPIFLAG No Message Determination
NO_PRICE_FROM_PO LIKE BAPIFLAG-BAPIFLAG No Price Transfer from Last Document
POADDRVENDOR LIKE BAPIMEPOADDRVENDOR Address of Vendor
POEXPIMPHEADER LIKE BAPIEIKP Foreign Trade: Header Data
POEXPIMPHEADERX LIKE BAPIEIKPX Foreign Trade: Change Bar: Header Data
POHEADER LIKE BAPIMEPOHEADER Header Data
POHEADERX LIKE BAPIMEPOHEADERX Header Data (Change Toolbar)
TESTRUN LIKE BAPIFLAG-BAPIFLAG Test Indicator
VERSIONS LIKE BAPIMEDCM Version Management

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
EXPHEADER LIKE BAPIMEPOHEADER Header Data
EXPPOEXPIMPHEADER LIKE BAPIEIKP Foreign Trade: Header Data
EXPPURCHASEORDER LIKE BAPIMEPOHEADER-PO_NUMBER Purchasing Document Number

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ALLVERSIONS LIKE BAPIMEDCM_ALLVERSIONS All Versions (Export Parameter)
EXTENSIONIN LIKE BAPIPAREX Customer's Own Fields (Import Parameters)
EXTENSIONOUT LIKE BAPIPAREX Customer's Own Fields (Export Parameters)
POACCOUNT LIKE BAPIMEPOACCOUNT Account Assignment Fields
POACCOUNTPROFITSEGMENT LIKE BAPIMEPOACCOUNTPROFITSEGMENT Reservation Profitability Segment: BAPI_PROFITABILITY_SEGMENT
POACCOUNTX LIKE BAPIMEPOACCOUNTX Account Assignment Fields (Change Toolbar)
POADDRDELIVERY LIKE BAPIMEPOADDRDELIVERY Addresses for Inward Delivery (Item)
POCOND LIKE BAPIMEPOCOND Conditions (Items)
POCONDHEADER LIKE BAPIMEPOCONDHEADER Conditions (Header)
POCONDHEADERX LIKE BAPIMEPOCONDHEADERX Conditions (Header, Change Bar)
POCONDX LIKE BAPIMEPOCONDX Conditions (Items, Change Bar)
POCONTRACTLIMITS LIKE BAPIESUCC External Services: Contract Limits
POEXPIMPITEM LIKE BAPIEIPO Foreign Trade: Item Data
POEXPIMPITEMX LIKE BAPIEIPOX Foreign Trade: Change Bar: Item Data
POITEM LIKE BAPIMEPOITEM Item Data
POITEMX LIKE BAPIMEPOITEMX Item Data (Change Toolbar)
POLIMITS LIKE BAPIESUHC External Service: Limits
POPARTNER LIKE BAPIEKKOP Partner
POSCHEDULE LIKE BAPIMEPOSCHEDULE Delivery Schedule
POSCHEDULEX LIKE BAPIMEPOSCHEDULX Schedule Lines (Change Toolbar)
POSERVICES LIKE BAPIESLLC External Services: Service Lines
POSERVICESTEXT LIKE BAPIESLLTX External Services: Service Long Text
POSRVACCESSVALUES LIKE BAPIESKLC External Services: Account Assignment Distribution for Service Lines
POTEXTHEADER LIKE BAPIMEPOTEXTHEADER Header Texts
POTEXTITEM LIKE BAPIMEPOTEXT Item Texts
RETURN LIKE BAPIRET2 Return Parameter

Exceptions

This function module does not define any Exceptions.