openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_TOOL_ACCESS_REMOTE:
    post:
      tags:
      - SEAP
      operationId: /rfc/RS_TOOL_ACCESS_REMOTE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DEVCLASS:
                  type: string
                  maxLength: 30
                  description: Package
                ENCLOSING_OBJECT:
                  type: string
                  maxLength: 40
                  description: Program Name
                INCLUDE:
                  type: string
                  maxLength: 40
                  description: Include
                MONITOR_ACTIVATION:
                  type: string
                  default: X
                  maxLength: 1
                OBJECT_NAME:
                  type: string
                  maxLength: 120
                  description: Object Name
                OBJECT_TYPE:
                  type: string
                  maxLength: 15
                  description: Object Type
                OPERATION:
                  type: string
                  maxLength: 30
                  description: Operation
                POSITION:
                  type: string
                  default: ' '
                  maxLength: 30
                  description: Position
                OBJLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJ_NAME:
                        type: string
                        maxLength: 120
                        description: 'ABAP Workbench: LIMU Name'
                      OBJ_TYPE:
                        type: string
                        maxLength: 15
                        description: Object type
                      ENCL_OBJ:
                        type: string
                        maxLength: 70
                        description: Name of Container Object
                      POSITION:
                        type: string
                        maxLength: 30
                        description: Name of ABAP/4 Development Workbench object
                      INCLUDE:
                        type: string
                        maxLength: 40
                        description: 'ABAP Program: Current Main Program'
                      VERSION:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
              required:
              - OPERATION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NEW_NAME:
                    type: string
                    maxLength: 120
                    description: New Program Name (After Rename)
                  OBJLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJ_NAME:
                          type: string
                          maxLength: 120
                          description: 'ABAP Workbench: LIMU Name'
                        OBJ_TYPE:
                          type: string
                          maxLength: 15
                          description: Object type
                        ENCL_OBJ:
                          type: string
                          maxLength: 70
                          description: Name of Container Object
                        POSITION:
                          type: string
                          maxLength: 30
                          description: Name of ABAP/4 Development Workbench object
                        INCLUDE:
                          type: string
                          maxLength: 40
                          description: 'ABAP Program: Current Main Program'
                        VERSION:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
