on ‎2018 Mar 07 11:10 AM
Hello,
I want to know if it is possible to capture error returned by the execution of a first BADI in a logic script, so as not to execute the second BADI.
Something like:
IF BADI1 return OK -> RUN BADI2
My script logic:
---INI script---
*START_BADI ZENV_CALC_REP_POL
SECCION = %SECCION_SET%
TIEMPO = %TIEMPO_SET%
VERSION = %VERSION_SET%
BORRADO = S
QUERY = OFF
WRITE = ON
DEBUG = OFF
*END_BADI
*START_BADI ZENV_CALC_AGR_PAR_POL
SECCION = %SECCION_SET%
TIEMPO = %TIEMPO_SET%
VERSION = %VERSION_SET%
BORRADO = S
QUERY = OFF
WRITE = ON
DEBUG = OFF
*END_BADI
*COMMIT
---END script---
My system is SAP BPC 10.0 NW SP22.
Thanks.
Request clarification before answering.
You can stop script execution on exception generated in the first BADI.
Please read note: https://launchpad.support.sap.com/#/notes/2487016 SP25 required!
Also read this discussion: https://answers.sap.com/questions/113793/how-to-stop-the-script-execution-in-case-of-error.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 11 | |
| 11 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.