TIBCO ActiveMatrix Adapter for SAP crashes when ‘ReadIDocFromFile’ plug-in replays the iDoc files which are created by the subscription service and the EDI_DD segment in the files is not populated.
book
Article ID: KB0091536
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for SAP Solutions
-
Not Applicable
-
Description
Resolution: Description: =========== If ‘EDI_DD’ segment of the iDoc is not populated in the input of 'Publish to Adapter' activity on TIBCO ActiveMatrix BusinessWorks end, the iDoc files created by subscription service would not be able to be handled by the 'ReadiDocFromFile' plug-in. SAP Adapter ends up crashing when ‘ReadIDocFromFile’ plug-in begins to replay iDoc files during start up.
Environment: =========== TIBCO ActiveMatrix Adapter for SAP 5.x and 6.x (Non-Unicode version only)
Symptoms: =========== On Windows platforms, the adapter crashed along with a popup error dialog with the error ‘…The memory could not be read’ when ‘ReadIDocFromFile’ plug-in is launched during adapter startup.
On Unix/Linux platforms, core dumps or segment faults will occur on adapter binary during adapter startup.
Cause: =========== ‘ReadIDocFromFile’ plug-in can only replay the iDoc files whose fields in EDI_DD segment are populated with the proper values. If ‘EDI_DD’ segment is not populated in the input of 'Publish to Adapter' activity on TIBCO ActiveMatrix BusinessWorks end, the fields in ‘EDI_DD’ would not be populated automatically with the default values when the subscription service is creating the iDoc files. Therefore the ‘ReadIDocFromFile’ plug-in is not able to replay the iDoc files due to a data format violation.
Resolution: =========== Populating the proper values to the fields in ‘EDI_DD’ segment manually when constructing the input on the TIBCO ActiveMatrix BusinessWorks end.
Issue/Introduction
TIBCO ActiveMatrix Adapter for SAP crashes when ‘ReadIDocFromFile’ plug-in replays the iDoc files which are created by the subscription service and the EDI_DD segment in the files is not populated.