01-07-2015 10:54 AM
Hi Team,
I have a requirement, while creating purchase requisition there is field in line item ‘Desired Vendor’. User will fill any one line item with ‘Desired Vendor’ field and when press enter the all the line item will be filled with the same vendor number though we currently do not use mixed vendor requisitions. If the user doesn’t fill ‘Desired Vendor’ in any line item and tries to save, an error message should show to fill it.
I tried to search the line item screen where is flow logic in loop I can implement the code but I am not getting the screen. Can anyone help me on this?
Regards,
Rama
01-07-2015 11:57 AM
01-07-2015 11:57 AM
Hi Rama,
Use BADI ME_PROCESS_PO to validate the line item information.
Method: PRCOESS_ITEM
Though this you can update the Line Item Information through the SET_DATA method of the IF_PURCHASE_ORDER_ITEM_MM,
which is the Import parameters of the PROCESS_ITEM.
regards.
Praveer,.
01-07-2015 1:24 PM
Hi Praveer,
I implemented the badi, but it is not working.
Regards,
Rama
01-07-2015 1:58 PM
Hi Rama,
have you activated the whole BADI or check an other implementation is exist for the same.
it should run.
Reagrds.
Praveer.
01-07-2015 11:57 AM
01-09-2015 7:44 AM
Thank You all for your timely help.
Actually the badi name is 'ME_PROCESS_REQ_CUST'.
Regards,
Rama.