Application Development and Automation 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: 
Read only

Error while implementing BADI ME_GUI_PO_CUST

Former Member
0 Likes
407

Hi Experts,

My requirment is to add a new tab in ME21N screen.We have to implement the BADI ME_GUI_PO_CUST and methods SUBSCRIBE and MAP_DYNPRO_FIELDS will create a new tab.however i have got a problem in method MAP_DYNPRO_FIELDS.

i have defined 2 z fields and i have appended it in EKKo as well.now in method MAP_DYNPRO_FIELDS i have written the code like this...

LOOP AT ch_mapping ASSIGNING <mapping>.

CASE <mapping>-fieldname.

WHEN 'ZZPAYMENT_AGRE'. <mapping>-metafield =mmmfd_cust_03. "mmmfd_mat_grp.

WHEN 'ZZPROJECT'. <mapping>-metafield = mmmfd_cust_04.

ENDCASE.

ENDLOOP.

if i do like that...it's not displaying the new tab but when i replace any of the custome fields(mmmfd_cust_03,mmmfd_cust_04) with "mmmfd_mat_grp.it is displaying the new tab.

can any one tell me what is the wrong in my code.

1 REPLY 1
Read only

Former Member
0 Likes
355

solved by myself