openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RPY_TEXTELEMENTS_INSERT:
    post:
      tags:
      - SIFP
      operationId: /rfc/RPY_TEXTELEMENTS_INSERT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DEVELOPMENT_CLASS:
                  type: string
                  maxLength: 30
                  description: Package
                LANGUAGE:
                  type: string
                  maxLength: 1
                PROGRAM_NAME:
                  type: string
                  maxLength: 40
                R2_FLAG:
                  type: string
                  maxLength: 1
                TEMPORARY:
                  type: string
                  maxLength: 1
                  description: Temporary Object
                TRANSPORT_NUMBER:
                  type: string
                  maxLength: 20
                SOURCE:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 1
                        description: ABAP/4 text pool ID (selection text/numbered text)
                      KEY:
                        type: string
                        maxLength: 8
                        description: Text element key (number/selection name)
                      ENTRY:
                        type: string
                        maxLength: 255
                        description: Language-dependent text in ABAP/4 text pool
                      LENGTH:
                        type: integer
                        format: int32
                        description: Reserved length for text (with language reserve)
              required:
              - DEVELOPMENT_CLASS
              - LANGUAGE
              - PROGRAM_NAME
              - R2_FLAG
              - TEMPORARY
              - TRANSPORT_NUMBER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SOURCE:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 1
                          description: ABAP/4 text pool ID (selection text/numbered text)
                        KEY:
                          type: string
                          maxLength: 8
                          description: Text element key (number/selection name)
                        ENTRY:
                          type: string
                          maxLength: 255
                          description: Language-dependent text in ABAP/4 text pool
                        LENGTH:
                          type: integer
                          format: int32
                          description: Reserved length for text (with language reserve)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
