openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RPY_TRANSACTION_INSERT:
    post:
      tags:
      - SEUK
      summary: Insert Transaction
      operationId: /rfc/RPY_TRANSACTION_INSERT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CALLED_TRANSACTION:
                  type: string
                  maxLength: 20
                CALLED_TRANSACTION_SKIP:
                  type: string
                  maxLength: 1
                CL_INDEPENDEND:
                  type: string
                  maxLength: 1
                  description: Variant
                DEVELOPMENT_CLASS:
                  type: string
                  default: $TMP
                  maxLength: 30
                DOCUTYPE:
                  type: string
                  default: T
                  maxLength: 1
                DYNPRO:
                  type: string
                  maxLength: 4
                  description: Screen Number
                EASY_WEB_TRANSACTION:
                  type: string
                  maxLength: 1
                  description: Easy Web Transaction
                GENFLAG:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Generation Flag
                HTML_ENABLED:
                  type: string
                  maxLength: 1
                  description: SAPGUI for HTML
                JAVA_ENABLED:
                  type: string
                  maxLength: 1
                  description: SAPGUI for Java
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                PROFESSIONEL_USER_TRANSACTION:
                  type: string
                  maxLength: 1
                  description: Professional user transaction
                PROGRAM:
                  type: string
                  maxLength: 40
                  description: Program Name
                SERVICEFILE:
                  type: string
                  maxLength: 14
                  description: Service name of Internet Application Component
                SHORTTEXT:
                  type: string
                  maxLength: 36
                SUPPRESS_AUTHORITY_CHECK:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-Character Flag
                SUPPRESS_CORR_INSERT:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-Character Flag
                TRANSACTION:
                  type: string
                  maxLength: 20
                TRANSACTION_TYPE:
                  type: string
                  default: D
                  maxLength: 1
                TRANSPORT_NUMBER:
                  type: string
                  maxLength: 20
                VARIANT:
                  type: string
                  maxLength: 30
                  description: Variant
                WINGUI_ENABLED:
                  type: string
                  maxLength: 1
                  description: Windows 32
                WITH_DOCU:
                  type: string
                  default: ' '
                  maxLength: 1
                DOCU_TABLE_TECH:
                  type: array
                  items:
                    type: object
                    properties:
                      TDFORMAT:
                        type: string
                        maxLength: 2
                        description: Tag column
                      TDLINE:
                        type: string
                        maxLength: 132
                        description: Text Line
                DOCU_TABLE_USER:
                  type: array
                  items:
                    type: object
                    properties:
                      KEY_ID:
                        type: string
                        maxLength: 1
                        description: Line type ID with complex objects
                      OBJLINE:
                        type: string
                        maxLength: 72
                        description: 'EDIC: Program editor line'
                PARAM_VALUES:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELD:
                        type: string
                        maxLength: 132
                        description: 'Parameter transaction: Field name for parameter passing'
                      VALUE:
                        type: string
                        maxLength: 50
                        description: 'Parameter transaction: Value to be passed'
              required:
              - GENFLAG
              - SHORTTEXT
              - SUPPRESS_AUTHORITY_CHECK
              - SUPPRESS_CORR_INSERT
              - TRANSACTION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DOCU_TABLE_TECH:
                    type: array
                    items:
                      type: object
                      properties:
                        TDFORMAT:
                          type: string
                          maxLength: 2
                          description: Tag column
                        TDLINE:
                          type: string
                          maxLength: 132
                          description: Text Line
                  DOCU_TABLE_USER:
                    type: array
                    items:
                      type: object
                      properties:
                        KEY_ID:
                          type: string
                          maxLength: 1
                          description: Line type ID with complex objects
                        OBJLINE:
                          type: string
                          maxLength: 72
                          description: 'EDIC: Program editor line'
                  PARAM_VALUES:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELD:
                          type: string
                          maxLength: 132
                          description: 'Parameter transaction: Field name for parameter passing'
                        VALUE:
                          type: string
                          maxLength: 50
                          description: 'Parameter transaction: Value to be passed'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
