on 2009 Dec 10 1:07 PM
Hello Everybody ,
My req is that i to fetch back date from my currrent date .
like if i mention 5 days in one variable Now my report shows 5 days back date with respect to current date .
ex : if current date is 09/12/2009 then report should give me O/p Like 04/12/2009
IF date is 01/01/2009 then it should goes to 27/12/2008 if we minus 5 days .
I am looking for the function module in SRM server please suggst me any function module for this one .
Regards,
Sandeep Jadhav
Request clarification before answering.
Hi,
You can create simple FM with simple logic like below:
data lv_date like sy-datum.
lv_date = (Input date) - 5.
lv_date will give the required date.
Hope this solves your problem.
Thanks
Venkatesh P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sandeep,
Your query is very broad. There are many functions in the SRM and other SAP systems to determine dates/times but to fulfill a request like your one perhaps some coding within a Badi is more effective? If you are trying to achieve something like leadtime values then you can use functions like BBP_CHECK_LEAD_TIME.
Regards,
Jason
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.