2015 Sep 04 8:06 AM
Dear Experts,
Let's say that I have a background job with 3 steps:
- first step is to run a program in ECC
- second step is to run the program in CRM
- third step is to run a program in ECC
How to do this, that the 2nd step in CRM will be triggered once the 1st step in ECC is finished, and so is the 3rd step?
I'm thinking of using RFC that ECC will call a RFC enabled FM in CRM which will execute the second step program. But I'm not sure if this is a good solution since if the program runs for a long time, then the connection will stay open and we might need to increase the RFC time out value.
Thank you,
Suwandi C.
2015 Sep 04 9:13 AM
You could build multiple background jobs, predecessor job would raise an event in the other system to trigger successor job. Last step of job call a report wrapping FM BP_REMOTE_EVENT_RAISE.
The RFC connection would only be opened during initial scheduling of jobs and raising of events.
Regards,
Raymond
Dear Experts,
Let's say that I have a background job with 3 steps:
- first step is to run a program in ECC
- second step is to run the program in CRM
- third step is to run a program in ECC
How to do this, that the 2nd step in CRM will be triggered once the 1st step in ECC is finished, and so is the 3rd step?
I'm thinking of using RFC that ECC will call a RFC enabled FM in CRM which will execute the second step program. But I'm not sure if this is a good solution since if the program runs for a long time, then the connection will stay open and we might need to increase the RFC time out value.
Thank you,
Suwandi C.
2015 Sep 04 9:13 AM
You could build multiple background jobs, predecessor job would raise an event in the other system to trigger successor job. Last step of job call a report wrapping FM BP_REMOTE_EVENT_RAISE.
The RFC connection would only be opened during initial scheduling of jobs and raising of events.
Regards,
Raymond
2015 Sep 04 10:20 AM
Hi,
I just want to be clear of the idea.
So, when the first background job is finished, it will call the FM BP_REMOTE_EVENT_RAISE to raise an event in CRM and triggering the second background job. Next, when the second background job is finished it will call the FM again to trigger the third background job in ECC?
Thank you,
Suwandi C.
2015 Sep 11 2:35 PM
2015 Sep 04 9:39 AM
One of the option could be to use tRFC ( Idoc and/or Equivalent ) or qRFC ( If you need all the steps will run sequentially ).
The standard SAP communicates between ECC and CRM in similar way.
R