How can I execute a uni-directional call out of the SAP/R3 system to the TIB/Adapter for R3?As per SAP's recommendations this call should be transactional.

How can I execute a uni-directional call out of the SAP/R3 system to the TIB/Adapter for R3?As per SAP's recommendations this call should be transactional.

book

Article ID: KB0092170

calendar_today

Updated On:

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

Description

Resolution:
This is how a uni-directional call out of the SAP system to the adapter can be implemented:

Modify the ABAP code such that it calls the
RFC function IN a BACKGROUND TASK. Following example shows that:

  CALL FUNCTION 'z_oneway_test' IN BACKGROUND TASK DESTINATION
  'MY_RFC_DESTINATION'
    EXPORTING delivery_num = 'SOMENUMBER'
    gi_date = '02022000'.

    COMMIT WORK.

Make sure a "COMMIT WORK" is included. Otherwise it will not call the function at
the specified destination. It is important to note that the
COMMIT WORK will also flush any outstanding modifications to the database.

Environment

Product: TIBCO Adapter for R/3 (SAP) Version: All OS: Not Specified OS --------------------

Issue/Introduction

How can I execute a uni-directional call out of the SAP/R3 system to the TIB/Adapter for R3?As per SAP's recommendations this call should be transactional.