openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_SCRP_GF_RDOCU:
    post:
      tags:
      - SCR1
      summary: 'Graphical Screen Painter: Request Documentation About a Data Element'
      operationId: /rfc/RS_SCRP_GF_RDOCU
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DATAELEMENT:
                  type: string
                  maxLength: 30
                  description: Data element name
                DE_SUPPLEMENT:
                  type: string
                  default: ' '
                  maxLength: 4
                  description: Data element supplement
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language
                DOCU:
                  type: array
                  items:
                    type: object
                    properties:
                      NR:
                        type: string
                        maxLength: 3
                        description: CHAR3 in Screen Painter
                      TEXT:
                        type: string
                        maxLength: 73
                        description: CHAR73 in Screen Painter
              required:
              - DATAELEMENT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DOCU:
                    type: array
                    items:
                      type: object
                      properties:
                        NR:
                          type: string
                          maxLength: 3
                          description: CHAR3 in Screen Painter
                        TEXT:
                          type: string
                          maxLength: 73
                          description: CHAR73 in Screen Painter
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
