Get calendar week based on the user selected date for a KF

Question: Dear all,

I have a query in which a user enters single posting date. I have two key figures
1. Cost for the entire week that posting date falls into. so if the user selects a date 05/14/2003 then cost is associated for the entire week 05/11/2003 to 05/16/2003.

2. YTD(Year to the selected Date) The second key figure based on the above example for cost associated from 01/01/2003 to 05/14/2003.

Any suggestions as how to do this.

thank you in advance.

Raj

Answer:
ABAP Coding is your only hope ...
_________________
When my car stops, I first look at the gasoline's level before dismounting the engine.


Tuly Idiot's fan club active member.
Copyright ?2007 - 2008 www.jt77.com