Skip to Content
0
Former Member
Apr 28, 2009 at 10:11 AM

No update EKPO-ZGTYP in ME22N

142 Views

Hello experts,

I've inserted following code in method IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM in order to clear the certificate type when the document type is ZIC of UB. When I debug this the field ls_item-zgtyp gets cleared. When I check EKPO-ZGTYP to confirm the change, the field still contains a value.

Has anyone seen this before?

*-Check document type

IF ls_header-bsart = 'ZIC ' OR ls_header-bsart = 'UB '.

*---initialiseer

clear: ls_item-zgtyp.

*---set data

im_item->set_data( ls_item ).

ENDIF.

Kind regards,

Aart