openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RRW3_PROCESS_CMD:
    post:
      tags:
      - RRW3
      operationId: /rfc/RRW3_PROCESS_CMD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_PAGENO:
                  type: integer
                  format: int32
                I_PARAMETER_STRING_SEPARATOR:
                  type: string
                  default: '"'
                  maxLength: 1
                I_RESET_RETURN:
                  type: string
                  default: RS_C_TRUE
                  maxLength: 1
                C_T_RETURN:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      NUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LOG_NO:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      LOG_MSG_NO:
                        type: integer
                        format: int64
                        description: 'Application log: Internal message serial number'
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                C_T_RETURN_HTML:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: HTML container
                E_T_HTML:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: HTML container
                E_T_MIME:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: MIME data container
                I_T_PARAMETERS:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 30
                        description: Name for WWW query string name/value pair
                      VALUE:
                        type: string
                        maxLength: 250
                        description: Value for WWW query string name/value pair
                I_T_PARAMETERS_STRING:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: HTML container
              required:
              - I_PAGENO
              - I_PARAMETER_STRING_SEPARATOR
              - I_RESET_RETURN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_CONTENT_LENGTH:
                    type: integer
                    format: int32
                  E_CONTENT_TYPE:
                    type: string
                    maxLength: 128
                  E_FORCE_STATEFULL:
                    type: string
                    maxLength: 1
                  E_HTML:
                    type: string
                  E_PAGENO:
                    type: integer
                    format: int32
                  E_REQUESTNO:
                    type: integer
                    format: int32
                  E_RETURN_CODE:
                    type: integer
                    format: int32
                  C_T_RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        LOG_NO:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        LOG_MSG_NO:
                          type: integer
                          format: int64
                          description: 'Application log: Internal message serial number'
                        MESSAGE_V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                  C_T_RETURN_HTML:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: HTML container
                  E_T_HTML:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: HTML container
                  E_T_MIME:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: MIME data container
                  I_T_PARAMETERS:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 30
                          description: Name for WWW query string name/value pair
                        VALUE:
                          type: string
                          maxLength: 250
                          description: Value for WWW query string name/value pair
                  I_T_PARAMETERS_STRING:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: HTML container
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
