openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SXMI_XBP_JOB_ADD_EXTPGM_STEP:
    post:
      tags:
      - SXJI
      summary: 'Obsolete: Use BAPI_XBP_JOB_ADD_EXT_STEP'
      operationId: /rfc/SXMI_XBP_JOB_ADD_EXTPGM_STEP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EXTERNAL_USER_NAME:
                  type: string
                  maxLength: 16
                  description: Name of the SAP-External User
                EXT_PROGRAM_NAME:
                  type: string
                  maxLength: 128
                  description: ABAP Program Name
                EXT_PROGRAM_PARAMETERS:
                  type: string
                  default: ' '
                  maxLength: 255
                  description: ABAP Variant Name
                JOBCOUNT:
                  type: string
                  maxLength: 8
                  description: Job Count
                JOBNAME:
                  type: string
                  maxLength: 32
                  description: Job Name
                SAP_USER_NAME:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: SAP User Name
                TARGET_HOST:
                  type: string
                  maxLength: 32
                  description: Executing Host for External Program
                WAIT_FOR_TERMINATION:
                  type: string
                  default: X
                  maxLength: 1
                  description: Job Waiting (Yes / No)
              required:
              - EXTERNAL_USER_NAME
              - EXT_PROGRAM_NAME
              - JOBCOUNT
              - JOBNAME
              - TARGET_HOST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  STEP_NUMBER:
                    type: integer
                    format: int32
                    description: Step Number in the Job
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
