openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/_SCRM_ACCESS_REMOTE_TABLE:
    post:
      tags:
      - SCRM_REPLICATION
      operationId: /rfc/_SCRM_ACCESS_REMOTE_TABLE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_SELECTION_CONDITIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      TABLENAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      LOGOP:
                        type: string
                        maxLength: 3
                        description: Logical operation
                      ARITY:
                        type: integer
                        format: int32
                        description: Priority of logical operation
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      SEL_OPTION:
                        type: string
                        maxLength: 2
                        description: 'ABAP: Selection option (EQ/BT/CP/...)'
                      SEL_LOW:
                        type: string
                        maxLength: 60
                        description: 'Check Results Management: Character-Like Selection Value'
                      SEL_HIGH:
                        type: string
                        maxLength: 60
                        description: 'Check Results Management: Character-Like Selection Value'
                IM_TABLE_NAME:
                  type: string
                  maxLength: 30
              required:
              - IM_SELECTION_CONDITIONS
              - IM_TABLE_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SERIALIZED_TABLE:
                    type: array
                    items:
                      type: string
                      format: byte
                      description: Serialized Data (Export or Call Transformation)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
