Understanding of PCR Rule based on calendar days

I wrote below pcr 8000/31 days = 258 It should add 258 to wage type 1400 but it is throwing an error

Table
Rule
In XT00
This is what it shows

Similar Messages

  • 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

  • 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.

  • Factoring based on 26 days

    Hi friends
    The client requirement is to calculate payroll based on 26 days flat.  I am sure we will face issues in the month of February where we have only 24 working days and month like March(27 days), April(25 days), May(27 days) and August(27 days). Could anyone please adivse me on the possibile problems which can occur if we go for this.  Would like to understand the scenarios in case if some employees leaves or joins in the middle of the month and what would be the payroll calculation.
    Friends please help.
    Santhosh.S

    Hi
    Could you please help me with an example like if the employee join on 12th Feb what would be his salary for that month likewise if an employee resigns in the month of March. 
    Regards
    Santhosh.S

  • 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.

  • 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

  • Transit Time in Calendar Days?

    Hello,
    For quite a long time, I thought in transportation and delivery scheduling the TRANSIT TIME is measured in Calendar Days, which means weekends and public holidays are also included. For example, if the delivery date is 2007-12-31, and transit time is 8 days, the system will calculate Loading Date as 2007-12-31 minus 8, which is 2007-12-23.
    But a few days ago, I found my understanding is not correct. It seems the TRANSIT TIME is also measured in work days, in the route factory calendar (not the shipping point factory calendar). In this case, the loading date in above example will be calculated as 2007-12-19, for a typical calendar.
    Can someone confirmed this?
    Regards, Ke

    Yes that's right Ke.
    The calendar you maintain, if has a weekly off or for that matter country specific holidays these days will be considered as non working days in SAP. however if you want to change this you can define your own calendar having 365 days working.
    Regards
    Ranjeet

  • Rule based query

    Hi all,
    please forward information about Rule Based Query, actually i am nott getting what is rule based query, please help me out....
    Thanks and Regards,
    Santosh

    rule based optimizer is a older technique and cannot be used efficiently to optimize a query, now -a- days only cost based optimization would be effective and these are categories under which a query can be tuned. usually explain plan on a query would fetch you the rule or cost based information....Thank you

  • "Current Calendar Month" vs. "Current Calendar Day (SAP Exit)-1" why this?

    Hi,
    we are looking at a situation regarding Yerterday's data against MTD for the same restricted key figure. The believe is that MTD(Jan 10) less MTD(Jan 9) should be equal to Yesterday(Jan 9) i.e. yesterday's data, assuming today is Djan 10 2007.
    Unfortunately it is not happeing like that. Any ideas as to what may be going on?
    "Yesterday" is the key figure is restricted by
    "Calendar day" restricted on "Current Calendar Day (SAP Exit)-1"
    "MTD" is restricted on
    "Cal. Year/Month 0CALMONTH" restricted on "Current Calendar Month 0CMONTH"
    Shouldn't the Yesterday and the difference between MTD as described above be the same?
    If not, how should the time char be handled to get what I am looking for?
    Thanks

    HI,
    thanks for the example ... let me correct what you did not get:
    Using your exmple,
    MTD(Jan 10) = 1500
    MTD(Jan 9)   = 1400
    Therefore, MTD(Jan 10) - MTD(Jan 9) = 1500 -1400 =100
    But on Jan 10, when I say Yesterday, I am referring to Jan 9 = 600
    Why is Yesterday, calculated based on the cummulative difference of the two MTDs not equal to the raw Yesterday?
    This is where the confusion is. Somebody got the report for MTD(Jan 9)  and noted the number down. Then on the next day got the report for MTD(Jan 10)  and noted the numberber down. When she takes the diffference and get 600, she expects that when she compares it to the Yesterday's data she gets the same numbers. Why is it that also in your example it does not happen that way.
    Thanks

  • 'Average Weighted with Calendar Days' in Exception Aggregation

    Dear specialists,
    I have created a query with a lot of calculated keyfigures.
    One of my calculated keyfigures shows percentage values.
    When I select a calendar day, my report shows correct results
    for the percentage values.
    But when I execute the report without selecting a calendar day,
    I get strange results like 3,21 % instead of 97,49 %.
    There is a new functionality with version 7.0, where we can set
    Aggregation properties like 'Average Weighted with Calendar Days' .
    But when I select this with Ref. characteristic 'calendar day',
    my report does not show any value or any result.
    Are there any other properties to set in Aggregation or Calculations.
    Please give me more information about this issue
    regards Osman Akuzun

    Hi,
           When you define an Exception aggregation on number of work days. There might be some reference characteristic defined in your Bex.
    For exmaple, take a scenario like below. Your BW data is like below
    0Employee           StockIssued
    XXX                            50                                
    XXX                            10              
    YYY                           20              
    YYY                            30             
    YYY                            40             
    ZZZ                            50              
    ZZZ                            100            
    ZZZ                            30              
    Suppose the first row which has values like XXX and 50 is not a working day and remaining all are working days then the exception aggregation applied using AV2 on the characteristic  0Employee will be caluclated in your Report as below
    For XXX, it will       10/1 = 10 (because only 1 working day for the employee XXX)
    For YYY, it will       90/3 = 30 (because all  3  are working days for the employee YYY)
    For ZZZ, it will       180/3 = 60 (because  all  3  are working days for the employee ZZZ)
    This is how the exception aggregation works. Try to see the similar kind of example in your system and try to relate in the same lines explained by me. You can understand.
    Regards
    Sunil

  • How a time entry rules based on mapping works?

    Thanks a lot in advance for your help. I need to understand a seeded time entry rule Overlapping Time Entries. it looks like this:
    Name: Overlapping Time Entries
    Description: Seeded Overlapping Time Entries
    Usage: Submission / Resubmission / Delete
    Formula: NA
    Mapping: OTL Deposit Process Mapping
    I have done several time entry rule based on fast formula, but I don't understand this one that based on Mapping, could someone help me understand how it works?
    Thanks!
    -Bill

    Hello All,
    We are also having a Similar Issue , where Employees can enter work Hours on Holidays also.
    Eg:
    Sunday
    Regular: 08:00 to 10:00
    2hrs
    Holiday: 08:00 to 17:00
    8hrs
    Total 10 Hrs
    Iam getting the Overlapping Error when trying to save/continue.
    Can anyone Please help on this ?
    Hi Bill,
    were u able to resolve the issue.
    thanks,
    Rams
    Apps Consultant

  • To change hospitalised quota to absence days instead of calendar days

    Hi experts,
    Current setting hospitalised quota in my company is 40 days per annum. However, it is included non-workings days (Saturday& Sunday). I want to change the setting so that hospitalised qouta will deduct only absence day. Not Calendar days. Where the config that I can change it. Thanks in advance

    Hi,
    You need to change the Counting Rule and check on the option Planned Hours>0.
    After this the couting rule will take into account only the weekdays.
    Let me know if it resolves the issue.

  • How to fetch the data records in summary format based on previous day

    drop table T1;
    create table T1(Class, Fees_Collected, Submit_Date) as select
    'MBA', 100000, '7/30/2012' from dual union all select
    'Btech', 20000, '7/10/2012' from DUAL union all select
    'MBA', 45000, '8/1/2012' from dual union all select
    'Btech', 55550, '7/31/2012' from DUAL union all select
    'BBA', 250660, '7/30/2012' from dual union all select
    'MBBS', 44556000, '7/31/2012' from DUAL union all select
    'BDS', 420050, '8/1/2012' from DUAL union all select
    'BBA', 30450, '7/30/2012' from DUAL union all select
    'MBBS', 120450, '7/31/2012' from DUAL union all select
    'BDS', 45950, '7/30/2012' from DUAL union all select
    'MBA', 252450, '8/1/2012' from DUAL;My requirment is to fetch the records based on summary format to display the data with following columns -
    Class |Prev Day Traded Value |Prev Day % of Total |Prev Day % MBA
    Note - Previous Day definiton (Buisness Day) = calendar days - (weekends + US Holidays)
    Kindly help me, as i want to keep it customized so that without specifying the hard coded dates ( Previous Day) it runs through and provide me the resultset....
    All of your help and time is highly appericated.

    You mean business days I guess ?
    I use a function (I had to write it myself) <tt><b> next_business_day(p_start_date in date,p_days_count in number) return date </b></tt>
    where I loop forward/backward from p_start_date according to the sign of p_days_count the required number of steps skipping weekends and holidays as the absolute value of p_days_count is mostly under 30 for the rest (at least around here) Oracle's <tt><b> add_months </b></tt> gets it done.
    Regards
    Etbin
    Edited by: Etbin on 6.8.2012 17:55
    Year till date: <tt><b> your_date between trunc(sysdate,'year') and sysdate </b></tt> is it ? http://en.wikipedia.org/wiki/Year-to-date ?
    Edited by: Etbin on 6.8.2012 18:27
    NOT TESTED!
    function next_business_date(p_start_date in date,p_count_days in number) return date is
      steps  number := abs(p_count_days);
      retval date := p_start_date;
    begin
      if p_start_date is null or p_count_days is null then
        return to_date(null);
      end if;
      while steps > 0
      loop
    /* skipping weekends and (yet to be implemented) holidays */
        while to_char(retval,'dy') in ('sat','sun') /* or is_holiday(retval) */
        loop
          retval = retval + sign(p_count_days);
        end loop;
    /* retval contains a business day now */
        retval = retval + sign(p_count_days);
        step := step - 1;
      end_loop
      return retval;
    end;

  • Rules based on a nickname/original destination address

    We have a zentral post-Admin account which collect different
    email-destinations via nicknames (Fax@DNS, Bill@DNS, Sales@DNS, ..).
    Now we want to move incoming emails based on the original email-address,
    same as the used GW nickname, to different folders. Example is Fax@DNS
    should be moved to a folder Fax. We see the nickname in the incomming
    mail but we cannot find a working rule.

    Dear Danita,
    sorry holiday delayed my answer.
    I will try next day and response.
    Thanks,
    Bodo
    =============================ðWðWðWðWðWðWðW ðWðWðWðWðWðWðWðWð6ðWðWðWðWðWðWðWð WðWðWðWðWðWðWðWðMEBSware Informatik GmbHðWðWðWðWðWðWðWðWðWðWðWðWðWðWðW 6ðWðWðWðWðWðWðWðWðWðWðWðWðWðWðWðB odo SchulzðWðWðWðWðWðWðWðWðWðWðWðWðWðWð Wð6ðWðWðWðWðWðWðWðWðWðWðWðWðWðWðW ðWðWðWðWðWðWðWðWðWðWðWðWðWðWðWð6 WðWðWðWðWðWðWðWðWðWðWðWðWðWðWðBodo .[email protected]ðWðWðWðWðWðWðWðWðWðW WðWðWðWðWð6ðWðWðWðWðWðWðWðWðWðWðW ðWðWðWðWðwww.mebsware.deðWðWðWðWðWðWðW ðWðWðWðWðWðWðWðWð6ðWðWðWðWðWðWðWð WðWðWðWðWðWðWðWð========================== ===>>>
    Von: DZanre<[email protected]>
    An:novell.support.groupwise.2012.agents
    Datum: 16.01.2013 20:45
    Betreff: Re: rules based on a nickname/original destination address
    Bodo Schulz wrote:
    > Example is Fax@DNS
    > should be moved to a folder Fax.
    I actually have a lot of rules that work on nicknames. I realize that I'm
    coming to this message "late", but the easiest way to troubleshoot rules is to
    first just do a "filter" in the inbox to find what works.
    Do a find for "to: contains [email protected]" - do you get the results you
    expect? If so, then a rule on that query should also work.
    Danita
    Novell Knowledge Partner
    http://www.moveoutoftheoffice.com

Maybe you are looking for