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: 

Remove GR Based IV tick while creating PO

Former Member
0 Kudos

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

1 REPLY 1

Former Member
0 Kudos

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