openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_VC_GET_QUERY_VIEW_DEF:
    post:
      tags:
      - RS_VC
      operationId: /rfc/RS_VC_GET_QUERY_VIEW_DEF
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_INFOPROVIDER:
                  type: string
                  maxLength: 30
                I_QUERY:
                  type: string
                  maxLength: 30
                I_T_PARAMETER:
                  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_VIEW_ID:
                  type: string
                  maxLength: 30
                E_T_MESSAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      ZEILE:
                        type: string
                        maxLength: 22
                        description: Line number
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: 'Message type (E, I, W, ...)  enumValues: W=Warning,E=Error,A=Termination,I=Information,S=Success message'
                        enum:
                        - W
                        - E
                        - A
                        - I
                        - S
                      TEXT:
                        type: string
                        maxLength: 73
                        description: Message Text
                      ARBGB:
                        type: string
                        maxLength: 20
                        description: Application Area
                      TXTNR:
                        type: string
                        maxLength: 3
                        description: Message number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_STATE_XML:
                    type: string
                    format: byte
                  E_T_VARIABLE_DEFINITION:
                    type: array
                    items:
                      type: object
                      properties:
                        VAR_ID:
                          type: object
                          properties:
                            VNAM:
                              type: string
                              maxLength: 30
                              description: Name (ID) of a Report Variable
                            HANDLE:
                              type: integer
                              format: int64
                              description: 'BW: General reference field for internal IDs'
                        HANDLE:
                          type: integer
                          format: int64
                          description: 'BW: General reference field for internal IDs'
                        VARTYP:
                          type: integer
                          format: int64
                          description: Type of a Report Variable
                        VPARSEL:
                          type: string
                          maxLength: 1
                          description: 'Parameter Selection: Single Value, Interval, Selection Opt.'
                        ENTRYTP:
                          type: integer
                          format: int64
                          description: Entry required
                        VNAM:
                          type: string
                          maxLength: 30
                          description: Name (ID) of a Report Variable
                        VTXT:
                          type: string
                          maxLength: 60
                          description: Long description
                        HELP_AVAIL:
                          type: string
                          maxLength: 1
                          description: Indicates if BROWSE function is possible
                        IOBJNM:
                          type: string
                          maxLength: 30
                          description: InfoObject
                        IOBJTXT:
                          type: string
                          maxLength: 60
                          description: Long description
                        QTITLE:
                          type: string
                          maxLength: 60
                          description: Long description
                        OUTPUTLEN:
                          type: integer
                          format: int64
                          description: Output Length
                        DATATP:
                          type: string
                          maxLength: 4
                          description: Data Type in ABAP Dictionary
                        PERSONALIZED:
                          type: string
                          maxLength: 1
                          description: Describes How Variables Were Personalized
                        DYNCHANGE:
                          type: string
                          maxLength: 1
                          description: Variable Can Be Changed During Query Navigation
                        PRSNT1:
                          type: string
                          maxLength: 1
                          description: Single figure display
                  E_T_MESSAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        ZEILE:
                          type: string
                          maxLength: 22
                          description: Line number
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: 'Message type (E, I, W, ...)  enumValues: W=Warning,E=Error,A=Termination,I=Information,S=Success message'
                          enum:
                          - W
                          - E
                          - A
                          - I
                          - S
                        TEXT:
                          type: string
                          maxLength: 73
                          description: Message Text
                        ARBGB:
                          type: string
                          maxLength: 20
                          description: Application Area
                        TXTNR:
                          type: string
                          maxLength: 3
                          description: Message number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
