Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Adding new tab to ME21N

Former Member
0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

closed