Calendar days

dear all,
in my development report i need to have a field of actual work days. where as if an employee takes unpaid leave, it has to be deducted from calendar days and has to show that today actual calendar days.
say example,in june there 30 calendar days and the employee has taken 1 unpaid leave. now the actual no of days has be shown as 29 days.
my question is,from which table do we pick value of 30days for calendar days. do we take value from payroll constant ksoll and tkau for unpaid absences or do we use any other table.

hi sikindar sir,
thats great to see that you have scored 20,060 points. thats really a nice one and great achivement. i congratulate you for achieving the milestone sir.
can i have your mobile number please,so that i can talk to you.
thank you very much for your reply.
ya,i have tried..but my problem now is those values should come into report.if we need to fetch in repot we need to use table na...
please sugges from  which internal tables we can fetch the data into reports.

Similar Messages

  • How to calculate a number of calendar days from a start date (e.g. 60 days from 3/10/2012)

    How to calculate a number of calendar days from a start date (e.g. 60 days from 3/10/2012)

    DT,
    If the starting date is in Column A, and you want to calculate what the date would be 60 days later, in Column B, write in Column B:
    =A+60
    Couldn't be much easier.
    Jerry

  • Calendar day and Calendar Year/Week  mapping

    Dear SDN,
    I am unable to view Calendar Year/Week and Calendar Day ...Data..
    I have observed that they have not mapped in the Update rules of 0SD_C03 InfoCube...
    I have checked all the InfoSources (2LIS_11_VAHDR, 2LIS_11_VAITM, 2LIS_11_V_ITM, 2LIS_12_VCHDR, 2LIS_12_VCITM, 2LIS_13_VDHDR, 2LIS_13_VDITM)...
    There in all the Update Rules...
    Update Rules -- Details -- Time Ref.---
    Time Characteristic of Fiscal Year Variant is mapped with Source fields of Fiscal Year variant
    similarly,
    Calendar Year/Month is mapped with Update Date Statistics
    But Calendar Year/Week and Calendar Day are Blanck...
    I am thinking they also should be mapped..
    Please suggest me how to resolve this...
    Help will be greatly appreciated with points..
    Thanks in advance..
    This is very urgent...

    Thanks...
    But i have already assigned my self...
    0calyear/week to Update date statistics...
    and
    0calendarday to Update date statistics..
    I have assigned points to you...
    Thanks for your informatioon

  • Calendar Day format (Xcelsius dash with LO prompts connected to SAP-BW)

    Hi guys.
    I built a dashboard using Xcelsius 2008 with a few LiveOffice prompts. Some are optional and these don't cause any issues, the only one causing problems is one of the two compulsory ones (the other is related to Calendar Month).
    The BW query connected to the universe on which the WebI query have been built has two variable selections: the first on Calendar Month, the second on Calendar Day. I haven't been able to find a way to pass Calendar Day data to the query.
    When I launch it from WebIntelligence, I select the value from a "calendar". This is the way it is displayed: "dd/mm/yyyy hh:mm:ss AM". When I select a value from this calendar and I launch the query, results are displayed in the proper way.
    I added the query to an Excel file that I've subsequently imported into Xcelsius. As I said before every other prompt works perfectly, the only one not working is the Calendar Day prompt. I tried passing this date in several ways, but I receive the message "Invalid format (LO 26000)".
    These ways include:
    - dd/mm/yyyy [0CALDAY].[AAAAMMDD]
    - dd.mm.yyyy
    - dd/mm/yyyy
    - yyyymmdd
    - ddmmyyyy
    Did anyone have ideas on how to pass these data in a proper way to the LO prompt from Xcelsius?
    Thanks a lot.

    Hi Kevin, we decided to scrap the "Calendar Day" use because we didn't find a solution to pass the data from Xcelsius to BW.
    There's still an issue. This seemed to work before but now it's not working anymore. We also have a Calendar Month variable. When Live Office creates a prompt on the Excel document, the variable is displayed like this (for instance, NOV 2009 [0CALMONTH].[200911]).
    To avoid problems with keys, I've also created a separate query containing a Month list of values and the string to be passed to BW is created putting together the informal name (NOV 2009) and the unique name ( [CALMONTH].[200911]). When I insert this time prompt in the Xcelsius document, I receive the LO26315 message. If I remove it (I've got other six prompts, none of them related to a date), everything works fine.
    Anyone ever had to pass a similar value from Xcelsius to BW?

  • IOS 7 Calendar Day View does not show any all-day events ?

    Hi,
    I realize that iOS 7 Calendar Day View  does not show any all-day events.
    Is this a bug ?
    Any help given is much appreciated.
    Thanks and Regards.

    Mine brings me right up to the current time, or in the case of another day, it takes me to the first appointment of the day.

  • How to get highest number of open cursors within the current calendar day

    Hi all ,
    i need to know how to get the highest number of open cursors within the current calendar day.
    Thanks ,

    823030 wrote:
    the issue is my customer is getting the error ORA-01000: maximum open cursors exceeded and we need an sql statment that gets the following values :
    -highest number of open cursors experienced in the current calendar day.
    -current open cursors
    -and maximum open cursorsThis error is rare. It happens when
    a) the value of the open cursor parameter is set extremly low (default is something like 1000). Low would be something like 10.
    b) <strike>you have many concurrent users(=sessions) and </strike>the application does not use bind values
    In this case each select will open a new cursor, instead of reusing it.
    c) you have a select that opens a cursor for each line. This can happen with a statement where you have the CURSOR keyword somewhere in the select or where clause. Those cursors will be closed when the select is finished. But during the run time of the select, all cursors stay open.
    To track the number of "open cursors" during the day you would need to implement some monitoring. Maybe based on the view that was already mentioned.
    Edited by: Sven W. on May 16, 2011 2:30 PM - since the parameter is on session level, other open cursors should not influence it much.

  • In a query, how to display the calendar day and the weekday in the heading

    Hi Experts,
    I am in a situation where I need to have calendar day and the weekday in a heading of a column in a query? we are in BW 3.5.
    Here is an example:
                         04.22.2007
                         Sun
    Branch 001      1,000.00
    Branch 002      2,000.00
    Branch 003      3,000.00
    in my query, this is a restricted key figure with sales qty and calendar day and I have a text variable to show the calendar day. In addition to that, the customer wants weekday as well.
    Not sure how to do this.
    Any help is much appreciated.
    Thanks.
    Jenny.

    Hello ,
          This InfoObject do not maintain the weekday ...so it is difficult to show the Weekday for a date as per the standard way.
              You need to write a Customer exit variable..and you need to use a Function Module : DATE_TO_DAY. This will convert your date to day ie 23.04.2007 = Monday.
          Note: This function module is not available in BW so try to copy this FM from R/3 system.
          I am sure this will solve ur issue:-)
                    --EnjoySAP
    Have a great day!

  • Converting Calendar day to Number of Days(Period to analyze in MC46)

    Dear All,
                Regards.We got a requirement where:
    1).The BW Report(Slow moving Item) should be in the same format as MC46.Like,having "Period to Analyze:No. of Days since consumption) in the input selection screen ,
    2) Calculate the Stock Value for the that particular day(Eg:For 30,60 or 100 Days backwards from Today)
    (Eg: Today:02/04/08
    Period to Analyze: 30days
    Day for which stock is calculated = 02/03/08).
    -The BW Standard report calculates for a Particular "Calendar Day(Period interval) rather than No. of Days  
      Guys,it would be fantastic if someone could take time to help me out with this issue...
    Manythanks
    Arun

    Check this one: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/11291595-0501-0010-c881-e02c27261b55 if it helps

  • How to get the calendar days of  last month in SAP HR Schema?

    Hi all,
       I have a question about the calendar days of last month, cause the customer calculated the salary not by natural month but cross-month, for example,
    for calculating salary of Aug, the time period may be 7.28-8.27, so I need the days of this period which is  the calendar days of  last month exactly.
    But I only knew GKSOLL was used for getting the calendar days of current month.
    If any place wrong, please guide me.
    Look forward to getting experts' help, thanks.
    Regards,
    May.

    Hi Sankarsan,
    Thank you so much for your help.
    The requirement I have described in detail when replying Viverk, you can take it as a reference.
    Cause my customer  don't want to use retro in SAP system, so I noted the schema about  retro.
    Now my question was how to get the last month calendar days in Schema. For example, now I am calculating the salary of July, the full attendance will be 30 days(06.28-07.27), in rule GKSOLL will get 31 days, so it's not right.
    I hope you can get my point, below is the wrong rule.
    Please guide me to correct it, thanks.
    Regards,
    May.

  • No Selective Deletion on Inventory Cube 0IC_C03 via Calendar Day

    Hi,
    I need to repair my Inventory Cube <b>0IC_C03</b> for a certain date. To do that, I need to perform a <i><b>Selective Deletion</b></i> on the Cube and perform a <b>FULL REPAIR REQUEST</b> limited on that day only.
    But to my surprise, I could not find a Calendar Day entry in the "<i>DeletionSelection</i>".
    Is there a workaround or do I need to switch on anything?
    --Jkyle

    Hi Roberto,
    You are too humble! Everybody knows you are the <b>ONE</b>
    (he heh from the <b>MATRIX</b> movie)
    Anyway, I dont think Export Datasource would help. As you may know, Inventory Cube <b>0IC_C03</b> uses 2LIS_03_BX and 2LIS_03_BF data sources. This <b>CUBE</b> is somehow special.
    To cut this problem short, I'll go straight to the point. <i>How could I perform INIT via 2LIS_03_BX and 2LIS_03_BF w/o R/3 downtime at all</i>? The reason I came to this <i>Selective Deletion</i> thing is to patch up the mess the INIT would introduce when there are users around by using a REPAIR FULL REQUEST only for that single day...
    I hope you get what I mean...
    Thanks!
    --Jkyle

  • Current Calendar Day on Selection Screen as Default

    Hi,
    I have a situation where i need to have a variable which pulls up current calender day as a default value in the selection screen.
    Here users can use the default value if they want or else they should be able to change the default value to their requirent date.
    I have gone thorugh number of posts in this forum , but non solved my problem . that is the reason i am posting new thread. Please suggest.
    Thanks,
    Kumar

    Hi Kumar,
    You can use the SAP standard  0DAT ,this will display the current calendar day.
    Or
    We can write it in CMOD 
    Create A variable by name Y_SDATE in the QD and in CMOD u can write this piece of Code.
    WHEN 'Y_SDATE'.
            SY_DATE = SY-DATUM .
            IF I_STEP = 1.
            L_S_RANGE-LOW  =  SY_DATE .
            L_S_RANGE-SIGN = 'I'.
            L_S_RANGE-OPT  = 'EQ'.
            APPEND L_S_RANGE TO E_T_RANGE.
        ENDIF.
    Hope this helps
    Rgds
    SVV123

  • IOS 7 Calendar Day View Bug

    When I check the Calendar Day View on the Notification Center, it only reveals the first five hours of the day (ie until 5am). No matter what time of the day it is. It should instead just show the upcoming hours as far as I know.
    I do not have this issue on my iPad, but it is a constant problem on my iPhone 4S. I have tried rebooting the device, to no avail! Has anybody else experienced this problem and managed to solve it?
    Regards,

    Mine brings me right up to the current time, or in the case of another day, it takes me to the first appointment of the day.

  • Calendar day number?

    Hello gurus, I am trying to to create a report in which I display the number of people that checked in and out of a hotel. I need this report to be shown daily. The problem is that I need a comparison between each day and last year's same day. I currently have (ignore the '/'):
    /////////////////////////////////////////KF 2007/////////////////KF 2008
    0CALMONTH2/0CALDAY
    Jan
    ////////01.01.2007
    ////////01.02.2007
    ////////01.03.2007
    ////////01.04.2007
    and so on, until yesterday.
    Right now the report is not working correclty. On KF 2007 I have created a selection which includes the amount of check ins, displayed by "current calendar year" (SAP exit variable) with a -1 offset. The same goes for KF 2008 but without the offset. The problem is that 0CALDAY takes values from 2007 and 2008, so the report gets partially populated on 2007 days (because KF 2008 is all blank) and partially populated on 2008 days (because KF 2007 is all blank).
    I thought about having a Calendar Day characteristic in which month and year fields were removed (so it would only show 01-31 for each month) and was looking on the business content to see if there is already a characteristic that would meet this requirement. However, I could not find one. Does such a characteristic exist, or how can I create one? Or if this is too complicated, how can I get around this problem?

    My requirement has changed slightly. Now what is needed is a characteristic which gives me exactly the day of the month, and a characteristic that gives me the month in text. 0CALMONTH2 gives me the month in numbers (1-12) but I need their names (January-December), and what I have seen is that this characteristic does not allow me to display them as text. And for the day characteristic, I cannot find one which gives me the day of the month (1-28, 1-29, 1-30 or 1-31 dependeing on the month).
    Any ideas?

  • Assign predecessors in calendar days, while working only business days

    I would like to try to put my predecessors in terms of calendar days - as this is what I'm dictated. I would like it to count calendar days and schedule business days.  i.e. Task #1 needs to happen 10 calendar days after the start of the project.  
    However, I would only like tasks to be scheduled on standard working days (M-F, 8-5).  If Task #1 were to fall on a holiday or weekend it would be desirable to have the task be scheduled subsequently.
    As you can see in the attached picture, from the award date, the first weekly teleconference is not 4 days later it's been scheduled for the following monday, which works.  But for the kickoff meeting, 10 days should be the 11th, which is a Saturday. 
    Following the same logic the task should be scheduled for Monday the 13th. 
    Task                            | Duration        |  start            
    |    Finish                 |    Predecessor
    Contract Award            | 0 days          | Wed 10/1/14  |  Wed 10/1/14      |         
    Weekly Teleconference | 869.13 days | Mon 10/6/14   | Mon 3/19/14       |      1 ss+4days
    Kickoff Meeting             | 2 day?          | Wed 10/15/14 | Thu 10/16/14     |      1ss+10days
    (sorry i have to type it out, i'm unable to attach a picture)

    skikeb122,
    Enter your link information as follows:
    1SS+4edays
    1SS+10edays
    John

  • Calendar Day Link to Another Page

    I have a Page which has Date as LOV with Submit With Select (This is Page 10)
    e.g. User selects a date, report is displayed based on date selected. This is done using Select list with Submit. Date is populated using LOV based on query. The default value of date is Maximum of date in on of my date column.
    The above think works great. No problem so far.
    I want to create calendar view which is another page (This is Page 20) .
    Calendar is created using Calendar wizard. In Calendar, I want to link Day to above Page. I can create day link which links back to Page 10 and also report data is displayed based on date selected in Calendar.
    Now, the problem: The problem is value of Date field on above page (Page 10) is always set to default value. Although, I have said that default value should only set when session state is NULL.
    So my question is why Date (Display value) is not set to value passed from Calendar Page. I have checked Session info and correct value of date is present.
    What should I do to correct this problem ?
    The other question is :
    How to disable calendar day link when there is no data to be displayed ? At present, as soon as I create a Day link, all the Days in Calendar are linked, what I want is, to hightlight/clickable which has only some data.
    How should I do this ?
    Thanks
    Sanjay

    Sanjay,
    Instead of using the Day Link feature, you can create a link in the SQL query for the calendar region. This will accomplish both of your goals: It will pass the value to your other page, and it will only appear for days where there is a value.
    If you look at the Orders page of the sample application, you'll see that the SQL for the calendar is :
    select '<a title="Order Detail" href="f?p=&APP_ID.:29:' || :APP_SESSION || '::::P29_ORDER_ID:' || order_id || '">' || to_char(order_total, '$999,999') || '</a>
    ' ord, order_timestamp
    from demo_orders o, demo_users u
    where o.user_id = u.user_id and (u.user_name = :APP_USER
    or :APP_USER = 'ADMIN')
    The query returns two columns: The value to display, and a date. In this case, the value to display is a link to another page. The link passes a value for the P29_ORDER_ID value.
    Documentation for the link syntax is available here: http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10992/mvl_fund.htm#sthref446

  • Calculating the planned delivery time in calendar days or working days

    Hi,
    It seems that there is a way to calculate the planned delivery time in calendar days instead of working days.
    When I use the "Planned delivery time calculation" (WPDTC), in Evaluation Options, I got the message :
    "Note that follow-on applications are currently interpreting the planned delivery time as calendar days.
    If they should be interpreting the planned delivery time as working days, you need to modify these applications. If the planned delivery time should be calculated in working days, there needs to be a factory calendar in Customizing with the calendar ID Country of vendor."
    When MRP create a PR -with MDBT, MD03 or MD01- I want my Planned delivery time to be in working days.
    I can't manage to make that "If the planned delivery time should be calculated in working days, there needs to be a factory calendar in Customizing with the calendar ID Country of vendor."
    I would appreciate your help.
    Thanks
    PYR

    Hi,
    I understand that it makes sense that vendors calendar has to be different (compared to my plant).
    But, I still don't understand why in the SAP help, they say "If the planned delivery time should be calculated in working days, there needs to be a factory calendar in Customizing with the calendar ID Country of vendor."
    It seems that planned delivery time may follow a calendar.
    Thanks,
    PYR

Maybe you are looking for