Skip to Content
0
May 07, 2010 at 02:27 PM

problem with ME_PROCESS_PO_CUST setting fields to update..

73 Views

I try to add new fields to a purchase order, everything works fine, I added the fields in CI_EKPODB and CI_EKPODBX

also changed structure ZPO_CUST_FIELDS and changed the screen in SAPLZ_PO_CUST_FIELDS

ME_GUI_PO_CUST is implemented ( it already was since we already had custom fields)

in ME_PROCESS_PO_CUST we have FIELDSELECTION_ITEM where I can set if the field needs to be editable or not.

for 1 field that has happenend in the past and the code reads

IF gt_trtyp NE 'A'.           " Transactietype <> Weergeven
    READ TABLE ch_fieldselection ASSIGNING <fs>
         WITH TABLE KEY metafield = mmmfd_cust_10.
    IF sy-subrc EQ 0.
      <fs>-fieldstatus = '.'.     " Veld is wijzigbaar
    ENDIF.
  ENDIF.

when I check out the mmmfd_cust_10 I see that it is somehow linked to the old custom field

now I added more custom fields but I can't find there needed mmmfd fields ??

do they need to be generated somehow ? I can't find anything in the documentation or sdn about those fields ?

so the fields are visible in me22n but I have to set them to editable ! if there are more sollutions to this problem I'm glad to hear

kind regards

arthur de smidt