cancel
Showing results for 
Search instead for 
Did you mean: 

Background to check predecessor status (after job)

Former Member
0 Kudos

Hi,

Please let me know if the below scenario is possible.

System: 1

Job A

System: 2

Job B.

Job B on system 2 should start after Job A on System 1 is successful.

I know we can achieve this using 3rd party tools UC4, Tivoli products, redwood.

But in my scenario I do not want to use 3rd party tools. Any input is appreciated.

Thanks,

Venkat

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

With little custom code now I am able to start job B on system 2 after job A is completed on system 1.

I am sharing the steps as it may be helpful to someone else.

System 1:

u2022 Copy the function module BP_EVENT_RAISE to ZBP_EVENT_RAISE and change processing type as Remote-Enabled Module.

u2022 Create a program using function module ZBP_EVENT_RAISE with field names event ID and RFCDEST.

u2022 Create RFC connection from system 1 to system 2.

u2022 Create background job with variant values event ID = event that we create on system 2 and RFCDEST = RFC connection that we define.

System 2:

Create an event from SM62

Create a background job on system 2 with event.

Former Member
0 Kudos