2014 Jul 21 10:14 AM
Hello,
I want to use LE_SHP_TAB_CUST_ITEM Badi to add a custom tab to outbound delivery.
One implementation is already developped for this Badi and a tab is correctly added on the item level of the outbound delivery.
Now, I want to add a second tab on the item level. Any clues on how to do it?
Thank you in advance.
2014 Jul 21 12:03 PM
hi,
it is not possible to do so, better maintain in same tab and can easily manupulated
2014 Jul 21 12:03 PM
hi,
it is not possible to do so, better maintain in same tab and can easily manupulated
2014 Jul 21 3:00 PM
2014 Jul 21 12:15 PM
Hi,
As this BADI is single use, you can not create another implementation.
One way to behave single use BADI as multiple-use BADI is: Create a custom defined BADI and do multiple implementations for this BADI. then you can all this BADI from existing implementation.
Let me know if it's not clear.
Regards,
Prasad
2014 Jul 21 2:59 PM
2014 Jul 22 4:56 AM
Hi,
as i said in previous reply, for a single use BADI we can not create multiple implementations. this is very clear for you also.
in this case we can create a new custom Enhancement Spot using trasaction code SE18. then for this enhancement spot we can create BADI definition. then for this BADI definiton we can create multiple implementations. now you have to call this BADI from your already implemented BADI.
for example go to then method of already implemented BADI.
Method.
DATA: l_r_new_badi type ref to znew_badi.
CATCH.
GET BADI l_r_new_badi.
CALL BADI l_r_new_badi->method_name
exporting
importing....
ENDCATCH.
Endmethod.
This way we can use single use BADI as multiple use BADI.
Regards,
Prasad