openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GRMG_DELETE_SCENARIOS_RFC:
    post:
      tags:
      - GRMG
      summary: 'GRMG: Delete a scenario'
      operationId: /rfc/GRMG_DELETE_SCENARIOS_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SCENARIO_INSTANCE:
                  type: integer
                  format: int64
                SCENARIO_NAME:
                  type: string
                  maxLength: 8
                SCENARIO_VERSION:
                  type: integer
                  format: int64
                FM_CHG_ERROR_ITAB:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      RUN_NUMBER:
                        type: integer
                        format: int64
                        description: 'GRMG: Type for numc10'
                      ERROR_ITEM:
                        type: integer
                        format: int64
                        description: 'GRMG: Type for numc10'
                      ERROR_DATE:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      ERROR_TIME:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
                      MOD_UNIT:
                        type: string
                        maxLength: 50
                        description: 'GRMG: Type for modularisation unit'
                      ERROR_TEXT:
                        type: string
                        maxLength: 255
                        description: 'GRMG: Type for error text'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FM_OUT_ERROR:
                    type: string
                    maxLength: 1
                    description: General flag
                  FM_CHG_ERROR_ITAB:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        RUN_NUMBER:
                          type: integer
                          format: int64
                          description: 'GRMG: Type for numc10'
                        ERROR_ITEM:
                          type: integer
                          format: int64
                          description: 'GRMG: Type for numc10'
                        ERROR_DATE:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        ERROR_TIME:
                          type: string
                          maxLength: 6
                          description: Current Time of Application Server
                        MOD_UNIT:
                          type: string
                          maxLength: 50
                          description: 'GRMG: Type for modularisation unit'
                        ERROR_TEXT:
                          type: string
                          maxLength: 255
                          description: 'GRMG: Type for error text'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
