openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_VARIANT_CONTENTS_RFC:
    post:
      tags:
      - SVAR_RFC
      operationId: /rfc/RS_VARIANT_CONTENTS_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EXECUTE_DIRECT:
                  type: string
                  default: ' '
                  maxLength: 1
                MOVE_OR_WRITE:
                  type: string
                  default: W
                  maxLength: 1
                REPORT:
                  type: string
                  maxLength: 40
                  description: Report Name
                VARIANT:
                  type: string
                  maxLength: 14
                  description: Variant Name
                FREE_SELECTIONS_DESC:
                  type: array
                  items:
                    type: object
                    properties:
                      TABLENAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      OLEN:
                        type: integer
                        format: int32
                        description: Internal ABAP System Field
                      SEL_TEXT:
                        type: string
                        maxLength: 30
                        description: Text (30 Characters)
                FREE_SELECTIONS_VALUE:
                  type: array
                  items:
                    type: object
                    properties:
                      TABLENAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'ABAP: ID: I/E (include/exclude values)'
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'ABAP: Selection option (EQ/BT/CP/...)'
                      LOW:
                        type: string
                        maxLength: 45
                        description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
                      HIGH:
                        type: string
                        maxLength: 45
                        description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
                L_PARAMS:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 8
                        description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                      KIND:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Type of selection'
                      OLEN:
                        type: integer
                        format: int32
                        description: 'ABAP: Output length of selection condition'
                      FROM:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
                      TO:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
                      PROTECTED:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Flag: Selection protected'
                      APPENDAGE:
                        type: string
                        maxLength: 1
                        description: 'ABAP/4: Flag for various purposes (selections)'
                      VNAME:
                        type: string
                        maxLength: 30
                        description: 'ABAP: Name of Variant Variable'
                      VTYPE:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Type of variant variable'
                      TEXT:
                        type: string
                        maxLength: 30
                        description: CHAR30 for SYST
                      INVISIBLE:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      SCREENNR:
                        type: string
                        maxLength: 4
                        description: Current Screen Number
                      NO_IMPORT:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      SPAGPA:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      OBLI:
                        type: string
                        maxLength: 1
                        description: Required Field
                      NOINT:
                        type: string
                        maxLength: 1
                        description: No intervals
                L_PARAMS_NONV:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 8
                        description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                      KIND:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Type of selection'
                      OLEN:
                        type: integer
                        format: int32
                        description: 'ABAP: Output length of selection condition'
                      FROM:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
                      TO:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
                      PROTECTED:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Flag: Selection protected'
                      APPENDAGE:
                        type: string
                        maxLength: 1
                        description: 'ABAP/4: Flag for various purposes (selections)'
                      VNAME:
                        type: string
                        maxLength: 30
                        description: 'ABAP: Name of Variant Variable'
                      VTYPE:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Type of variant variable'
                      TEXT:
                        type: string
                        maxLength: 30
                        description: CHAR30 for SYST
                      INVISIBLE:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      SCREENNR:
                        type: string
                        maxLength: 4
                        description: Current Screen Number
                      NO_IMPORT:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      SPAGPA:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      OBLI:
                        type: string
                        maxLength: 1
                        description: Required Field
                      NOINT:
                        type: string
                        maxLength: 1
                        description: No intervals
                L_SELOP:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 8
                        description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                      KIND:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Type of selection'
                      OLEN:
                        type: integer
                        format: int32
                        description: 'ABAP: Output length of selection condition'
                      FROM:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
                      TO:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
                      PROTECTED:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Flag: Selection protected'
                      APPENDAGE:
                        type: string
                        maxLength: 1
                        description: 'ABAP/4: Flag for various purposes (selections)'
                      VNAME:
                        type: string
                        maxLength: 30
                        description: 'ABAP: Name of Variant Variable'
                      VTYPE:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Type of variant variable'
                      TEXT:
                        type: string
                        maxLength: 30
                        description: CHAR30 for SYST
                      INVISIBLE:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      SCREENNR:
                        type: string
                        maxLength: 4
                        description: Current Screen Number
                      NO_IMPORT:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      SPAGPA:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      OBLI:
                        type: string
                        maxLength: 1
                        description: Required Field
                      NOINT:
                        type: string
                        maxLength: 1
                        description: No intervals
                L_SELOP_NONV:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 8
                        description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                      KIND:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Type of selection'
                      OLEN:
                        type: integer
                        format: int32
                        description: 'ABAP: Output length of selection condition'
                      FROM:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
                      TO:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
                      PROTECTED:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Flag: Selection protected'
                      APPENDAGE:
                        type: string
                        maxLength: 1
                        description: 'ABAP/4: Flag for various purposes (selections)'
                      VNAME:
                        type: string
                        maxLength: 30
                        description: 'ABAP: Name of Variant Variable'
                      VTYPE:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Type of variant variable'
                      TEXT:
                        type: string
                        maxLength: 30
                        description: CHAR30 for SYST
                      INVISIBLE:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      SCREENNR:
                        type: string
                        maxLength: 4
                        description: Current Screen Number
                      NO_IMPORT:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      SPAGPA:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      OBLI:
                        type: string
                        maxLength: 1
                        description: Required Field
                      NOINT:
                        type: string
                        maxLength: 1
                        description: No intervals
                OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 8
                        description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                      KIND:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Type of selection'
                      OLEN:
                        type: integer
                        format: int32
                        description: 'ABAP: Output length of selection condition'
                      FROM:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
                      TO:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
                      PROTECTED:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Flag: Selection protected'
                      APPENDAGE:
                        type: string
                        maxLength: 1
                        description: 'ABAP/4: Flag for various purposes (selections)'
                      VNAME:
                        type: string
                        maxLength: 30
                        description: 'ABAP: Name of Variant Variable'
                      VTYPE:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Type of variant variable'
                      TEXT:
                        type: string
                        maxLength: 30
                        description: CHAR30 for SYST
                      INVISIBLE:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      SCREENNR:
                        type: string
                        maxLength: 4
                        description: Current Screen Number
                      NO_IMPORT:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      SPAGPA:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      OBLI:
                        type: string
                        maxLength: 1
                        description: Required Field
                      NOINT:
                        type: string
                        maxLength: 1
                        description: No intervals
                VALUTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      SELNAME:
                        type: string
                        maxLength: 8
                        description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                      KIND:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Type of selection'
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'ABAP: ID: I/E (include/exclude values)'
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'ABAP: Selection option (EQ/BT/CP/...)'
                      LOW:
                        type: string
                        maxLength: 45
                        description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
                      HIGH:
                        type: string
                        maxLength: 45
                        description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
              required:
              - REPORT
              - VARIANT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  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
                  FREE_SELECTIONS_DESC:
                    type: array
                    items:
                      type: object
                      properties:
                        TABLENAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        OLEN:
                          type: integer
                          format: int32
                          description: Internal ABAP System Field
                        SEL_TEXT:
                          type: string
                          maxLength: 30
                          description: Text (30 Characters)
                  FREE_SELECTIONS_VALUE:
                    type: array
                    items:
                      type: object
                      properties:
                        TABLENAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'ABAP: ID: I/E (include/exclude values)'
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'ABAP: Selection option (EQ/BT/CP/...)'
                        LOW:
                          type: string
                          maxLength: 45
                          description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
                        HIGH:
                          type: string
                          maxLength: 45
                          description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
                  L_PARAMS:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 8
                          description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                        KIND:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Type of selection'
                        OLEN:
                          type: integer
                          format: int32
                          description: 'ABAP: Output length of selection condition'
                        FROM:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
                        TO:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
                        PROTECTED:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Flag: Selection protected'
                        APPENDAGE:
                          type: string
                          maxLength: 1
                          description: 'ABAP/4: Flag for various purposes (selections)'
                        VNAME:
                          type: string
                          maxLength: 30
                          description: 'ABAP: Name of Variant Variable'
                        VTYPE:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Type of variant variable'
                        TEXT:
                          type: string
                          maxLength: 30
                          description: CHAR30 for SYST
                        INVISIBLE:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        SCREENNR:
                          type: string
                          maxLength: 4
                          description: Current Screen Number
                        NO_IMPORT:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        SPAGPA:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        OBLI:
                          type: string
                          maxLength: 1
                          description: Required Field
                        NOINT:
                          type: string
                          maxLength: 1
                          description: No intervals
                  L_PARAMS_NONV:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 8
                          description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                        KIND:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Type of selection'
                        OLEN:
                          type: integer
                          format: int32
                          description: 'ABAP: Output length of selection condition'
                        FROM:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
                        TO:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
                        PROTECTED:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Flag: Selection protected'
                        APPENDAGE:
                          type: string
                          maxLength: 1
                          description: 'ABAP/4: Flag for various purposes (selections)'
                        VNAME:
                          type: string
                          maxLength: 30
                          description: 'ABAP: Name of Variant Variable'
                        VTYPE:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Type of variant variable'
                        TEXT:
                          type: string
                          maxLength: 30
                          description: CHAR30 for SYST
                        INVISIBLE:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        SCREENNR:
                          type: string
                          maxLength: 4
                          description: Current Screen Number
                        NO_IMPORT:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        SPAGPA:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        OBLI:
                          type: string
                          maxLength: 1
                          description: Required Field
                        NOINT:
                          type: string
                          maxLength: 1
                          description: No intervals
                  L_SELOP:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 8
                          description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                        KIND:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Type of selection'
                        OLEN:
                          type: integer
                          format: int32
                          description: 'ABAP: Output length of selection condition'
                        FROM:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
                        TO:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
                        PROTECTED:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Flag: Selection protected'
                        APPENDAGE:
                          type: string
                          maxLength: 1
                          description: 'ABAP/4: Flag for various purposes (selections)'
                        VNAME:
                          type: string
                          maxLength: 30
                          description: 'ABAP: Name of Variant Variable'
                        VTYPE:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Type of variant variable'
                        TEXT:
                          type: string
                          maxLength: 30
                          description: CHAR30 for SYST
                        INVISIBLE:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        SCREENNR:
                          type: string
                          maxLength: 4
                          description: Current Screen Number
                        NO_IMPORT:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        SPAGPA:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        OBLI:
                          type: string
                          maxLength: 1
                          description: Required Field
                        NOINT:
                          type: string
                          maxLength: 1
                          description: No intervals
                  L_SELOP_NONV:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 8
                          description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                        KIND:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Type of selection'
                        OLEN:
                          type: integer
                          format: int32
                          description: 'ABAP: Output length of selection condition'
                        FROM:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
                        TO:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
                        PROTECTED:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Flag: Selection protected'
                        APPENDAGE:
                          type: string
                          maxLength: 1
                          description: 'ABAP/4: Flag for various purposes (selections)'
                        VNAME:
                          type: string
                          maxLength: 30
                          description: 'ABAP: Name of Variant Variable'
                        VTYPE:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Type of variant variable'
                        TEXT:
                          type: string
                          maxLength: 30
                          description: CHAR30 for SYST
                        INVISIBLE:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        SCREENNR:
                          type: string
                          maxLength: 4
                          description: Current Screen Number
                        NO_IMPORT:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        SPAGPA:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        OBLI:
                          type: string
                          maxLength: 1
                          description: Required Field
                        NOINT:
                          type: string
                          maxLength: 1
                          description: No intervals
                  OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 8
                          description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                        KIND:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Type of selection'
                        OLEN:
                          type: integer
                          format: int32
                          description: 'ABAP: Output length of selection condition'
                        FROM:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
                        TO:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
                        PROTECTED:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Flag: Selection protected'
                        APPENDAGE:
                          type: string
                          maxLength: 1
                          description: 'ABAP/4: Flag for various purposes (selections)'
                        VNAME:
                          type: string
                          maxLength: 30
                          description: 'ABAP: Name of Variant Variable'
                        VTYPE:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Type of variant variable'
                        TEXT:
                          type: string
                          maxLength: 30
                          description: CHAR30 for SYST
                        INVISIBLE:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        SCREENNR:
                          type: string
                          maxLength: 4
                          description: Current Screen Number
                        NO_IMPORT:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        SPAGPA:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        OBLI:
                          type: string
                          maxLength: 1
                          description: Required Field
                        NOINT:
                          type: string
                          maxLength: 1
                          description: No intervals
                  VALUTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        SELNAME:
                          type: string
                          maxLength: 8
                          description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                        KIND:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Type of selection'
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'ABAP: ID: I/E (include/exclude values)'
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'ABAP: Selection option (EQ/BT/CP/...)'
                        LOW:
                          type: string
                          maxLength: 45
                          description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
                        HIGH:
                          type: string
                          maxLength: 45
                          description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
