Skip to Content
author's profile photo Former Member
Former Member

Calculating YTD and MTD in SAP BEx

Hi Experts,

In below I want to calculate MTD and YTD on Breakdown key figure. Could you please give steps how I can achieve that.

We don't have 0cal day and most of the example which I seen in scn form are based on calday.

We've only Calmonth and calyear.

We've derived Week commencing from print date in backend.

Could you please share steps how can I achieve this?? Please share screenshots with sample code..

Capture.PNG (33.7 kB)
Capture1.PNG (23.1 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2014 at 03:57 AM

    hi,

    If you dont have calday in cube then how do you intend to divide your monthly data? if you want to divide equally, then add the calday in cube and map it to calmonth (applying time distribution). post this you can use the calday to calculate MTD/YTD.

    regards,

    Arvind.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 25, 2014 at 04:09 AM

    Hi,

    if don't have the 0CALDAY object how we can calculate the MTD or YTD.

    if have any source side created on or changed on data or modified data map the tranformations form dates fields to 0CALDAY.

    ask the your source team they will provide the one date.

    after loading the data into cube check the 0calday column have data

    after calculating the MTD or YTD is easy in bex.

    Thanks,

    Phani.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.