Restricting Data on month

Hi,
We have a report in which we need to calculate all the employee hours per month, but at the same time we have a condition that says to supress all the Employees who work more than 40 hours a week, my question here is how do we relate weekly hours to mothly hours, since each month might have more than 20 working days. Any help on this will be appreciated.
Thanks,
Varun.

HI i am not using any customer exit. i have hours comming from a key figure, i am concerned about how to do the calculations for the month. i need to eliminate all the employees who works more than 40 hours per week.
But on my report i need to display the hours month wise, so my question is a month can have 20 working days or 21 or 22 or 19. How do we identify this and is there any method.
Thank You,
Varun.

Similar Messages

  • Restrict last date of month from date picker

    Hi All,
    I have a requirement to restrict the date picker.
    I want to allow the user to select only the last date of the month from the following four months march, June, September and December.
    I have googled about this i couldn't get related that except that restrict invalid days/months.
    Please suggest to find solution for this.
    My Jdev version is 11.1.2.0.0
    Thanks in advance,
    SAN

    Hi,
    Have a backing bean to construct a list of days to be disabled and set that to disabledDays property of the picker component.
    Ex : Re: Bug on the property "disabledDays" of the component af|inputDate ?
    -Arun

  • Restrict Data Input in an Input Schedule for a particular number of days in a Month

    Hi All,
    I want to restrict data save in Input Schedule for any particular number of days in a month. BRAD will select number of days for the that particular month and data input for that duration should be disabled.
    Duration will be dynamic and will be decided by BRAD.
    Basically this is a requirement of BPF, but I have thought of doing in this manner.
    Regards,
    Mayank

    Hi Vadim
    I saw your this solution:
    Dim epm As New FPMXLClient.EPMAddInAutomation
    Dim blnMySave As Boolean
    Public Function BEFORE_SAVE() As Boolean
    If blnMySave Then
        BEFORE_SAVE = True
    Else
        MsgBox "Please use button on the worksheet!"
        BEFORE_SAVE = False
    End If
    End Function
    It seems as if this may help me, but can you please guide me how to trigger this function for a change of value in any particular cell, in an input form.

  • Restrict Date Range

    Hi All,
        I have a select-option for Date.I need to restrict dates within a month??
    How can i do that??

    Hi ,
    Same problem i also faced , so you will follow below code you will get the solution definately .
    SELECT-OPTIONS : S_CALP   FOR RFPDO1-SZISABRZ NO-EXTENSION obligatory , "date
    DATA:
          v_text        TYPE STRING,
          v_from_month  TYPE STRING,
          v_to_month    TYPE STRING,
          V_LEAP TYPE I .     "leap year variable
    From/To date validation
      CLEAR : v_days .
      CALL FUNCTION 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
        EXPORTING
          I_DATE_FROM = CALC_PERIOD_FROM  "date low
          I_DATE_TO   = CALC_PERIOD_TO  "date high
        IMPORTING
          E_DAYS      = v_days.
    From/To date validation
      clear : v_text , v_to_month , V_YEAR ,V_LEAP.
      v_text = CALC_PERIOD_FROM .
      v_from_month = v_text+4(2).
      clear : v_text .
      v_text = CALC_PERIOD_TO .
      v_to_month   = v_text+4(2).
      V_YEAR = v_text+0(4).
    IF NOT V_YEAR IS INITIAL .   "logic for leap year .
      V_LEAP = V_YEAR MOD 4 .
    ENDIF .
    ****logic for  months validation
      IF NOT v_from_month = v_to_month .
          RETURN-MESSAGE = 'From/To Month should be same !'.
          APPEND RETURN.
          EXIT.
    ENDIF .
      IF ( v_to_month = '01' OR
           v_to_month = '03' OR
           v_to_month = '05' OR
           v_to_month = '07' OR
           v_to_month = '08' OR
           v_to_month = '10' OR
           v_to_month = '12' ) .
        IF NOT v_days EQ 30 .
          RETURN-MESSAGE = ' Please Enter Valid Date !'.
          APPEND RETURN.
          EXIT.
        ENDIF .
      ELSEIF  ( v_to_month = '04' OR
                v_to_month = '06' OR
                v_to_month = '09' OR
                v_to_month = '11' ) .
        IF NOT v_days EQ 29 .
          RETURN-MESSAGE = 'Please Enter Valid Date !'.
          APPEND RETURN.
          EXIT.
        ENDIF .
      ELSEIF v_to_month = '02' .
        IF V_LEAP = 0 .
          IF NOT v_days EQ 28 .
            RETURN-MESSAGE = 'Please Enter Valid Date !'.
            APPEND RETURN.
            EXIT.
          ENDIF .
        ELSE .
          IF NOT v_days EQ 27 .
            RETURN-MESSAGE = 'Please Enter Valid Date!'.
            APPEND RETURN.
            EXIT.
          ENDIF .
        ENDIF .
      ENDIF .
    Regards ,
    Nilesh Jain .

  • Need to get data for month entered in  user prompt to prior 12months.

    Hi,
    I have a report where i need to display total amount for current month  to prior  12 months data...first column will be current month, second column is (current month-1),3rd col: (current month-2)....( current month-12).
    Is there any way I could use current date to get previous 12 months in  variables?
    For example: if  current date is 02/15/2010, I need get  data for 01/2010, 12/2009, 11/2009,....01/2009.
    For example: if I entered Month: 03  and year:2010 in prompt , then I need to get data for prior 12 months to that in the prompt for month:03?.

    The only way to do this is using restrictions on Universe... here you can have the restrictions for every month or a range using the user prompt and the system date.
    Regards

  • HT1689 since doing the 7.0.4 update i notice that my mobile data has doubled and i am running out of data mid month.  I've disabled apps s not many running.  Any suggestions?

    since doing the 7.0.4 update i notice that my mobile data has doubled and i am running out of data mid month.  I've disabled apps s not many running.  Any suggestions?

    I am having the same issue even with the newer 7.1. I have a 1-100 KB data push on both my husdand's and my phone every hour on the hour (i.e. my will be at :23 of the hour and his will be at :13 of the hour and it will change). This is whether we are on a WIFI and with all apps, background refreshes, push notifications, etc turned OFF.

  • When I pre ordered my iphone 6 i was told I was going to get an additional 1 gig of data per month for a year.  It even shows it on the receipt i received with the phone.  When will I see that reflected on my account.  I have had my new phone for a week a

    When I pre ordered my iphone 6 i was told I was going to get an additional 1 gig of data per month for a year.  It even shows it on the receipt i received with the phone.  When will I see that reflected on my account.  I have had my new phone for a week and used tons more data than usual and am hoping that will save me this month.

    concretedonkey, I'm glad you were able to take advantage of this offer when you ordered your new iPhone 6. I can certainly review your account to ensure this was added for you. Please reply to the direct message I have sent you.
    AndreaS_VZW
    Follow us on Twitter @VZWSupport

  • Stock report with value and qauntity for given date not month wise

    Hi gems,
    can any body give me the standard report for Stock value and qauntity for given date not month wise at storage location level

    Hi
    check the report S_P00_07000139 with the option inventory and raw material report- detail and selection date (from, to date same). List will give opening & closing balances with goods movment and their values.
    Thanks

  • Scheduling Agreement –delivery date in month format -  MD04

    Dear experts,
    Scheduling Agreement, forecast delivery schedule.
    When I enter a delivery date in month format, the system, during processing, automatically checks the factory calendar and proposes the first valid working day as the delivery date. ( Yes. I know it is a SAP standard )
    My requirement is automatically checks by the system  the last  working day as the delivery date.
    Could you tell me what are the settings i need to check to resolve this issue?
    Thanks in advance
    artur

    As pointed out already above you need to use a periodic lot sizing procedure.
    Use Lot sizing procedure P, Lot size indicator K and Scheduling =2
    As per your requirement, you need to create a calendar using MD25 with Months (Workdays) as a calculation rule with 1 as the period in the box provided.
    After a MRP run the delivery date would point to the last day of the month.
    But the requirement is a bit surprising as say for a requirement on the 1st of the month you will have the delivery showing up on the last day of the same month. Under what circumstances do you have this requirement as a valid one in your business case?

  • Restricting data entry to a particular language in the form

    Hi,
    I created a multilingual form in which all the fields of the form are in a particular language . Now am trying to restrict data entry in the form to that language at the client side only . Say if it is a form in french, can we restrict the data entry to french only .  The approach i was trying to implement was adding a script against the change event of all data fields and see if the characters lie in the range of  the language unicode character set . But have not been successful in it yet . Can anybody help me find some way or provide any sample for it ?
    Thanks

    Hello, I'm German
    Probably you can restrict the characters used for text entry, so for example ü is allowed in the German form but not in French.
    But you will NEVER be able to restrict the users staying only writing French in French forms 100%.
    1) You sometimes, not often, do encounter letters that are not typical for the language. (Though it can appear in any kind of word, it's quite regular for names.)
    2) Let's say I fill the French form. I encounter a problem when I type in the word "Müller". This word wouldn't be French at all. The text will be delted and probably given an error message. Well... I learn out of this error message. Next time I'll type Mueller. ^^
    (I knew several pages were people were restricted to talk English by forbidding letters that were not used in English very often... That didn't stop us violating that rule. The only error that really bugged us wasn't the restriction in not using letters that don't exist in English but the "please don't swear or insult so." error that kept appearing for ex. when we used the German word for "that" (= "dass"). They just didn't like the last 3 letters.)
    3) Many countries have the same or include other countries unicodes. For example English could be written in the German form or in the French form.
    4) You can't get out the syslanguage as far as I know. This would be a great hint which language the person is using.
    5) I don't think you can use the spellcheck in any way... great violation against spellchecking could also be a hint for another language.
    I know a quite big internetcommunity which did try to accomplish the same as you do. After about 2 years and a lot of experiments they stopped their efforts and were content by popping up the random error-messages warning that you don't have to insult, just like those other communities mentioned above. ^^ (Though they tried to restrict the insulting parts to the language used that didn't work out. Too many people knew how to insult in other languages ;D or which words were similar to insults.)
    People just never do what they are supposed to do and are quite nasty finding workarounds...
    My advice to you would be:
    Don't make the effort.
    Sorry for not being able to provide you with a solution, but the opposite.
    Lisa

  • Customer Exit for Number of Days from 1 st Apr to last date of Month Enter

    Hello BI Experts,
    I have a requirement to count the number of days from 1 st April of current year to the last date of month entered.
    For example : The use will enter say July 2010 or 003.2010  (as Fiscal Year Variant is V3 ).
    Today is 14 July ...So we have to first find out the end date of the July month ie 31 st July
    Then go to 1 st April 2010.
    Now calculate the Number of days between 1 st April to 31 st July 2010.
    I consider I have to create two Customer Exit variable
    as below
    1 st customer exit Bex variable  say  ZLY_MTH  ( Last day of Month Entered)
      and i_step = 1
    2 nd Customer Exit BEx Formula variable say ZF_NUMDAYS ( Number of days between two dates)
    i_step =1 .
    Please provide me the logic for the above two.
    Thanks in Advance.
    Regards,
    Amol Kulkarni

    PSUDEO CODE:
    1. Initially LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'ZMONTH'.
    2. Get the Month input using VAR_MONTH2 = LOC_VAR_RANGE-LOW+4(2)
    3. Now calculate Month+1: VAR_MONTH2 = VAR_MONTH2 + 1 (Refer **)
    4. Now calculate the Current Year: VAR_YEAR = LOC_VAR_RANGE-LOW+0(4).
    5. Get the 1st Day of the Month (VAR_MONTH2):  CONCATENATE '01' '/' VAR_MONTH2 '/' VAR_YEAR INTO L_S_RANGE-LOW.
    6. SUBRACT 1 (0DATE) from this DATE (This will give the logic for last day of the current month)
    Insert this code also for using the date conversions
            CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
              EXPORTING
                INPUT  = VAR_MONTH2
              IMPORTING
                OUTPUT = VAR_MONTH2.
    Pls. check out this logic. Guess it would solve your need.
    Thanks,
    Arun Bala

  • Display data in month wise

    Hi all,
    I have my data in the table as date wise. I need to sum this data in month wise.
    Can anyone tell me how to do it. Is their any fm to do it or any sample pgm of this kind.
    For ex my output should be like this :
    field1 field2 Month1 Month2 Month3 Month4 ..
    Waiting for reply,
    Regards,
    Priya

    hi priya,
    First of all sort the whole set of values as per date wise into an internal table.
    Sort the table as per the date .
    CONCATENATE PR_MONTH '01' INTO W_FIRST_DATE.
            CALL FUNCTION 'LAST_DAY_OF_MONTHS'
              EXPORTING
                DAY_IN            = W_FIRST_DATE
              IMPORTING
                LAST_DAY_OF_MONTH = W_LAST_DATE
              EXCEPTIONS
                DAY_IN_NO_DATE    = 1
                OTHERS            = 2.
            IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
          WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            ENDIF.
                  W_DATE = W_FIRST_DATE.
    With this try to determine the first and last days of the month
    From where u want to start .
    Capture the month field from date field into pr_month.
    Set the first date of the month to 01 like 02/01/2006
    Suppose u had 02/02/2006 as the first occurance of the date then
    U r trying to determine the first date and last date of ur feb month for the year 2006 .
    Now 02/01/2006 and 02/28/2006 are determined by this process .
    Set date_low  = 02/01/2006 .
        Date_high = 02/28/2006.
    Now into ur select statement capture the fields between 02/01/2006 and 02/28/2006 just like range .
    U can use select between or range
    ,so this covers all the fields for feb ,
    Use collect on ur final output table which will give u the final sum values.
    Now next field is say 03/10/2006 , then use the same process to capture the values .
    Itab say is containg date fields
    Logic is
    Loop at itab.
    Month = itab-date+(x)
    At new month.
       Perform operation .
    Endat.
    Endloop.

  • First Date of the Given date and month

    Hi Evryone,
    I want to extract first day of the given date.
    For Ex: i aam giving date "30-jan-2013" but i want to show "01-jan-2013".
    In Oracle, Trunc function behaving mentioned above. So i need appropriote function in HANA to get the FIRSTDATE....
    I observed HANA Given last_date function but what about First_Date function? can i use it?
    Regards,
    Chandrakanth

    Hi Chandrakanth,
    Did you have a look on this blog:
    SAP HANA: Get the First Date and the Last Date of Month from a Given Date | WuaWua
    There is LAST_DAY in HANA but not FIRST_DAY.
    Since last day of the month may vary but first day of the month will always be '01'. Hence they may not have added that function.
    So either you can follow that approach in the blog or you can simply replace the day '01'.
    Regards,
    Krishna Tangudu

  • How to restrict data in reports for different users...

    i created a monthly_sales report on XYZ_SALES_FACT table
    i have to give restriction on reports based on the users.
    i.e. user_1 will access only NORTH region sales info on monthly_sales report
    user_2 will access only SOUTH region sales info on monthly_sales report etc.
    Note: my client is not agreeing to create multiple reports based on the user/region.
    how i have to give user restriction on report based on the users?

    Hi,
    You can create a VPD policy and then create a login trigger and pass SSO client_indentifier or database session_user (use if/then/else to protect both)
    You can check here for the VPD/login trigger.
    Disco Config Guide
    http://download.oracle.com/docs/html/B13918_03/security2.htm#sthref1002
    OTN articles
    http://www.oracle.com/technology/obe/10gr2_db_vmware/security/vpd/vpd.htm
    http://www.oracle.com/technology/oramag/oracle/04-mar/o24tech_security.html
    You can also use secure views, mandatory conditions in the EUL, etc.
    Some other related forums entries:
    Re: Using VPD with Oracle Discoverer without SSO
    Re: Restrict Data for a user without VPD
    May want to search, likely many others on the subject.
    Should give you a good place to start.
    Regards,
    Steve.

  • How to Convert Date to Month in Database which is pointing to EBS, Not DWH.

    Hi Friends,
    We are planning to create reports in OBIEE and the Source is EBS. That means, we don’t want to depends on Datawarehouse and Informatica and OBIApps. We just create some reports and they are pointing to EBS database.
    For testing purpose, we have taken one HR Report and it containsthe below columns:
    Month (Dim)
    Revenue Per Employee Headcount (Fact)
    Average Cost per Active Workforce Headcount (Fact)
    In my little investigation, we found that Revenue column is coming from EBS: GL_BALANCES. And we configured W_Day_D base table in DAC as there is no Month column in EBS (Not sure).
    *** Coming to my problem, how can I call Month column in my database pointed to EBS. How to convert Date to Month in my database.
    I could be wrong but anyone please look into this issue.. How can I create columns for that exact OBI report in EBS database instead of DwH.
    Thanks in Advance..
    Raghu Nagadasari

    Hi Veeresh,
    You are right. Here, no need of using W_DAY_D table, but, we need all the stuff from the table and to explain my problem i have taken that table as an example. Now, we ran scripts for W_MONTH_D and W_DAY_D tables with EBS columns. So, we are getting data for the tables. In the same manner we have to create scripts for the below tables.
    W_GL_ACCOUNT_D
    W_GL_OTHER_F
    W_STATUS_D
    W_MCAL_DAY_D
    W_EMPLOYMENT_STAT_CAT_D
    W_WRKFC_BAL_A
    W_DAY_D (Completed)
    W_MONTH_D (Completed)
    But, we are not aware of EBS Tables and their columns much. So, we are back tracing from RpD --> DAC --> Info --> EBS for each and every column and its taking much time.
    So, if anyone of you facing the same issue, please share the EBS tables for the corresponding OBI tables, which are mentioned above.

Maybe you are looking for

  • How can I export my bookmarks to IE from Firefox 4.0, where I do not have the option to organize my bookmarks?

    The references I have seen about how to export bookmarks assume that you should start by going to "Organize bookmarks", however in Firefox 4.0 this option is not available to me. Thanks for any help in advance.

  • Photoshop CC stops working whenever I save

    I'm pretty sure this only started happening after the most recent update to CC. My event log looks like this: Faulting application name: Photoshop.exe, version: 14.2.1.570, time stamp: 0x52f4a9f2 Faulting module name: MediaCoreIF.DLL, version: 7.0.0.

  • Wireless Keyboard hangs iPad when composing email

    I, like most people, use the option key plus arrows in order to move through words and paragraphs quickly when editing text or composing an email. Several times I've been halfway through writing a long email and pressed an option+arrow combo only to

  • Mail Problem - New User

    I am trying to set up a work email account on Mail. Sending from the new account is fine but mails addressed to the new account are returned by the mail delivery system with the explanation "user unknown" said thus: <<< 550 "Unknown User" 550 5.1.1 <

  • Deltas not working in NW2004s

    Hello All,    I am having issues while populating deltas in BI 7.0, we are extracting activity data from CRM and first populating all the deltas into ODS and then moving the data to Cubes. We defined a key figure for count which is always populated a