2008 Oct 17 8:29 AM
Hi,
CALL METHOD cl_badi_flt_data_trans_and_db=>act_imps_per_flt_val
EXPORTING
runtime_call = seex_true
exit_name = exit_name
EXCEPTIONS
singular_exit_multiply_active = 1
no_active_implementation = 2
only_default_implementation = 3
OTHERS = 4.
CASE sy-subrc.
WHEN 0.
act_imp_existing = seex_true.
WHEN 1.
RAISE single_exit_multiply_active.
WHEN 2.
act_imp_existing = seex_false.
WHEN 3.
act_imp_existing = seex_false.
def_impl = seex_true.
WHEN 4.
RAISE data_incons_in_exit_managem.
ENDCASE.
I get the exception
RAISE single_exit_multiply_active.
What could be the result?
Thanks.
deniz.
Hi,
CALL METHOD cl_badi_flt_data_trans_and_db=>act_imps_per_flt_val
EXPORTING
runtime_call = seex_true
exit_name = exit_name
EXCEPTIONS
singular_exit_multiply_active = 1
no_active_implementation = 2
only_default_implementation = 3
OTHERS = 4.
CASE sy-subrc.
WHEN 0.
act_imp_existing = seex_true.
WHEN 1.
RAISE single_exit_multiply_active.
WHEN 2.
act_imp_existing = seex_false.
WHEN 3.
act_imp_existing = seex_false.
def_impl = seex_true.
WHEN 4.
RAISE data_incons_in_exit_managem.
ENDCASE.
I get the exception
RAISE single_exit_multiply_active.
What could be the result?
Thanks.
deniz.
2008 Oct 17 9:29 AM
Hello,
Exception means suppose you have Exception in the FM
If you r FM gives any exception value then we can easily identify wht is the problem in the FM or in your logic.
Example
CALL METHOD cl_badi_flt_data_trans_and_db=>act_imps_per_flt_val
EXPORTING
runtime_call = seex_true
exit_name = exit_name
EXCEPTIONS
singular_exit_multiply_active = 1
no_active_implementation = 2
only_default_implementation = 3
with this exception if you sy-subrc value is 1 we can say that the problem is in singular exit muliply active.......................
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |