Hi,
I tried to implement BAdI ME_PROCESS_PO_CUST but the method FIELDSELECTION_ITEM is only executed for Customer fields due to this code in FM MEPOBADI_FS_ITEM:
loop at ch_fieldselection assigning <fs1> where metafield ge mmmfd_cust_01.
insert <fs1> into table lt_fieldselection.
endloop.
if sy-subrc is initial.
call method l_instance_cust->fieldselection_item
exporting
im_header = im_header
im_item = im_item
changing
ch_fieldselection = lt_fieldselection.
loop at lt_fieldselection assigning <fs2>.
read table ch_fieldselection assigning <fs1> with table key
metafield = <fs2>-metafield.
if sy-subrc is initial.
<fs1>-fieldstatus = <fs2>-fieldstatus.
endif.
endloop.
endif.
How can I make the method execute for non-customer fields e.g. Gross Price Amount in the Conditions tab in the Item Detail?
The other call to a FIELDSELECTION_ITEM method is through the BAdI ME_PROCESS_PO however there is no code within that method and I cannot change it since ME_PROCESS_PO is an internal SAP BAdI.