openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ECATT_REPOSITORY_F4:
    post:
      tags:
      - ECATT_REPOSITORY
      operationId: /rfc/ECATT_REPOSITORY_F4
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_DISPLAY_ONLY:
                  type: string
                  default: ' '
                  maxLength: 1
                IM_ENCLOSING_OBJECT:
                  type: string
                  maxLength: 40
                IM_MULTIPLE_SELECTION:
                  type: string
                  default: ' '
                  maxLength: 1
                IM_OBJECT_NAME:
                  type: string
                  maxLength: 40
                IM_OBJECT_TYPE:
                  type: string
                  maxLength: 15
                  description: 'Workbench: Internal type (w/o directory)'
                IM_SELSCREEN_VARIANT:
                  type: string
                  default: SAP&STANDARD
                  maxLength: 14
                  description: Variant Name for Selection Screen
                IM_SUPPRESS_SELECTION:
                  type: string
                  default: ' '
                  maxLength: 1
                OBJECTS_SELECTED:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJ_NAME:
                        type: string
                        maxLength: 30
                        description: Name of ABAP/4 Development Workbench object
                      ENCL_OBJ:
                        type: string
                        maxLength: 30
                        description: Name of ABAP/4 Development Workbench object
                RECORD_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      STRING:
                        type: string
                        maxLength: 1000
                        description: Text of length 1000
                      DUMMY:
                        type: number
                        description: Ensures maximum alignment of STRING field
                      PACK_NO:
                        type: integer
                        format: int64
                        description: Number of Package
                      PACK_KIND:
                        type: string
                        maxLength: 1
                        description: 'Type of Package for Hit List Display  enumValues: H=Historical Values,I=Valid number range,P=Personal Values'
                        enum:
                        - H
                        - I
                        - P
              required:
              - IM_OBJECT_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EX_ANSWER:
                    type: string
                    maxLength: 1
                  EX_ENCLOSING_OBJECT:
                    type: string
                    maxLength: 40
                  EX_OBJECT_NAME:
                    type: string
                    maxLength: 40
                  OBJECTS_SELECTED:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJ_NAME:
                          type: string
                          maxLength: 30
                          description: Name of ABAP/4 Development Workbench object
                        ENCL_OBJ:
                          type: string
                          maxLength: 30
                          description: Name of ABAP/4 Development Workbench object
                  RECORD_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        STRING:
                          type: string
                          maxLength: 1000
                          description: Text of length 1000
                        DUMMY:
                          type: number
                          description: Ensures maximum alignment of STRING field
                        PACK_NO:
                          type: integer
                          format: int64
                          description: Number of Package
                        PACK_KIND:
                          type: string
                          maxLength: 1
                          description: 'Type of Package for Hit List Display  enumValues: H=Historical Values,I=Valid number range,P=Personal Values'
                          enum:
                          - H
                          - I
                          - P
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
