on 07-18-2016 7:57 AM
Hello,
I'm using the function module RSPC_API_CHAIN_START to start a process chain from ABAP code. In the process chain I have "Complete Deletion of Data Target Contents" - the target is Write-Optimized DSO.
If I call the FM only with chain name :
CALL FUNCTION 'RSPC_API_CHAIN_START'
EXPORTING
i_chain = lc_chain_dso
IMPORTING
e_logid = l_logid.
Then when program is executed, pop for chain priority appears.
If the FM is called with parameter i_synchronous = 'X'
CALL FUNCTION 'RSPC_API_CHAIN_START'
EXPORTING
i_chain = lc_chain_dso
i_synchronous = 'X'
IMPORTING
e_logid = l_logid.
Then pop up with the message " Do you want to delete the contents of data target .." appears.
Do you know if there is a way to skip all (both) popups?
BR, Aylin
Hello Aylin,
Usually i would not recommend starting a process chain with RSPC_API_CHAIN_START with i_synchronous = 'X'. Do you need to handle return code of the process chain ?
I_synchronous checks user's authorization and triggers popups if source code contains confirmations needed at steps. So you can't avoid popups using synchronous mode.;
From that point you have two possibilities :
Hope it helps,
Regards,
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Aylin,
Maybe you could try to encapsulate the triggering of RPSC_API_CHAIN_START in a job (batch mode) to avoid triggering of popups.
You can refer to following post :
RSPC_API_CHAIN_START unfortunately end user get... | SCN
Regards,
Christian CABRITA
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.