openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSR_VAR_PERS_VAR_GET:
    post:
      tags:
      - RSR_VARIABLES
      operationId: /rfc/RSR_VAR_PERS_VAR_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                E_T_PERS_VALUE:
                  type: array
                  items:
                    type: object
                    properties:
                      VNAM:
                        type: string
                        maxLength: 30
                        description: Name (ID) of a Report Variable
                      PERSTYPE:
                        type: string
                        maxLength: 1
                        description: 'Describes How Variables Were Personalized  enumValues: ""=Not Personalized,Q=Query,V=Variable (Global),T=Template'
                        enum:
                        - ''
                        - Q
                        - V
                        - T
                      OBJNM:
                        type: string
                        maxLength: 60
                        description: 'Dim: Field for a User-Defined Characteristic Value'
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'SIGN field in creation of SELECT-OPTIONS tables  enumValues: E=Exclude specified values,I=Select specified values'
                        enum:
                        - E
                        - I
                      OPT:
                        type: string
                        maxLength: 2
                        description: 'Operator in Select Options and other Expressions  enumValues: BT=Between: Range of Values,EQ=Equal: Single Value,LE=Less or Equal: Everything <= Value in Field LOW,CP=Contains Pattern: Masked Input: Find Pattern,NB=Not Between: Everything Outside the Range,GE=Greater or Equal: Everything >= Value in Field LOW,NP=Not Contains Pattern: Masked Input: Reject Pattern,NE=Not Equal: Everything Apart from the Specified Single Value,GT=Greater Than: Everything > Value
                          in Field LOW,LT=Less Than: Everything < Value in Field LOW'
                        enum:
                        - BT
                        - EQ
                        - LE
                        - CP
                        - NB
                        - GE
                        - NP
                        - NE
                        - GT
                        - LT
                      LOW:
                        type: string
                        maxLength: 60
                        description: 'Dim: Field for a User-Defined Characteristic Value'
                      LOW_EXT:
                        type: string
                        maxLength: 70
                        description: Field for any characteristic value (external display)
                      HIGH:
                        type: string
                        maxLength: 60
                        description: 'Dim: Field for a User-Defined Characteristic Value'
                      HIGH_EXT:
                        type: string
                        maxLength: 70
                        description: Field for any characteristic value (external display)
                      LOWFLAG:
                        type: integer
                        format: int64
                        description: 'Flag for ''typing'' an entry  enumValues: 0=Blank,5=Constant,2=CIN link,4=InfoObject,1=Value,3=Variable CIN,6=Exit variable name (screen filter)'
                        enum:
                        - '0'
                        - '5'
                        - '2'
                        - '4'
                        - '1'
                        - '3'
                        - '6'
                      HIGHFLAG:
                        type: integer
                        format: int64
                        description: 'Flag for ''typing'' an entry  enumValues: 0=Blank,5=Constant,2=CIN link,4=InfoObject,1=Value,3=Variable CIN,6=Exit variable name (screen filter)'
                        enum:
                        - '0'
                        - '5'
                        - '2'
                        - '4'
                        - '1'
                        - '3'
                        - '6'
                      LOWTXTLG:
                        type: string
                        maxLength: 60
                        description: Long description
                      HIGHTXTLG:
                        type: string
                        maxLength: 60
                        description: Long description
                      KEYFL:
                        type: string
                        maxLength: 1
                        description: Select according to key
                E_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
                      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
                I_T_PERS_VAR:
                  type: array
                  items:
                    type: object
                    properties:
                      VNAM:
                        type: string
                        maxLength: 30
                        description: Name (ID) of a Report Variable
                      PERSTYPE:
                        type: string
                        maxLength: 1
                        description: 'Describes How Variables Were Personalized  enumValues: ""=Not Personalized,Q=Query,V=Variable (Global),T=Template'
                        enum:
                        - ''
                        - Q
                        - V
                        - T
                      OBJNM:
                        type: string
                        maxLength: 60
                        description: 'Dim: Field for a User-Defined Characteristic Value'
                      PERSON:
                        type: string
                        maxLength: 30
                        description: Name (ID) of a Report Variable for Personalization
                      IOBJNM:
                        type: string
                        maxLength: 30
                        description: InfoObject
                      QUERY:
                        type: string
                        maxLength: 25
                        description: UUID in compressed form
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_T_PERS_VALUE:
                    type: array
                    items:
                      type: object
                      properties:
                        VNAM:
                          type: string
                          maxLength: 30
                          description: Name (ID) of a Report Variable
                        PERSTYPE:
                          type: string
                          maxLength: 1
                          description: 'Describes How Variables Were Personalized  enumValues: ""=Not Personalized,Q=Query,V=Variable (Global),T=Template'
                          enum:
                          - ''
                          - Q
                          - V
                          - T
                        OBJNM:
                          type: string
                          maxLength: 60
                          description: 'Dim: Field for a User-Defined Characteristic Value'
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'SIGN field in creation of SELECT-OPTIONS tables  enumValues: E=Exclude specified values,I=Select specified values'
                          enum:
                          - E
                          - I
                        OPT:
                          type: string
                          maxLength: 2
                          description: 'Operator in Select Options and other Expressions  enumValues: BT=Between: Range of Values,EQ=Equal: Single Value,LE=Less or Equal: Everything <= Value in Field LOW,CP=Contains Pattern: Masked Input: Find Pattern,NB=Not Between: Everything Outside the Range,GE=Greater or Equal: Everything >= Value in Field LOW,NP=Not Contains Pattern: Masked Input: Reject Pattern,NE=Not Equal: Everything Apart from the Specified Single Value,GT=Greater Than: Everything > Value
                            in Field LOW,LT=Less Than: Everything < Value in Field LOW'
                          enum:
                          - BT
                          - EQ
                          - LE
                          - CP
                          - NB
                          - GE
                          - NP
                          - NE
                          - GT
                          - LT
                        LOW:
                          type: string
                          maxLength: 60
                          description: 'Dim: Field for a User-Defined Characteristic Value'
                        LOW_EXT:
                          type: string
                          maxLength: 70
                          description: Field for any characteristic value (external display)
                        HIGH:
                          type: string
                          maxLength: 60
                          description: 'Dim: Field for a User-Defined Characteristic Value'
                        HIGH_EXT:
                          type: string
                          maxLength: 70
                          description: Field for any characteristic value (external display)
                        LOWFLAG:
                          type: integer
                          format: int64
                          description: 'Flag for ''typing'' an entry  enumValues: 0=Blank,5=Constant,2=CIN link,4=InfoObject,1=Value,3=Variable CIN,6=Exit variable name (screen filter)'
                          enum:
                          - '0'
                          - '5'
                          - '2'
                          - '4'
                          - '1'
                          - '3'
                          - '6'
                        HIGHFLAG:
                          type: integer
                          format: int64
                          description: 'Flag for ''typing'' an entry  enumValues: 0=Blank,5=Constant,2=CIN link,4=InfoObject,1=Value,3=Variable CIN,6=Exit variable name (screen filter)'
                          enum:
                          - '0'
                          - '5'
                          - '2'
                          - '4'
                          - '1'
                          - '3'
                          - '6'
                        LOWTXTLG:
                          type: string
                          maxLength: 60
                          description: Long description
                        HIGHTXTLG:
                          type: string
                          maxLength: 60
                          description: Long description
                        KEYFL:
                          type: string
                          maxLength: 1
                          description: Select according to key
                  E_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
                        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
                  I_T_PERS_VAR:
                    type: array
                    items:
                      type: object
                      properties:
                        VNAM:
                          type: string
                          maxLength: 30
                          description: Name (ID) of a Report Variable
                        PERSTYPE:
                          type: string
                          maxLength: 1
                          description: 'Describes How Variables Were Personalized  enumValues: ""=Not Personalized,Q=Query,V=Variable (Global),T=Template'
                          enum:
                          - ''
                          - Q
                          - V
                          - T
                        OBJNM:
                          type: string
                          maxLength: 60
                          description: 'Dim: Field for a User-Defined Characteristic Value'
                        PERSON:
                          type: string
                          maxLength: 30
                          description: Name (ID) of a Report Variable for Personalization
                        IOBJNM:
                          type: string
                          maxLength: 30
                          description: InfoObject
                        QUERY:
                          type: string
                          maxLength: 25
                          description: UUID in compressed form
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
