We always have problem when Process chain BG job is red but job in SM37 is green.
There is not best and easy way to continue and make process chain process step as green to continue with next steps.
Please find below the steps which could help you to overcome this problem. It´s not the ideal way but it works :-)
1. Get the “Varaint” and “Instance” from Display Message of process step from process chain.
2. Go to Se16:- RSPCPROCESSLOG
Put the above “Variant” and “Instance” and the date of the job when it ran as seen below
Step 3: Got SE37 and use the functional module RSPC_PROCESS_FINISH
Enter the below details which we can get from the table:-
Process type I_TYPE
And put Status : G
This will change the status of process chain status from Red to Green.
I think these steps are really helpful for support projects.
You can also create small rapper program using the above functional module where you can give only variant and program will change the status to Green.
I hope this information would be help to you all.