IDoc Parser
Use the IDoc Parser activity to retrieve IDocs processed by the IDoc Listener activity, and then parse the IDocs as the activity output.
General
In the General tab, you can establish connections to the SAP system and the messaging source separately, and download the schema of the IDoc to be parsed by the IDoc Parser activity.
The following table lists the fields in the General tab:
| Field | Module Property? | Description |
|---|---|---|
| Name | No | The name to be displayed as the label for the activity in the process. |
| SAP Connection | Yes | Click
If no matching SAP Connection shared resources are found, right-click the Resources folder, and then click to create a new connection. See Creating and Configuring an SAP Connection for details. |
| IDoc Name | No | Click
Fetch IDoc to download the schema of the IDoc to be parsed.
In the
Search IDoc dialog, complete the following tasks:
When the IDoc schema is downloaded, an XSD file is created. The XSD file cannot be visible in the project but it can be picked from the activity if required. |
| Messaging Source | No | The messaging source where the activity retrieves the IDocs to be parsed.
Only the JMS type is supported. |
| JMS Connection | Yes | Click
If no matching JMS Connection shared resources are found, click Create Shared Resource to create one. For more details, see the TIBCO ActiveMatrix BusinessWorks documentation. |
| Max Session | Yes | The number of IDoc messages to be processed concurrently.
The default value is 1. If you set the value of this field to negative or zero, the value of 1 is used automatically at run time. See Job Tuning for details. |
Advanced
In the Advanced tab, you can specify the destination used to retrieve the IDocs to be parsed, and the message selector.
The following table lists the fields in the Advanced tab:
| Field | Module Property? | Description |
|---|---|---|
| Sequence Key | No | This field contains an XPath expression that specifies the order in which the process runs. Process instances with sequencing keys that have the same value are executed sequentially in the order in which the process instances were created. |
| Custom Job Id | No | This field contains an XPath expression that specifies a custom job ID for the process instance. This ID is displayed in the TIBCO Administrator View Service dialog, and it is also available in the $_processContext process variable. The custom job ID for the process instance. |
| Receive IDoc Destination | Yes | The destination used to retrieve the IDoc to be parsed. |
| Message Selector | No | The message selector used to select a specific IDoc message from the receive IDoc destination.
The default value is SAPIDOC_IDOCTYP = 'IDoc_Type' AND SAPIDOC_CIMTYP = 'Cim_Type' . You can also use other JMS properties, for example, SAPIDOC_OUTMOD, SAPIDOC_STATUS, and SAPIDOC_CREDAT. If a syntax error occurs, you can click Reset Syntax next to the Message Selector field to reset this field. |