08-05-2013 3:06 PM
Hi everybody,
I'm trying to change the attributes of a customer field in a new tab in the purchase order. I have used the BAdI's:
ME_PROCESS_PO_CUST
ME_GUI_PO_CUST
And I've modified the field's attributes in the method FIELDSELECTION_HEADER.
Something like that:
IF l_persistent EQ mmpur_yes.
READ TABLE ch_fieldselection ASSIGNING <fs> WITH TABLE KEY metafield = mmmfd_cust_01.
IF sy-subrc IS INITIAL.
<fs>-fieldstatus = '*'. " Display
ENDIF.
ENDIF.
ENDIF.
It works fine, but I have a problem because I want to change the attributes depending of the value of the company code, but this method is not accesible when I change the company code, I mean this method isn't in the call stack.
Do you know what is the problem and if it possible to solve that?
Thanks in advance
Best regards
09-23-2013 9:38 AM
09-23-2013 9:38 AM
10-05-2020 11:20 AM