SAP BC trigger

Operation name

SAP BC trigger

Feature Description

SAP BC trigger is trigger function to execute script by outbound processing of SAP system by sending request to URL specified with SAP Business Connector.

Fire image



Properties

SAP BC trigger settings
Item name Content Remarks
Trigger name Enter the name of the trigger.  
Execution path Enter execution path of trigger.
  • The default value is "path".
  • Example: If in the execution path "run" is specified, the URL of trigger execution will be as follows.

    http://<Hostname or IP address of DataSpiderServer>:<Port number of DataSpiderServer>/dataspider/sapbc/run

  • If [Enable HTTPS] at [Control Panel] - [DataSpiderServer Settings] - [Security] tab is checked, URL of trigger execution is as follows.

    https://<Hostname or IP address of DataSpiderServer>:<SSL port number of DataSpiderServer>/dataspider/sapbc/run

Execution content settings
Item name Content Remarks
Trigger owner Select the owner of the trigger to be created.
  • Can only be selected by users with administrator privileges.
    (Ordinary users can select themselves only.)
Execution user name Select the user to run script specified by [Script].  
Password Type the password associated with the user specified by [Execution user name].  
Service Select the script to run by trigger.
  • Project that was registered as a service displays.
Script Select the script to run by trigger.
  • Script in the service specified by [Service] displays.
Script arguments script input variables that is set in script specified by [Script] displays
Script arguments / Variable name Script variable name is displayed.
  • Can not be edited.
Script arguments / Type Script variable number type is displayed.
  • Can not be edited.
Script arguments / Value Enter a script variable value.
  • Trigger variables can be specified from [Advanced operations] window.
  • XML script input variables is required to be set in running script.
Script outputs Script output variables that is set in script specified in [Script] appears.
Script outputs / Variable name Script variable name is displayed.
  • Can not be edited.
Script outputs / Type Script variable number type is displayed.
  • Can not be edited.
Script outputs / Value Enter a script variable value.
  • Trigger variables can be specified from "Advanced operations" window.
  • XML script output variables is required to be set in running script.
Execution option settings
For more information about Setting execution option, refer to "Execution option settings".

Trigger Variables

Hand over data by using the trigger variable with the execution script and the SAP system of the trigger.Use script I/O variable of XML type.

Trigger variable name Value Content Remarks
XML input trigger.standardInput XML data transfered from SAP Business Connector to running script.
  • "${trigger.standardInput}" must be specified at [Script arguments / Value].
XML output trigger.standardOutput XML data transfered from running script to SAP Business Connector.
  • "${trigger.standardOutput}" must be specified at [Script outputs / Value].

Management of TID

SAP BC trigger checks TID of IDoc sent from SAP Business Connector.SAP BC trigger do not execute script, and return SAP Business Connector as normal end when TID sent from SAP Business Connector has already been registered as state of success.TID is registered to 100000 TID by default. TID registered first is deleted and new TID is registered when over 100000 TID registration demand is requested,

Specification limit

Nothing.

Main exceptions

Nothing.

Notes