We have a requirement where we need to scehule 1 program in APO and as soon as it is finished need to scehdule another job in ECC system for program 'RMMRP000'.
What I have done:
1. Create a RFC function module in ECC system which will create job for program 'RMMRP000'.
2. Call this RFC in APO system in a report and schedule the same as next step of the APO job.
Problem: When RFC is getting called from APO in ECC i m getting error 'CALL_FUNCTION_REMOTE_ERROR' because of SYSTEM FAILURE exception.
Up on more analysis I could find that this happened as there was a warning message while program execution in ECC, which has caused the problem. As per the functional this warning message cannot be suppressed.
Could some one please suggest if my approach is correct or there needs to be some logic implemented to override the warning message?