Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member184494
Active Contributor

In many cases I have come across scenarios where process chains have to be executed across multiple SAP Systems.

Scenarios:

I say SAP Systems because of the following scenarios :
1. Retraction into CRM using Export Datasources from a separate SAp BW system
2. Data load from downstream BW system into a consolidation BW system
3. Duplication of data across multiple systems for regional reporting effieiencies


Why do we need this approach at all

All this involves careful process chain planning and execution. In many cases it is easy to do this manually but then involves a lot of effort and co ordination- especially if you are monitoring say 100 process chains ( Just a random round number I could come up with ) and tracking the same across systems. This creates possibilities for the occasional human error leading to mayhem!!!

Process chains can be started remotely through other process chains. Within the same system we use the metachain concept but then in many cases it is not attempted across multiple BW systems. There is a RFC enabled Function module which can actually be used here which can trigger process chains across systems.

The function module is RSPC_API_CHAIN_START which is RFC Enabled ..

Instructions on calling RFC FMs is also found here :
http://help.sap.com/abapdocu_70/en/ABAPCALL_FUNCTION_STARTING.htm

The code is available in :
http://wiki.sdn.sap.com/wiki/display/BI/Starting+Process+chains+in+multiple+BW+Systems

For this to work you need an RFC connection from the BW system to the target system.

A word of caution though - if your links are too many - instead of calling process chains and processes within the process chain - you will be better off using a third party scheduler for easy maintainability where things can be centrally monitored and scheduled.

This was used in one case where we had to do some CRM data loads from BW into the CRM system and there was a data dependency that data gets loaded into the BW system first for some sales orders and then the same data gets sent to the CRM system for further calculations using the datamart interface.

 

I have not explored the code in full with regard to the parameters but am sure there will be many more uses for the same. I have done this on a BW7.0 EHP1 system. if you do not find that this function is RFC enabled - use FM RSPC_CHAIN_START instead. I guess the API FM also gives you exceptions but the non API version just blindly triggers the FM and leaves the rest to further investigation.

4 Comments