openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPRT_DR_GET_OBJECT_FIELDS:
    post:
      tags:
      - SPRT
      operationId: /rfc/SPRT_DR_GET_OBJECT_FIELDS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJECTTYPE:
                  type: string
                  maxLength: 10
                FIELDS:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELDNAME:
                        type: string
                        maxLength: 70
                        description: Concatenated Field Name for Drag&Relate Detail Data
                      INTLENGTH:
                        type: integer
                        format: int32
                        description: 'Drag&Relate: Field Length (Internal Display)'
                QUERY_FIELDS:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELDNAME:
                        type: string
                        maxLength: 70
                        description: Concatenated Field Name for Drag&Relate Detail Data
                      INTLENGTH:
                        type: integer
                        format: int32
                        description: 'Drag&Relate: Field Length (Internal Display)'
              required:
              - OBJECTTYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FIELDS:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELDNAME:
                          type: string
                          maxLength: 70
                          description: Concatenated Field Name for Drag&Relate Detail Data
                        INTLENGTH:
                          type: integer
                          format: int32
                          description: 'Drag&Relate: Field Length (Internal Display)'
                  QUERY_FIELDS:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELDNAME:
                          type: string
                          maxLength: 70
                          description: Concatenated Field Name for Drag&Relate Detail Data
                        INTLENGTH:
                          type: integer
                          format: int32
                          description: 'Drag&Relate: Field Length (Internal Display)'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
