openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_PERS_VAR_WRITE_RFC:
    post:
      tags:
      - RS_PERS_VAR
      operationId: /rfc/RS_PERS_VAR_WRITE_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_THX_VAR_BUF:
                  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
                      OBJNM:
                        type: string
                        maxLength: 60
                        description: 'Dim: Field for a User-Defined Characteristic Value'
                      RANGE:
                        type: array
                        items:
                          type: object
                          properties:
                            SIGN:
                              type: string
                              maxLength: 1
                              description: SIGN field in creation of SELECT-OPTIONS tables
                            OPT:
                              type: string
                              maxLength: 2
                              description: Operator in Select Options and other Expressions
                            LOW:
                              type: string
                              maxLength: 60
                              description: 'Dim: Field for a User-Defined Characteristic Value'
                            HIGH:
                              type: string
                              maxLength: 60
                              description: 'Dim: Field for a User-Defined Characteristic Value'
                            SIDLOW:
                              type: integer
                              format: int32
                              description: Master data ID
                            SIDHIGH:
                              type: integer
                              format: int32
                              description: Master data ID
                            LOWFLAG:
                              type: integer
                              format: int64
                              description: Flag for 'typing' an entry
                            HIGHFLAG:
                              type: integer
                              format: int64
                              description: Flag for 'typing' an entry
                            KEYFL:
                              type: string
                              maxLength: 1
                              description: Select according to key
              required:
              - I_THX_VAR_BUF
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
