SAP Knowledge Base Article - Public

3575975 - Error Execution Stage does not exist while using API_MAINTENANCETASKLIST for operation creation - SAP S/4HANA Cloud Public Edition

Symptom

  • An error message "Execution Stage does not exist" is encountered while using API_MAINTENANCETASKLIST for operation creation.
  • The issue arises when attempting to create an operation with predefined values such as PRE, POST, MAIN.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Use the POST operation in API_MAINTENANCETASKLIST to create an operation.
  2. Attempt to create an operation with predefined values for Execution Stage such as PRE, POST, MAIN.

Cause

The issue arises due to incorrect values being used for the execution stage during operation creation. The system does not recognize the values PRE, POST, or MAIN.

Resolution

  1. For operation creation with the PRE stage, use '10PRE' for the execution stage in the payload.
  2. For operation creation with the POST stage, use '30POST' for the execution stage.
  3. For operation creation with the MAIN stage, leave the execution stage value as empty.

See Also

Help documentation - Create Task List Operation

Keywords

API_MAINTENANCETASKLIST, operation creation, execution stage,PRE, POST, ,Execution Stage does not exist , KBA , PM-FIO-2CL , Fiori User Interface (UI) for PM (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions