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: 

Change fields' attributes in customer tab (ME21N)

david_manras
Explorer
0 Kudos

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

1 ACCEPTED SOLUTION

david_manras
Explorer
0 Kudos

Solved.

You can see note 1487572

2 REPLIES 2

david_manras
Explorer
0 Kudos

Solved.

You can see note 1487572

note 1487572 not exist.