openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_SCRP_GF_RHELPGETTEXT:
    post:
      tags:
      - SCR1
      operationId: /rfc/RS_SCRP_GF_RHELPGETTEXT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DOCUCLASS:
                  type: string
                  maxLength: 2
                DOCUNAME:
                  type: string
                  maxLength: 60
                DOCUTITLE:
                  type: string
                  default: ' '
                  maxLength: 60
                MSGARG1:
                  type: string
                  default: ' '
                  maxLength: 60
                MSGARG2:
                  type: string
                  default: ' '
                  maxLength: 60
                MSGARG3:
                  type: string
                  default: ' '
                  maxLength: 60
                MSGARG4:
                  type: string
                  default: ' '
                  maxLength: 60
                USAGE:
                  type: string
                  default: S
                  maxLength: 1
                DOCUTEXT:
                  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:
              - DOCUCLASS
              - DOCUNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DOCUTEXT:
                    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.
