Create Purchase Order

This function creates the purchase orders, using standard SAP BAPI transfers input to SAP.

The RFA PO function is used to create purchase orders in SAP, using standard SAP BAPI/transaction ME1N.

The following fields are mapped:

Field Name Description
Logical Destination (Specified in Function Call)

Read from the input

Purchase Order Group By

Read from the input

Simulation Flag

Set “X” for simulation or leave this blank if you want to perform a real run

Company Code

Read from the input

Purchasing Document Type

Read from the input

Purchasing Document Date

Set date “20210409”

Vendor Account Number

Read from the input

Purchasing Organization

Read from the input

Purchasing Group

Read from the input

Currency Key

Read from the input

No Adoption of Price from Last Document

Set “X”

Item Number of Purchasing Document

Read from the input

Material Number

Read from the input

Plant

Read from the input

Purchase Order Quantity

Read from the input

Item Category in Purchasing Document

Read from the input

Account Assignment Category

Read from the input

Price Adaptation

1 = Gross, 2 = Net: Set “2”

Pricing Type

Set “B”

Purchase Order Unit of Measure

Read from the input

G/L Account Number

Initial

Cost Center

Read from the input

Order Number

Read from the input

Work Breakdown Structure Element

Read from the input

Condition Item Number

Read from the input

Condition Type

Read from the input

Condition Amount

Read from the input

Currency Key

Read from the input

Condition Unit

Read from the input

Condition Pricing Unit

Read from the input

Type of Change

Set “U”