For TIBCO ActiveMatrix (R) Adapter for SAP, how to re-publish failed IDOC written into a file to SAP for Unicode Adapter?

For TIBCO ActiveMatrix (R) Adapter for SAP, how to re-publish failed IDOC written into a file to SAP for Unicode Adapter?

book

Article ID: KB0089613

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for SAP Solutions -
Not Applicable -

Description

Resolution:
Description:
============
In TIBCO ActiveMatrix Adapter for SAP document Configuration and Deployment -> Chapter 3 Adapter Instance Options : Adapter Instance Fields, it describes that in some circumstances an IDoc message is not published successfully but gets written to a file.

The SAP Adapter provides the ReadIDocFromFile plugin to re-publish IDocs that are in a file format on the file system. However, as noted in the document, the plugin has a limitation that it only works with a Non-Unicode adapter. For a Unicode adapter we have to use TIBCO ActiveMatrix BusinessWorks to read the IDoc file and republish the IDoc.

Environment:
===========
SAP adapter 5.x and 6.x

Resolution:
==========
The IDOC file generated by Non-Unicode Adapter is pure text format, while the one generated by Unicode Adapter is XML format complying with IDOC_INBOUND_ASYNCHRONOUS schema. The resolution includes:

1). Create an adapter Request-ResponseServer which invokes SAP RFC IDOC_INBOUND_ASYNCHRONOU

2). Create a BW process to read the IDOC files, parse the messages into XML with IDOC_INBOUND_ASYNCHRONOUS schema, then invoke the above Request-ResponseServer to send the IDOC to SAP

Refer to attached project for the detailed configuration.


Attachments:
===========
Example project

Issue/Introduction

For TIBCO ActiveMatrix (R) Adapter for SAP, how to re-publish failed IDOC written into a file to SAP for Unicode Adapter?

Attachments

For TIBCO ActiveMatrix (R) Adapter for SAP, how to re-publish failed IDOC written into a file to SAP for Unicode Adapter? get_app