openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSSEM_QUERY_VARIABLES_GET:
    post:
      tags:
      - RSSEM_UCI
      summary: Liefert die in Query verwendeten Variablen
      operationId: /rfc/RSSEM_QUERY_VARIABLES_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_INFOPROV:
                  type: string
                  maxLength: 30
                  description: InfoProvider
                I_OBJVERS:
                  type: string
                  maxLength: 1
                  description: Version der Query
                I_QUERY:
                  type: string
                  maxLength: 30
                  description: 30 Characters
                ET_VAR:
                  type: array
                  items:
                    type: object
                    properties:
                      VNAM:
                        type: string
                        maxLength: 30
                        description: Name (ID) of a Report Variable
                      VARTYP:
                        type: integer
                        format: int64
                        description: 'Type of a Report Variable  enumValues: 2=Hierarchy nodes,4=Formula,5=Hierarchy,3=Text,1=Characteristic value'
                        enum:
                        - '2'
                        - '4'
                        - '5'
                        - '3'
                        - '1'
                      VPROCTP:
                        type: integer
                        format: int64
                        description: 'Processing type for query variables  enumValues: 4=SAP exit,6=Authorization,1=Replacement path,3=Customer exit,5=User entry / default value'
                        enum:
                        - '4'
                        - '6'
                        - '1'
                        - '3'
                        - '5'
                      IOBJNM:
                        type: string
                        maxLength: 30
                        description: InfoObject
                      VPARSEL:
                        type: string
                        maxLength: 1
                        description: 'Parameter Selection: Single Value, Interval, Selection Opt.  enumValues: P=Single value (parameters),S=Selection option,""=Default,M=Multiple Single Values,I=Interval'
                        enum:
                        - P
                        - S
                        - ''
                        - M
                        - I
                      VARINPUT:
                        type: string
                        maxLength: 1
                        description: 'Variable is ready for input  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
              required:
              - I_INFOPROV
              - I_OBJVERS
              - I_QUERY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_RETURN:
                    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
                      PARAMETER:
                        type: string
                        maxLength: 32
                        description: Parameter Name
                      ROW:
                        type: integer
                        format: int32
                        description: Lines in parameter
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field in parameter
                      SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system from which message originates
                  E_SUBRC:
                    type: integer
                    format: int32
                    description: Return Value of ABAP Statements
                  ET_VAR:
                    type: array
                    items:
                      type: object
                      properties:
                        VNAM:
                          type: string
                          maxLength: 30
                          description: Name (ID) of a Report Variable
                        VARTYP:
                          type: integer
                          format: int64
                          description: 'Type of a Report Variable  enumValues: 2=Hierarchy nodes,4=Formula,5=Hierarchy,3=Text,1=Characteristic value'
                          enum:
                          - '2'
                          - '4'
                          - '5'
                          - '3'
                          - '1'
                        VPROCTP:
                          type: integer
                          format: int64
                          description: 'Processing type for query variables  enumValues: 4=SAP exit,6=Authorization,1=Replacement path,3=Customer exit,5=User entry / default value'
                          enum:
                          - '4'
                          - '6'
                          - '1'
                          - '3'
                          - '5'
                        IOBJNM:
                          type: string
                          maxLength: 30
                          description: InfoObject
                        VPARSEL:
                          type: string
                          maxLength: 1
                          description: 'Parameter Selection: Single Value, Interval, Selection Opt.  enumValues: P=Single value (parameters),S=Selection option,""=Default,M=Multiple Single Values,I=Interval'
                          enum:
                          - P
                          - S
                          - ''
                          - M
                          - I
                        VARINPUT:
                          type: string
                          maxLength: 1
                          description: 'Variable is ready for input  enumValues: X=TRUE,""=FALSE'
                          enum:
                          - X
                          - ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
