Application Development and Automation 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: 
Read only

problem with ME_PROCESS_PO_CUST setting fields to update..

Former Member
0 Likes
538

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

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

1 REPLY 1
Read only

Former Member
0 Likes
465

I was under the impression that the mmmf fields were added when new fields were added. seems that you can only use the 10 fields available