Skip to Content
0
Former Member
May 07, 2008 at 03:11 PM

Get Date of Sunday of current week.

327 Views

I have to create a customer exit on a DATE InfoObject (YYYYMMDD) , that will fill the variable with the date for Sunday of the current week. How do I go about this?

Moreover, I will be taking the date for this Sunday and getting the dates for previous thirteen Sunday(s) also. I know I can do this using the variable offset function in BEx once the date for the current week's Sunday is filled, but is it better to do this in the user exit?

Thanks

Edited by: Vedant Bhanderi on May 7, 2008 5:11 PM