Skip to Content
0
Former Member
Jan 13, 2012 at 11:58 AM

Multiple custom tabs in Outbound Delivery?

666 Views

Hi,

Is it possible to create multiple tabs in Outbound Delivery? The two BADIs for adding custom tabs in Delivery are LE_SHP_TAB_CUST_ITEM for Item Details and LE_SHP_TAB_CUST_HEAD for Header Details. I was thinking first of creating multiple Implementations in LE_SHP_TAB_CUST_HEAD but this is not possible because Multiple Use is not allowed for this BADI. But the requirement is to create two custom tabs in the Header Details. Is it possible to activate two tabs within a single Implementation? Has anyone tried doing this?

Is the proposal below possible? Will it allow to create more than 1 custom tab?

Example:

METHOD if_ex_le_shp_tab_cust_head~activate_tab_page.

ef_caption = 'Custom Tab 1'.

ef_position = 13.

ef_program = 'Z_PROG_01'.

ef_dynpro = '5000'.

$$-Start: 9999----


$$

ENHANCEMENT 2 Z_CUSTOM_TAB_2. "active version

ef_caption = 'Custom Tab 2'.

ef_position = 14.

ef_program = 'Z_PROG_02'.

ef_dynpro = '6000'.

ENDENHANCEMENT.

$-End: 9999----


$$

ENDMETHOD.

Thanks in advance.

Jazz