ME59N — Automatic Purchase Order Creation from Requisitions
ME59N mass-converts released purchase requisitions into purchase orders automatically, but only for items that already carry a fixed, unambiguous source of supply flagged for auto-PO creation. It does not perform source determination itself; it executes an assignment that must already exist in the info record, contract, or source list. Most failed runs trace back to a missing or ambiguous source, not the transaction itself.
This page covers ME59N, the transaction used to batch-convert purchase requisitions into purchase orders without manual item processing. It focuses on the prerequisites that determine whether a requisition item is eligible for automatic conversion, and the diagnostic sequence for runs that produce fewer POs than expected or an error log full of skipped items.
Reviewed by an ERPClimb SAP consultant on 15 Sept 2026· 1,204 words
What it does
ME59N takes a selection of purchase requisitions and converts eligible items into purchase orders in one run, replacing the manual item-by-item work of ME21N or ME57. The structural fact that explains most confusion: ME59N does not choose a vendor or decide sourcing logic on the fly. It only executes conversions where the requisition item already has a fixed, unambiguous source of supply (an info record, contract, or scheduling agreement) and is flagged as eligible for automatic PO generation. If that assignment is missing, ambiguous, or blocked, the item is skipped and shows up in the error log rather than as a created PO. Consultants who expect ME59N to 'find' a vendor the way a buyer would in ME57 are working against how the transaction is designed.
When it is used
ME59N sits at the conversion step of P2P, downstream of requisition creation (manual, MRP-generated, or via ME51N) and requisition release if a release strategy is active. It is the tool of choice for high-volume, low-value, repetitive procurement where sourcing is already contractually fixed, such as MRP-driven stock replenishment against a running contract or scheduling agreement. It is typically scheduled as a background job rather than run interactively. Consultants reach for ME21N or ME57 instead when sourcing still needs a decision, negotiation, or manual vendor selection; ME59N is for the volume that has already been resolved upstream and just needs to be turned into paper.
How to use it
- Restrict the selection by plant, purchasing group, material group, requisition number range, and vendor to keep the run scoped.
- Set the option controlling whether only requisitions with a source already assigned are included, since unassigned items will never convert.
- Choose whether to run in test mode to preview results or execute directly to create purchase orders.
- Review the resulting log split into successfully created POs and error items with a reason code per skipped item.
- Route the error items back to ME54N for release, ME57 for source assignment, or ME21N for manual handling depending on the failure reason.
Key fields
- EBAN - the purchase requisition record; on successful conversion the item is updated with the resulting PO number and item, and its status moves to ordered.
- EKKO - the purchase order header created for the converted items, grouped by vendor and other header-relevant criteria.
- EKPO - the purchase order item created, carrying the link back to the originating requisition number and item.
- EKET - schedule line data written when the source of supply is a scheduling agreement rather than a standard PO.
- CDHDR and CDPOS - change documents recording the requisition status change and the new PO creation for audit purposes.
How to prove it in the data
In SE16 on EBAN, filter by the requisition number range used in the run and check whether the fields holding the resulting purchase order number and item are populated; blank fields on an item that should have converted point to a skipped item, not a silent success. Cross-check the release indicator field to confirm the requisition was actually released before the run. For items that did convert, join EBAN's stored PO number and item to EKPO on the corresponding key to confirm the PO header and item exist and match the expected vendor from the source of supply.
ECC vs S/4HANA
ME59N exists and behaves the same way on S/4HANA; the eligibility logic around fixed sources, release status, and auto-PO flags has not materially changed. S/4HANA offers a Fiori app oriented around automatic purchase order creation for similar mass-conversion scenarios, but the underlying prerequisites a consultant needs to check when conversions fail are the same ones documented here regardless of which front end triggered the run.
Common pitfalls
- Missing source of supply: the requisition item has no fixed info record, contract, or source list entry. Symptom is the item never appearing in the selection or showing an error log line stating no source of supply found. Check the source list or info record for the material and plant combination before rerunning.
- Requisition not released: an active release strategy leaves the item in an unreleased status, so ME59N ignores it regardless of source assignment. Check the release indicator on the requisition and the release strategy configuration, not the ME59N selection screen.
- Auto-PO flag missing at the source: the info record or source list entry exists but is not marked for automatic PO creation, or is not marked as the fixed source. This produces a silent skip that looks identical to a missing source unless the error log text is read carefully.
- Vendor blocked for purchasing: a purchasing block or deletion flag on the vendor master causes conversion to fail even with a valid source assigned. Check the vendor's purchasing block fields before assuming the source configuration is wrong.
- Ambiguous source from quota arrangement: more than one valid source exists and the quota split cannot resolve to a single vendor deterministically, producing an ambiguous source error. This is a quota or source list maintenance issue, not a ME59N defect.
- Expired info record validity: the source exists but its price or validity period has lapsed, which some configurations treat as no valid source at all. Check the validity dates on the info record condition before touching the requisition.
- The reflex fix to avoid: rerunning ME59N repeatedly on the same failing items without reading the error log, or broadly flipping the auto-PO flag across many info records to force conversions. The second one causes unintended automatic PO creation for materials that were meant to be sourced manually, which is worse than the original stuck requisitions.
Whose problem this is
This is a functional MM procurement issue in the vast majority of cases: source of supply maintenance, release strategy configuration, and vendor master blocks are all functional master data and configuration. Basis involvement is limited to background job scheduling or authorization failures preventing the job from running at all. A good handover includes the selection variant used, the full error log with reason codes per skipped item, and the requisition numbers that failed, not just a note that the job produced fewer POs than expected.
Related SAP objects
Reviewed pages this object connects to in the ERPClimb knowledge graph.
Source: ERPClimb — https://erpclimb.com/sap-tcodes/me59nERPClimb is an independent platform and is not affiliated with SAP SE. Reference pages are written and reviewed by SAP consultants for learning and troubleshooting.