on 2015 Jun 04 7:33 AM
Hi expert,
We are trying to schedule a process chain through auto scheduling. However the process chain is not able to kick off from auto scheduling and it's failing with the below error. Direct scheduling in SAP BW works fine for this process chain. How do you resolve issue like this? Any advice and inputs are welcome.
Error message:
CASAP_E_991, Key: FAILED
%CASAP_E_992, Status: EXCEPTION FAILED RAISED
%CASAP_E_993, Message: EXCEPTION FAILED RAISED
%CASAP_E_994, Internal:
%CASAP_E_996, ABAP/4 function failure. RSPC_API_CHAIN_START failed FAILED rc=2
%CASAP_E_222, Process chain <YBWGCHZZ050000> could not be started. Please validate the Direct Scheduling selections in the Start Process variant.
In CheckForXMLFileInput...
Adding to string. Value:-d.
Regards,
Michelle
Hi,
If you follow below instruction may be your error resolved.
You use function module RSPC_API_CHAIN_START here. You can use the SAP Scheduling Framework to start the chain using the API and to have more extensive scheduling options.
If you start the start process using a meta chain, it is not scheduled after you have activated the related process chain. The process is only started when the meta chain to which it is linked is running.
All other processes in a chain are scheduled to wait for an event.
The start process has the following special features:
● Only the start process can be scheduled without a predecessor process.
● Only one start process is allowed for each process chain.
● A start process can only be used in a single process chain.
If you want to define more than one start condition to execute a process chain or part of a process chain, use the interrupt process as well as the start process.
Pattern for FM RSPC_API_CHAIN_START - RSPC API CHAIN START Associated Function Group: RSPC_API
Released Date: Not Released CALL FUNCTION 'RSPC_API_CHAIN_START' "
EXPORTING
i_chain = " rspc_chain Process Chain
IMPORTING
e_logid = " rspc_logid Log-ID of a Process Chain Run
EXCEPTIONS
FAILED = 1 " Errors occurred
. " RSPC_API_CHAIN_START
The process chain will start, even if the start conditions entered in process chain maintenance claim differently.
Thanks and regards
Srinu.Rapolu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
72 | |
10 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.