openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWW_WI_EXECUTE_INTERNAL_RFC:
    post:
      tags:
      - SWW_EXE
      operationId: /rfc/SWW_WI_EXECUTE_INTERNAL_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_CALLED_VIA_TRFC:
                  type: string
                  maxLength: 1
                IM_EXECTX:
                  type: object
                  properties:
                    DO_COMMIT:
                      type: string
                      maxLength: 1
                      description: Checkbox
                    NO_SAVE:
                      type: string
                      maxLength: 1
                      description: Checkbox
                    MULTI_EXEC:
                      type: string
                      maxLength: 1
                      description: Checkbox
                    NO_CB_CMPL:
                      type: string
                      maxLength: 1
                      description: Checkbox
                    EXEC_USER:
                      type: string
                      maxLength: 12
                      description: User Name
                    EXEC_ADDR:
                      type: object
                      properties:
                        IDTYPE:
                          type: string
                          maxLength: 3
                          description: Recipient type from ID
                        IDYEAR:
                          type: string
                          maxLength: 2
                          description: Recipient year from the ID
                        IDNUMBER:
                          type: string
                          maxLength: 12
                          description: Recipient number from ID
                        SENDTYPE:
                          type: string
                          maxLength: 8
                          description: 'Output device  enumValues: MAIL=Mail,SCREEN=Screen,TELEFAX=Fax Number,PRINTER=Printer'
                          enum:
                          - MAIL
                          - SCREEN
                          - TELEFAX
                          - PRINTER
                        SEQUENCENO:
                          type: string
                          maxLength: 3
                          description: 'Addresses: Sequence Number of Address'
                    WI_EXETYPE:
                      type: string
                      maxLength: 4
                      description: Type of Secondary Method
                    FBNAME:
                      type: string
                      maxLength: 30
                      description: Function name
                    CALLED_BTC:
                      type: string
                      maxLength: 1
                      description: 'Workflow: Indicator for "Called in Background"'
                    CALL_INBTC:
                      type: string
                      maxLength: 1
                      description: 'Workflow: Indicator for "Call in Background"'
                    CHCK_STATE:
                      type: string
                      maxLength: 1
                      description: Checkbox
                    USEXMLCONT:
                      type: string
                      maxLength: 1
                      description: 'Workflow: Create XML for aRFC'
                    FB_EXEC:
                      type: string
                      maxLength: 30
                      description: Function name
                    SYNC_CHAIN:
                      type: string
                      maxLength: 1
                      description: Checkbox
                    NO_EXCEPT:
                      type: string
                      maxLength: 1
                      description: 'Workflow: Indicator for Exception Handling (''X''= No Excptns)'
                    WFM_ACTIVE:
                      type: string
                      maxLength: 1
                      description: Checkbox
                    DEBUG_MODE:
                      type: integer
                      format: int64
                      description: Debug Mode Workflow Runtime
                    TRACE_LEVEL:
                      type: integer
                      format: int64
                      description: Trace Level Workflow Runtime
                    LANGUAGE:
                      type: string
                      maxLength: 1
                      description: Language Key of Current Text Environment
                IM_WIID:
                  type: integer
                  format: int64
                  description: Work Item ID
              required:
              - IM_CALLED_VIA_TRFC
              - IM_EXECTX
              - IM_WIID
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
