openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSCRM_REPORT_VARIABLE_F4:
    post:
      tags:
      - RSCRM_F4
      operationId: /rfc/RSCRM_REPORT_VARIABLE_F4
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_REPORTUID:
                  type: string
                  maxLength: 72
                I_VARIANT:
                  type: string
                  maxLength: 14
                ET_VARIABLEVALUE:
                  type: array
                  items:
                    type: object
                    properties:
                      VARIABLENAME:
                        type: string
                        maxLength: 8
                        description: Variable Name
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Inclusion/exclusion criterion SIGN for range tables
                      OPT:
                        type: string
                        maxLength: 2
                        description: Selection operator OPTION for range tables
                      LOW:
                        type: string
                        maxLength: 64
                        description: Member Name
                      HIGH:
                        type: string
                        maxLength: 64
                        description: Member Name
                E_T_CRMVARSEL:
                  type: array
                  items:
                    type: object
                    properties:
                      VAR_NAM:
                        type: string
                        maxLength: 8
                        description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                      VARSIGN:
                        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
                      VAROPTION:
                        type: string
                        maxLength: 2
                        description: 'OPTION field in structure of SELECT-OPTIONS tables  enumValues: EQ=Equal: Single value,LT=Less Than: Everything < value in field LOW,NE=Not Equal: Everything apart from the specified single value,GT=Greater Than: Everything > value in field LOW,NP=Not Contains Pattern: Masked input: Reject pattern,NB=Not Between: Everything outside the range,CP=Contains Pattern: Masked input: Find pattern,LE=Less or Equal: Everything <= value in field LOW,GE=Greater or Equal >=
                          value in field LOW,BT=Between: Range of values'
                        enum:
                        - EQ
                        - LT
                        - NE
                        - GT
                        - NP
                        - NB
                        - CP
                        - LE
                        - GE
                        - BT
                      VARLOW:
                        type: string
                        maxLength: 64
                        description: Member Name
                      VARHIGH:
                        type: string
                        maxLength: 64
                        description: Member Name
                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_CRMVARSEL:
                  type: array
                  items:
                    type: object
                    properties:
                      VAR_NAM:
                        type: string
                        maxLength: 8
                        description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                      VARSIGN:
                        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
                      VAROPTION:
                        type: string
                        maxLength: 2
                        description: 'OPTION field in structure of SELECT-OPTIONS tables  enumValues: EQ=Equal: Single value,LT=Less Than: Everything < value in field LOW,NE=Not Equal: Everything apart from the specified single value,GT=Greater Than: Everything > value in field LOW,NP=Not Contains Pattern: Masked input: Reject pattern,NB=Not Between: Everything outside the range,CP=Contains Pattern: Masked input: Find pattern,LE=Less or Equal: Everything <= value in field LOW,GE=Greater or Equal >=
                          value in field LOW,BT=Between: Range of values'
                        enum:
                        - EQ
                        - LT
                        - NE
                        - GT
                        - NP
                        - NB
                        - CP
                        - LE
                        - GE
                        - BT
                      VARLOW:
                        type: string
                        maxLength: 64
                        description: Member Name
                      VARHIGH:
                        type: string
                        maxLength: 64
                        description: Member Name
              required:
              - I_REPORTUID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_HAS_NO_VARIABLES:
                    type: string
                    maxLength: 1
                  ET_VARIABLEVALUE:
                    type: array
                    items:
                      type: object
                      properties:
                        VARIABLENAME:
                          type: string
                          maxLength: 8
                          description: Variable Name
                        SIGN:
                          type: string
                          maxLength: 1
                          description: Inclusion/exclusion criterion SIGN for range tables
                        OPT:
                          type: string
                          maxLength: 2
                          description: Selection operator OPTION for range tables
                        LOW:
                          type: string
                          maxLength: 64
                          description: Member Name
                        HIGH:
                          type: string
                          maxLength: 64
                          description: Member Name
                  E_T_CRMVARSEL:
                    type: array
                    items:
                      type: object
                      properties:
                        VAR_NAM:
                          type: string
                          maxLength: 8
                          description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                        VARSIGN:
                          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
                        VAROPTION:
                          type: string
                          maxLength: 2
                          description: 'OPTION field in structure of SELECT-OPTIONS tables  enumValues: EQ=Equal: Single value,LT=Less Than: Everything < value in field LOW,NE=Not Equal: Everything apart from the specified single value,GT=Greater Than: Everything > value in field LOW,NP=Not Contains Pattern: Masked input: Reject pattern,NB=Not Between: Everything outside the range,CP=Contains Pattern: Masked input: Find pattern,LE=Less or Equal: Everything <= value in field LOW,GE=Greater or Equal
                            >= value in field LOW,BT=Between: Range of values'
                          enum:
                          - EQ
                          - LT
                          - NE
                          - GT
                          - NP
                          - NB
                          - CP
                          - LE
                          - GE
                          - BT
                        VARLOW:
                          type: string
                          maxLength: 64
                          description: Member Name
                        VARHIGH:
                          type: string
                          maxLength: 64
                          description: Member Name
                  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_CRMVARSEL:
                    type: array
                    items:
                      type: object
                      properties:
                        VAR_NAM:
                          type: string
                          maxLength: 8
                          description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                        VARSIGN:
                          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
                        VAROPTION:
                          type: string
                          maxLength: 2
                          description: 'OPTION field in structure of SELECT-OPTIONS tables  enumValues: EQ=Equal: Single value,LT=Less Than: Everything < value in field LOW,NE=Not Equal: Everything apart from the specified single value,GT=Greater Than: Everything > value in field LOW,NP=Not Contains Pattern: Masked input: Reject pattern,NB=Not Between: Everything outside the range,CP=Contains Pattern: Masked input: Find pattern,LE=Less or Equal: Everything <= value in field LOW,GE=Greater or Equal
                            >= value in field LOW,BT=Between: Range of values'
                          enum:
                          - EQ
                          - LT
                          - NE
                          - GT
                          - NP
                          - NB
                          - CP
                          - LE
                          - GE
                          - BT
                        VARLOW:
                          type: string
                          maxLength: 64
                          description: Member Name
                        VARHIGH:
                          type: string
                          maxLength: 64
                          description: Member Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
