openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/HLP_TRY_REMOTE_RTF_DISPLAY:
    post:
      tags:
      - SH04
      summary: 'Display an RTF text: 2. Get system parameters and handle RFC'
      operationId: /rfc/HLP_TRY_REMOTE_RTF_DISPLAY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ABORT_ON_1ST_INVOCATION:
                  type: string
                  maxLength: 1
                  description: <> Space abort at first call
                CONTEXT:
                  type: string
                  maxLength: 2048
                  description: Title bar text
                DISPLAY_MODE:
                  type: string
                  maxLength: 10
                  description: Help display type
                HELP_TYPE:
                  type: string
                  maxLength: 10
                  description: Help type of the text to be displayed
                WINDOW_TITLE:
                  type: string
                  maxLength: 80
                  description: Title bar text
                CAPTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 6
                        description: Character field of length 6
                      TAG:
                        type: string
                        maxLength: 32
                        description: Character field, length 32
                      TEXT:
                        type: string
                        maxLength: 73
                        description: Message Text
                      ACTION:
                        type: string
                        maxLength: 4
                        description: Character field, length 4
                      VISIBLE:
                        type: string
                        maxLength: 1
                        description: Character field of length 1
                      ACTIVE:
                        type: string
                        maxLength: 1
                        description: Character field of length 1
                      CHECKED:
                        type: string
                        maxLength: 1
                        description: Character field of length 1
                EXTENSION:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 134
                        description: Character field, length 134
                ITF:
                  type: array
                  items:
                    type: object
                    properties:
                      TDFORMAT:
                        type: string
                        maxLength: 2
                        description: Tag column
                      TDLINE:
                        type: string
                        maxLength: 132
                        description: Text Line
                RTF:
                  type: array
                  items:
                    type: object
                    properties:
                      TDFORMAT:
                        type: string
                        maxLength: 2
                        description: Tag column
                      TDLINE:
                        type: string
                        maxLength: 132
                        description: Text Line
              required:
              - ABORT_ON_1ST_INVOCATION
              - HELP_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CAPTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 6
                          description: Character field of length 6
                        TAG:
                          type: string
                          maxLength: 32
                          description: Character field, length 32
                        TEXT:
                          type: string
                          maxLength: 73
                          description: Message Text
                        ACTION:
                          type: string
                          maxLength: 4
                          description: Character field, length 4
                        VISIBLE:
                          type: string
                          maxLength: 1
                          description: Character field of length 1
                        ACTIVE:
                          type: string
                          maxLength: 1
                          description: Character field of length 1
                        CHECKED:
                          type: string
                          maxLength: 1
                          description: Character field of length 1
                  EXTENSION:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 134
                          description: Character field, length 134
                  ITF:
                    type: array
                    items:
                      type: object
                      properties:
                        TDFORMAT:
                          type: string
                          maxLength: 2
                          description: Tag column
                        TDLINE:
                          type: string
                          maxLength: 132
                          description: Text Line
                  RTF:
                    type: array
                    items:
                      type: object
                      properties:
                        TDFORMAT:
                          type: string
                          maxLength: 2
                          description: Tag column
                        TDLINE:
                          type: string
                          maxLength: 132
                          description: Text Line
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
