openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DD_CHECK_NAME:
    post:
      tags:
      - SDAP
      summary: Check dictionary object name for correctness
      operationId: /rfc/DD_CHECK_NAME
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTIVE_ONLY:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'X: object should not be newly created'
                NAME:
                  type: string
                  maxLength: 30
                  description: Object name
                NAME2:
                  type: string
                  default: ' '
                  maxLength: 3
                  description: Name enhancement; for example index ID
                NO_CREATE_CHECK:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'X: object should not be newly created'
                NO_EXI_CHECK:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'X: Do not check existence of object'
                OBJTYP:
                  type: string
                  maxLength: 4
                  description: Type of object; for example DOMA, DTEL, TABL and so on
                SUBTYP:
                  type: string
                  default: ' '
                  maxLength: 8
                  description: Subtype, e.g. table class or view type
              required:
              - NAME
              - OBJTYP
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MSG_FLAG:
                    type: string
                    maxLength: 1
                    description: There is a message in SY-MSGNO etc.
                  OBJ_EXISTS:
                    type: string
                    maxLength: 1
                    description: The object already exists
                  SAA_CONFLICT:
                    type: string
                    maxLength: 1
                    description: 'X: Name not allowed'
                  TYP_CONFLICT:
                    type: string
                    maxLength: 4
                    description: Type of an object which already exists
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
