Skip to Content
avatar image
Former Member

Custom Calander week (Sunday -Saturday)

Hello Experts,

we had a standarad 0calweek (Monday - Sunday) in the cubes and reporting, now our business wants to see custom Zcalweek (Sunday - Saturday) in the reports. I have gone through couple of posts in SDN, I got few idea's but not clear.

1) I create a factory calander, specifying Factory date start as 7, how to use the custom Factory Calander to define the zcalweek in cube level?

2) or I should write an ABAP code using Date FM's ? I am not clear how to implement this approach as well.

Sorry if this is a repeated question, can anyone kindly help?

Thank you.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 26, 2015 at 01:47 AM

    Hello,

    can any one please share inputs on this ?

    thank you

    Add comment
    10|10000 characters needed characters exceeded

    • Hello Kamala,

      Make use of the this FM DATE_COMPUTE_DAY, It will give what day of the week a particular day falls on. If it falls on 6 or 7 update ZCALWEEK using FM DATE_GET_WEEK.

      Regards

      Gajesh