openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_SCRP_GR_TEXT:
    post:
      tags:
      - SEUS
      summary: 'Screen Painter: RFC for getting a text table section'
      operationId: /rfc/RS_SCRP_GR_TEXT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CODE:
                  type: string
                  maxLength: 16
                  description: 'Text type: ''RTexts'',''RMessages'',''RDocu'''
                FIRST:
                  type: integer
                  format: int32
                  description: Index start tab extract or documentation number
                LAST:
                  type: integer
                  format: int32
                  description: Index at end of tab extract
                MFIELD:
                  type: array
                  items:
                    type: object
                    properties:
                      NR:
                        type: string
                        maxLength: 5
                        description: Number key for text tables
                      TEXT:
                        type: string
                        maxLength: 77
                        description: Text field of text tables
              required:
              - CODE
              - FIRST
              - LAST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MFIELD:
                    type: array
                    items:
                      type: object
                      properties:
                        NR:
                          type: string
                          maxLength: 5
                          description: Number key for text tables
                        TEXT:
                          type: string
                          maxLength: 77
                          description: Text field of text tables
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
