Skip to Content
0
Former Member
Aug 17, 2010 at 01:32 PM

Adding new tab to ME21N

50 Views

Hi Experts,

My requirement is to add a new tab and 2 fields to the ME21N screen.i have impplemented SUBSCRIBE and MAP_DYNPRO_FIELDS methods in ME_GUI_PO_CUST just to get the tab.

i have included those 2 fields in CI_EKKODB structure.and also i have implemented FIELDSELECTION_HEADER method in ME_PROCESS_PO_CUST to display the tab.but when i execute i'm not able to see the new tab in ME21N.but in ME22N i'm able to see the tab in display mode not in change mode.in ME23N i'm able to see the tab.

code written under the method FIELDSELECTION_HEADER :

FIELD-SYMBOLS: <fs> LIKE LINE OF ch_fieldselection.

READ TABLE ch_fieldselection ASSIGNING <fs> WITH TABLE KEY metafield = mmmfd_cust_01.

IF sy-subrc IS INITIAL.

<fs>-fieldstatus = '+'. " editable

ENDIF.

READ TABLE ch_fieldselection ASSIGNING <fs> WITH TABLE KEY metafield = mmmfd_cust_02.

IF sy-subrc IS INITIAL.

<fs>-fieldstatus = '+'. " editable

ENDIF.

can anone explain me what is the exact problem fro this.i'm new to this BADI implemenattaions. i'm breaking my head on this from long time.

Regards,

Chaitanya.