openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSAP_REMOTE_F4:
    post:
      tags:
      - RSAP
      operationId: /rfc/RSAP_REMOTE_F4
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CHABASNM:
                  type: string
                  maxLength: 30
                  description: Basic characteristic
                I_LANGU:
                  type: string
                  maxLength: 1
                  description: Language vector
                E_T_TEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      COMKEY:
                        type: string
                        maxLength: 32
                        description: Intransparent key (compound characteristic)
                      DATETO:
                        type: string
                        format: date
                        description: Valid-to date
                      DATEFROM:
                        type: string
                        format: date
                        description: Valid-From Date
                      TXTSH:
                        type: string
                        maxLength: 20
                        description: Short description
                      TXTMD:
                        type: string
                        maxLength: 40
                        description: Medium description
                      TXTLG:
                        type: string
                        maxLength: 60
                        description: Long description
                I_T_SELECT:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELDNM:
                        type: string
                        maxLength: 30
                        description: Field name
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'Selection criteria: SIGN'
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'Selection criteria: OPTION'
                      LOW:
                        type: string
                        maxLength: 45
                        description: 'Selection criteria: From value'
                      HIGH:
                        type: string
                        maxLength: 45
                        description: 'Selection criteria: To value'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_T_TEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        COMKEY:
                          type: string
                          maxLength: 32
                          description: Intransparent key (compound characteristic)
                        DATETO:
                          type: string
                          format: date
                          description: Valid-to date
                        DATEFROM:
                          type: string
                          format: date
                          description: Valid-From Date
                        TXTSH:
                          type: string
                          maxLength: 20
                          description: Short description
                        TXTMD:
                          type: string
                          maxLength: 40
                          description: Medium description
                        TXTLG:
                          type: string
                          maxLength: 60
                          description: Long description
                  I_T_SELECT:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELDNM:
                          type: string
                          maxLength: 30
                          description: Field name
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'Selection criteria: SIGN'
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'Selection criteria: OPTION'
                        LOW:
                          type: string
                          maxLength: 45
                          description: 'Selection criteria: From value'
                        HIGH:
                          type: string
                          maxLength: 45
                          description: 'Selection criteria: To value'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
