10-30-2007 5:51 PM
Hi,
I am calling a BAPI in BADI, but i am getting dump Beacuse RETUN structure not mach, please advice me how can i call the BAPI in BADI.
Thanks,
Karuna.
10-30-2007 6:34 PM
Hello Karuna
Since your question is quite unspecific as is the answer.
Please note that BAPIs use different structures for the returned messages:
- BAPIRETURN (old)
- BAPIRETURN1 (old)
- BAPIRET1 (old)
- BAPIRET2 (most up-to-date)
If you need to convert inbetween these different return message types have a look at the function modules of group <b>BFRT</b>, e.g.:
<b>BALW_RETURN_TO_RET2</b> (maps BAPIRETURN -> BAPIRET2)
Regards
Uwe