12-09-2013 12:01 PM
Hi all,
In ME21N, po header in additional tab their two fields validity start and validity end ,
is their any exits or badi that validity start can be set default as document date...
Thanks ....
12-09-2013 12:03 PM
Please check ME_PROCESS_PO_CUST method open. Please read documentation and search for the same.
Nabheet
12-09-2013 2:10 PM
Hi,
Use BADI "ME_PROCESS_PO"
In this there is a interface PROCESS_HEADER from there you will get no of methods under it.
first in code call method GET_DATA to get header data details use RE_DATA. take document date and based on document date set validity start date and validity end date.
document date : field name : BEDAT
validity start date : KDATB
validity end date : KDATE
then call method SET_DATA to set this header data.
hope it helps
12-10-2013 3:58 PM