SAP Knowledge Base Article - Public

3524864 - ABAP runtime error when using app Print Scheduled Purchase Orders (ME9F) in SAP S/4HANA Cloud Public Edition

Symptom

An ABAP runtime error is encountered when scheduling Purchase Order (PO) output from the application Print Scheduled Purchase Orders (ME9F).

Environment

SAP S/4HANA Cloud Public Edition

Cause

The issue is caused by the generation of two DB keys for the same purchase order. This results in a duplicate key issue, causing the job failure.

Resolution

The following steps should be followed if the issue reoccurs again.

  1. Identify the problematic PO causing the job failure.
  2. Manually add a new output to the problematic PO.
  3. Send the PO manually.

Keywords

ABAP, Runtime Error, Scheduling, Purchase Order, PO, Output, Print Scheduled Purchase Orders, ME9F, SAP S/4HANA, Cloud Public Edition, Duplicate Key, UUID, CX_SY_OPEN_SQL_DB, DBSQL_DUPLICATE_KEY_ERROR, CL_PRINT_QUEUE_REPOSITORY  , KBA , MM-PUR-GF-OC-2CL , Message determination and printing (Public Cloud) , CA-GTF-OC , SAP S/4HANA output management , BC-CCM-PRN-OM-PQ , S/4HANA Output Management Print Queues , Problem

Product

SAP S/4HANA Cloud Public Edition all versions