openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSCR_CR_LOAD:
    post:
      tags:
      - RSCR
      operationId: /rfc/RSCR_CR_LOAD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_LANGU:
                  type: string
                  maxLength: 1
                I_OBJUID:
                  type: string
                  maxLength: 40
                I_RPTID:
                  type: string
                  maxLength: 25
                I_TEXTLANGUS:
                  type: string
                  maxLength: 128
                E_T_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: Line for binary document contents, length for upload
                E_T_RPTTEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      RPTID:
                        type: string
                        maxLength: 25
                        description: CR Report ID
                      OBJVERS:
                        type: string
                        maxLength: 1
                        description: Object version
                      SUBREPORT:
                        type: string
                        maxLength: 120
                        description: char120
                      OBJECT_TYPE:
                        type: string
                        maxLength: 2
                        description: Version Number Component
                      TEXT_TYPE:
                        type: string
                        maxLength: 2
                        description: CR Text Type
                      OBJECT_NAME:
                        type: string
                        maxLength: 64
                        description: Character field, length 64
                      TEXT_ORDNUMC:
                        type: integer
                        format: int64
                        description: CR Textord
                      MAX_LEN:
                        type: integer
                        format: int64
                        description: CR maximum length of a string
                      CRLF:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      TEXT:
                        type: string
                        maxLength: 255
                        description: CR Text
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_ERROR:
                    type: integer
                    format: int32
                  E_FILESIZE:
                    type: integer
                    format: int32
                  E_LANGUAGES:
                    type: string
                    maxLength: 128
                  E_MASTERLANGU:
                    type: string
                    maxLength: 1
                  E_RPTID:
                    type: string
                    maxLength: 25
                  E_SYSID:
                    type: string
                    maxLength: 8
                  E_URLPATTERN:
                    type: string
                    maxLength: 255
                  E_VERSION:
                    type: integer
                    format: int32
                  E_T_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: Line for binary document contents, length for upload
                  E_T_RPTTEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        RPTID:
                          type: string
                          maxLength: 25
                          description: CR Report ID
                        OBJVERS:
                          type: string
                          maxLength: 1
                          description: Object version
                        SUBREPORT:
                          type: string
                          maxLength: 120
                          description: char120
                        OBJECT_TYPE:
                          type: string
                          maxLength: 2
                          description: Version Number Component
                        TEXT_TYPE:
                          type: string
                          maxLength: 2
                          description: CR Text Type
                        OBJECT_NAME:
                          type: string
                          maxLength: 64
                          description: Character field, length 64
                        TEXT_ORDNUMC:
                          type: integer
                          format: int64
                          description: CR Textord
                        MAX_LEN:
                          type: integer
                          format: int64
                          description: CR maximum length of a string
                        CRLF:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        TEXT:
                          type: string
                          maxLength: 255
                          description: CR Text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
