openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MEREP_WHERE_CL_CREATE1:
    post:
      tags:
      - MEREP_RUNTIME
      summary: Create WHERE Clause in a SELECT Statement
      operationId: /rfc/MEREP_WHERE_CL_CREATE1
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SELCRI:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name (In a Structure ID)
                      SIGN_GLOBAL:
                        type: string
                        maxLength: 1
                        description: 'Sign (Inclusive/Exclusive) for Selection Criteria  enumValues: I=Inclusive,E=Exclusive'
                        enum:
                        - I
                        - E
                      ANDFLAG:
                        type: string
                        maxLength: 1
                        description: 'And Flag  enumValues: ""=Not active / No,X=Active / Yes'
                        enum:
                        - ''
                        - X
                      SIGN_LOCAL:
                        type: string
                        maxLength: 1
                        description: 'Sign (Inclusive/Exclusive) for Selection Criteria  enumValues: I=Inclusive,E=Exclusive'
                        enum:
                        - I
                        - E
                      OPT:
                        type: string
                        maxLength: 2
                        description: 'Option for Selection Criteria  enumValues: LT=Less than,GE=Greater than or Equal to,GT=Greater than,NP=Not Contains pattern,NE=Not Equal to,NB=Not Between ... and ...,BT=BeTween ... and ...,CP=Contains pattern,EQ=EQual to,LE=Less than or Equal to'
                        enum:
                        - LT
                        - GE
                        - GT
                        - NP
                        - NE
                        - NB
                        - BT
                        - CP
                        - EQ
                        - LE
                      LOW:
                        type: string
                        maxLength: 30
                        description: Low Value (Selection Criteria)
                      HIGH:
                        type: string
                        maxLength: 30
                        description: High Value (Selection Criteria)
                      PARBEG:
                        type: integer
                        format: int64
                        description: 'Number of Parenthesises: Begin'
                      PAREND:
                        type: integer
                        format: int64
                        description: 'Number of Parenthesises: End'
                      MARK_LOW:
                        type: string
                        maxLength: 1
                        description: Character Field Length 1
                      MARK_HIGH:
                        type: string
                        maxLength: 1
                        description: Character Field Length 1
                WTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 72
                        description: 'EDIC: Program editor line'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SELCRI:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name (In a Structure ID)
                        SIGN_GLOBAL:
                          type: string
                          maxLength: 1
                          description: 'Sign (Inclusive/Exclusive) for Selection Criteria  enumValues: I=Inclusive,E=Exclusive'
                          enum:
                          - I
                          - E
                        ANDFLAG:
                          type: string
                          maxLength: 1
                          description: 'And Flag  enumValues: ""=Not active / No,X=Active / Yes'
                          enum:
                          - ''
                          - X
                        SIGN_LOCAL:
                          type: string
                          maxLength: 1
                          description: 'Sign (Inclusive/Exclusive) for Selection Criteria  enumValues: I=Inclusive,E=Exclusive'
                          enum:
                          - I
                          - E
                        OPT:
                          type: string
                          maxLength: 2
                          description: 'Option for Selection Criteria  enumValues: LT=Less than,GE=Greater than or Equal to,GT=Greater than,NP=Not Contains pattern,NE=Not Equal to,NB=Not Between ... and ...,BT=BeTween ... and ...,CP=Contains pattern,EQ=EQual to,LE=Less than or Equal to'
                          enum:
                          - LT
                          - GE
                          - GT
                          - NP
                          - NE
                          - NB
                          - BT
                          - CP
                          - EQ
                          - LE
                        LOW:
                          type: string
                          maxLength: 30
                          description: Low Value (Selection Criteria)
                        HIGH:
                          type: string
                          maxLength: 30
                          description: High Value (Selection Criteria)
                        PARBEG:
                          type: integer
                          format: int64
                          description: 'Number of Parenthesises: Begin'
                        PAREND:
                          type: integer
                          format: int64
                          description: 'Number of Parenthesises: End'
                        MARK_LOW:
                          type: string
                          maxLength: 1
                          description: Character Field Length 1
                        MARK_HIGH:
                          type: string
                          maxLength: 1
                          description: Character Field Length 1
                  WTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 72
                          description: 'EDIC: Program editor line'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
