05-22-2013 10:08 AM
Hi Experts,
My Requirement is to Remove the GR based IV tick while creating the PO.check box is available in PO line item Invoice tab.
i tried to remove the check using the enhancement ME_PROCESS_PO_CUST but it is not modifying . Please advise how to remove the tick.
Below is the code i wrote in PROCESS_ITEM method
LR_PO_ITEM_HANDLE ?= IM_ITEM.
CALL METHOD LR_PO_ITEM_HANDLE->GET_DATA
IMPORTING
EX_DATA = WA_MEPOITEM1
EXCEPTIONS
FAILURE = 1
OTHERS = 2.
LS_MEPOITEM-WEBRE = ''.
CALL METHOD IM_ITEM->SET_DATA
EXPORTING
IM_DATA = LS_MEPOITEM.
Thanks in advance.
Regards,
Nageswar
05-22-2013 10:25 AM
Hi Nageswar,
There are some fields that you cannot modify in BADI which are specific to configuration and are over written.
Debug your code on the BADI Call you will see it is overwritten later.
BR