Connection of the Production Control System to SAP APO The automated Action Handler uses the standard interface of the SAP Business Workflow (see also Automated Action Handler ).

The workflow itself is not used, but simply the interface and the event manager from SAP Business Workflow.
To be able to use the automated Action Handler, you must first of all program the interface of SAP APO in such a way, that the data transfer is possible between SAP APO and the production control system.
You check
Customizing for the workflow once, as described in the following.
You need to be a system administrator and belong to the SUPER user group.
In the IMG, choose
SAP R/3 Basis Customizing
→
Business Management
→
SAP Business Workflow
→
Maintain Standard Settings
(transaction SWU3). You then choose
Perform Automatic Workflow-Customizing
The system automatically creates a user with the name
WF-BATCH
and assigns the following data to this user:
Password
User type
system
Authorization profiles SAP_ALL and SAP_NEW
User address
You can check this user using transaction SW01.
The system also creates a logical RFC destination. You can check this RFC destination using transaction SM59.
You check the type linkage between the event and the consumer. In the SAP Menu, choose
Tools
→
Business Workflow
→
Development
→
Administration
→
Event Manager
→
Type Linkages
(transaction SWETYPV).
Check the following settings:
Object Type
/SAPAPO/MF
Event
TPOINT_REACHED
Consumer Type
ACTIONHANDLER
Consumer Function Module
/SAPAPO/AHTG_ACTION_HANDLER
The indicator
Linkage
must be activated.
You check the
definition of the interface
of the
event TPOINT_REACHED for the
object type /SAPAPO/MF in the Business Object Builder (transaction
SWO1
). You can also define further parameters for this event or implement existing customer include structures.
You call up the SAP_WAPI_CREATE_EVENT function module via RFC and fill the import parameters with the following values:
object_type = '/SAPAPO/MF' object_key = space event = 'TPOINT_REACHED'
input container, which contains the data for the event:
For an example on how to fill the input container and call up the workflow API refer to the /SAPAPO/AHT_SERVICE_TOLLF01 include in the CREATE_EVENT_TPOINT_REACHED form routine.
For further information on the SAP Business Workflow, see:
In order to view the complete technical information on the Action Handler, see Transaction Codes and Other Technical Information