|Home • Technical • Interview Q's • Jobs • Testimonials • Contact Us|
Populate the Latest GR Date based on the Delivery Date in the PO Creation(ME21N) and Change(ME22N)
By Khaja Moulali Shaik, Siemens IT Solutions and Services
creating a PO (ME21N) or changing the PO (ME22N), the ‘Latest Possible
Goods Receipt Date’ should be
calculated 60 days to the Delivery Date and it should populated
This functionality will work, only the user click on ‘CHECK’ or ‘SAVE’
by Step Solution:
to Transaction Code SE19.
the Classic BADI Name as ‘ME_PROCESS_PO_CUST’.
Click on ‘Create Implementation’ to
implement the BADI.
Please check whether this BADI is already implemented in the system or not. If
yes, use the Implemented BADI only. Because this BADI is not for multiple use.
check whether the BADI is for multiple use or not,
SE18àBADI Name à Enhancement Implementation à
the implementation Name and click on ‘Continue
the meaningful description for that implementation.
our requirement, we need to change the Latest GR Date based on the Delivery
Date. This process is done in Item Level. So, we will use the method ‘PROCESS_ITEM’
in the class ‘ZCL_IM_ME_PROCESS_PO_NEW’.
class will create automatically. Class name will be combination of First letter
in Implementation name (Z), ‘_CL_IM_’, and the remaining letters in implementation name (ME_PROCESS_PO_NEW).
click on the method ‘PROCESS_ITEM’.
And save it.
will provide you the editor to write the code.
the below code in between Method and End Method.
IF sy-ucomm EQ 'MECHECKDOC' OR
Activate the method and implementation also.
Please send us your feedback/suggestions at webmaster@SAPFunctional.COM
©2006-2007 SAPFunctional.COM. All rights reserved.
product names are trademarks of their respective companies. SAPFunctional.COM,
Inc. is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards