Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BADI ME_PROCESS_PO_CUST Method FIELDSELECTION_ITEM not working

Hi All,

I am trying to make NETPR and KBETR fields display only on Tcode ME22N for this I am using BADI ME_PROCESS_PO_CUST

and method FIELDSELECTION_ITEM. I dont know where I am going wrong. Here is my code which I have developed. Please suggest if anybody has same thing done before.

field-symbols: <fs> like line of ch_fieldselection.

data: ls_mepoitem type mepoitem.

ls_mepoitem = im_item->get_data( ).

break-point.

move 'NETPR' to <fs>-metafield.

move '.' to <fs>-fieldstatus.

append <fs> to ch_fieldselection.

read table ch_fieldselection assigning <fs> with table key metafield = 'MEPO1211-NETPR'."079.

if sy-subrc = 0.

<fs>-fieldstatus = '*'.

endif.

Former Member
Not what you were looking for? View more on this topic or Ask a question