Restrict the timesheet entry period in portal

Hi,
The requirement is  to restrict the timesheet entry period (2 weeks) in the portal. ie the user should be allowed to edit previous or  next two weeks timesheet only.
The r/ 3 configuration is done and in it is working fine in r/3. Please let me know if any settings to be done in portal
Regards,
Muthu

@Siddharth: I remember we went over this a while ago but am posting it here for the benefit of a renewed discussion.
The validation in the CATS User exit will kick in only when the user clicks on the Check & Refresh button, which I believe isn't user friendly. What if the user enters a bunch of entries only to realize that he/she shouldn't be doing so, wouldn't it be frustrating? I would rather expect the restriction to occur at a higher level, i.e. the user should not be allowed to pick a date that the business logic decides (could be 'n' pay periods going back from system date). As you we know, there are at least 3/4 ways a user can pick a date in the past on the Record Working Time Application.
~Suresh

Similar Messages

  • Restrict the Keyboard entry and entry through scanner only

    Dear Experts,
    I have a scenario, A manufacturing company while billing products to the customers will scan the serial nos in the sale order. The serial numbers are wrongly typed during the manual entry.
    Hence Business has implemented Bar Code scanning for scanning serial numbers. Still users are manually entering serial numbers,
    To bring tight control in the process ... Business is asking to restrict the manual input and allow only Bar code scanning for serial number entry.
    I have tried the below to implement the same:
    The serial number field is made to display mode by making screen - input = 0.
    Now the text field is brought to display mode. But unable to scan the data in that field .
    Pl help if you have any idea on this.
    Thanks in advance.
    Vidhya

    Answer from Michael Evershed here: Re: Restrict keyboard entry allow only scanning
    > If your barcode scanner is the type that plugs into the keyboard port of the computer SAP can't distinguish between the barcode scanner and data entered by the keyboard.
    You have to ask your scanner manufacturer if there is a solution (for example, like using an encoder at scanner level, that will be decoded by the abap program)

  • How to restrict the decimal entry on dynamic table in adf 11 .6

    Hi All,
      JDev version 11.6
      I have a usecase based on dynamic VO. How to restrict the decimal numbers on table columns . When user enter the decimal number .I have to show error message.
      In order to achieve above requirement .I have added value change listener on table column .its not working as expected
    <af:table rows="#{bindings.EmployeeDynamicVO.rangeSize}"
                      fetchSize="#{bindings.EmployeeDynamicVO.rangeSize}"
                      emptyText="#{bindings.EmployeeDynamicVO.viewable ? 'No data to display.' : 'Access Denied.'}"
                      var="row" rowBandingInterval="0"
                      value="#{bindings.EmployeeDynamicVO.collectionModel}"
                      selectedRowKeys="#{bindings.EmployeeDynamicVO.collectionModel.selectedRow}"
                      selectionListener="#{bindings.EmployeeDynamicVO.collectionModel.makeCurrent}"
                      rowSelection="single" id="t1"
                      styleClass="AFStretchWidth" autoHeightRows="-1"
                      columnStretching="last" contentDelivery="immediate" >
              <af:forEach items="#{bindings.EmployeeDynamicVO.attributeDefs}"
                          var="def">
                <af:column headerText="#{bindings.EmployeeDynamicVO.labels[def.name]}"
                           sortProperty="#{def.name}" id="c1">
                  <af:inputText value="#{row[def.name]}" id="ot1"
                                valueChangeListener="#{backingBeanScope.EmployeeBean.validateINputs}"
                                autoSubmit="true">
                    </af:inputText>
                  <af:outputText value="#{row[def.name]}" id="ot6"
                                 visible="#{def.name eq 'Dummy'}"/>
                </af:column>
              </af:forEach>
            </af:table>
    So appriciate if any alternatives on above usecase. Thanks in advance

    HI
    Expected :as soon as user enter the decimal values in table column , it should throw the error message in new small new window
    Getting the value change listener and validating , but its working only tab out (Because VO is dynamic )
    please suggest us any reg expression and Validators to achieve the above scenario ?

  • TMG related logic - restricting the user entry fields

    I have created table and table maintenance generator using below  fields
    MANDT                     MANDT
    WERKS                     WERKS_D
    MTART                     MTART
    MATKL                     MATKL
    CREATED_BY     SYUNAME
    CHANGED_BY     SYUNAME
    I have to restrict the user with out entering wild card (*) in the mtart and matkl fields.
    In TMG, in screens how to build the logic ?
    THANKS.

    Hi ,
    I am not sure if I understand your requirements fully.
    Anyway , you can add a validation in TMG events and output a message accordingly when the user enters *.
    Regards,
    Deepthi

  • Company Code-Timesheet Entry Restriction

    Hi!
    The timesheet entry of a resource working within a company code & cost center should not be able enter into the WBS Element or Project ID belonging to another company code. How to set this in configuration?
    Bekele

    Hi,
       You need stop cross company code transaction which is done at Controlling area level setting and also you need to see whether inter company code transaction at OBYA has been allowed or not. Kindly get the help of your FI/CO person.
    Regards
    Avisek Bhardwaj
    Edited by: A Bhardwaj on Sep 25, 2009 12:29 PM

  • How to restrict the number of Records into the Table?

    Is there any way that I can restrict the number of records can be entered into the table?
    For example I have created a table TAB1 with size category 0( zero).
    User dont want to enter more than 100 values, How to restrict the number entries? Whether Basis can do it?
    Regards,
    Prathap

    Hi Prathap,
    You can write a code in table maintenance events to restrict the number of Records added into the Table to constant.
    Solution:
    Se11 -> enter table name (TAB1) -> F6 -> Utlities -> Table maint. generator -> Envirnment -> modification -> events -> write here the form routine name.
    Double click on routine name. You will get into include section of the code. Write here code like:
    IF current_rec_num > 100.
       messgae error 'Entry restriceted to 100'
    ENDIF.
    Somewhat this way you can achieve your target.
    Regards,
    Sachin

  • Restrict number of entries in Select-Options

    Hi,
    I would like to restrict the number entries in select options. Lets say I have select options field defined for GL and I want only 10 GLs to be entered on Select-Options. If more than 10 Gls then it should give message that GL count is exceeding its Limit.
    Please may I know how I can do this ?
    Thanks for you help.

    Try this if you want to restrict rows in s_matnr for example.
    At selection screen.
    data: line type i.
    describe table s_matnr lines line.
    if line > 10.
       Message 'Error' Type 'E'.
    endif.
    or else if you want only 10 Materials to be selected then try this.
    At selection-screen.
    if s_matnr-high - s_matnr-low > 10.
        Message 'Error' type 'E'.
    endif.
    Regards,
    Vamsi

  • System error while opening the timesheet through Portal

    Hi Experts,
    I am getting the below error message while opening the timesheet through Web Portal. But I am not getting any error if I book time through back end i.e. CAT2 Transaction.
    System error: No receiver could be determined
    This error comes in Portal only (not in backend) once I enable "HR Enables CATS" option in Data entry profile through CAC1 transaction. There is no error if the same option is disabled.  But we need this option to be enabled.
    Can anybody help me ASAP for the same?
    Thanks,
    Atin

    Hi Atin,
    Can you please let me know how was that problem with HR Enabled Cats is Solved as w are facing the exact same issue.
    thanks
    Gaurav

  • Posting of Time Entries cancelled in the current accounting period

    Dear All,
    We are using Cross Application Time Sheet transaction codes for Entering Employee wise labour times using CAT2 transaction code for Networks under Projects and Orders under customer service for entering labour times.  My question is  how to do cancellation of time entries in the current accounting period for the actual time entries done in the previous quarter, as presently system is posting the cancelled date as the date when it was originally posted through CAT5 and CAT9.
    regards,
    rajaraman.

    The CADE transaction code is to delete the timesheet transaction.  SAP cautions us not to use this
    transaction in productive system as it directly updates the related tables and also when i checked the
    same in PRD Client system asks for System Administrator rights which are generally not available to consultants other than the Basis team.
    I just want to know how to cancel the already posted transaction in the current accounting period?
    thanks for quick response and help.
    regards,
    rajaraman.

  • How to restrict the entry of same material twice on the order

    HI,
    How to restrict the entry of same material twice on the order before saving the Order ?
    I do not want my users to enter the same material as two different line items in the order.
    Any inputs wud b appreciated

    Hi Vam,
    For this you need to take the help of an ABAPer . Ask him to modify the user exit and add the logic.
    For user exit please go through the below link it will help you to resolve your issue.
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
    Regards,
    Krishna O
    Edited by: Krishna O on Jun 3, 2010 12:29 PM

  • Restrict the user should not allow to select No Excise entry tab in MIGO

    Hi
    how to restrict the user should not allow to select No Excise entry tab in MIGO
    if the material Excisable user can bale to select the No Excise entry tab in MIGO . my requirement .... if the Pop come Please enter Excise Invoice number and Excise Invoice Date user should not change the No Excise how to restrict pls advise me
    @sakhi

    These are the options provided by SAP keeping in mind Indian Scenario. Sometimes, vendor forget to send excise invoice copy with the material, in such case, you can select 'Only Part I'.
    Even if you have maintain vendor excise details & material excise details (By mistake) in J1ID, system will throw an error message, excise invoice value is zero. In such case, we can select option 'No excise entry'.
    Your requirement can't be fulfilled in standard way. Even if you go for any Z- developement, you will lose the option.

  • Restrict no. of entries in the multiple selection of DOCNUM of EDID4 tab

    Hi,
    Is it possible to restrict number of entries in the multiple selection of DOCNUM of EDID4 table.
    i.e., Select the content button on se11 for EDID4 table. We can see the selection screen of the table. Press the multiple selection button of 'DOCNUM', we get a popup. Is it possible to restrict the no. of docnum entry to 500. If i enter more that 500 entries, it should popup a message.
      Please share your ideas. I am working on 4.6c.
      Points will be rewarded.
    Thank you.
    Regards,
    Ramesh

    Hi Atish,
       Thanks for your reply.  I checked for BAdis. But I couldnt find. Is there any other ways of doing this?
    User is trying to import the docnum values from presentation server file using the 'Import from text file' icon on multiple selection popup. As the no. of docnum were 4500, during the execution of this process, other process trying to connect to oracle is going for short dump with message 'Run-time error (Oracle error code: ORA-4031)'.  So user wanted to restrict it to 500.
    Hope my explanation is clear.
    Regards,
    Ramesh

  • Fiscal Year Period User Choice to Restrict the Balance wrt to version

    Hello friend, I have a Budget Balance key fiegure. which has values for a period say 001.2007  4 Values . sum equal = 13035
    Now I want to Create a Current Period Balance in Report and YTD Balance in Report
    For Current Period I did this as below but it is not working
    <b>
    Restricted Key Figure Budget Current period</b>
    Budget Balance key fiegure
    Restrict with Value Type for Budget Data = 90
    Restrict with Fiscal Yr/ Period User Enter Variable  say user enter 006.2007
    Restrict with Version Type for Budget Data = User Choice say user enter  20
    I am still not getting the correct Current Period balance in rep it always take january 2007 balance.
    Now same for YTD
    Restricted Key Figure Budget Current period</b>
    Budget Balance key fiegure
    Restrict with Value Type for Budget Data = 90
    Restrict with Offset Range January Customer Exit Variable -- Fiscal Yr/ Period User Enter Variable  say user enter 006.2007 so it will be 001.2007 --006.2007
    Restrict with Version Type for Budget Data = User Choice say user enter  20
    I am still not getting the correct YTD Period balance in rep it always take January  2007 balance.
    Please help me with the logic to work this CURRENT PERIOD BALANCE  AND YTD
    iF You have any code you can send me at [email protected]
    Thanks
    Soniya

    I am just pasting my answer to your other post...
    but is your RKF restricted to both variables?
    Hi,
    you can remove the OR I_STEP = 3, doesn't do anything....
    . make sure that 'ZVR_YTDBUD' is an interval var, <b>NOT</b> ready for input
    . make sure that 'ZVMFISCPER' is mandatory
    . I guess that you have filetered FISCPER with both variables thus it will be filtered with the signle value of 'ZVMFISCPER'; if this is the case, try the following:
    Include a restricted key figure in your report filtered on 'ZVMFISCPER'; hide it
    Remove 'ZVMFISCPER' from the 0FISCPER filter of your other RKF in order to keep only the 'ZVR_YTDBUD'.
    Otherwise the code looks good except that we don't see how YTD_CURRENTYEAR and YTD_YEARH are declared...
    hope this helps...
    Olivier.
    Message was edited by:
            Olivier Cora

  • How to restrict the Request and Response process in that cookies should be Secure way SAP Portal 7.0 ?

    Dear Experts,
    Please any one can help me i am getting one security issue.Some third party tools using and hacking the Request and Response of the Server.That time there taking one successfully Request (GET http://1.1 302 found)   and Response (http://1.1 200 ok).In this request based on again there giving some invalidate credential in that time server giving request replacing for success fully Request that time there login in to portal successfully(Bypassing).In this Request level only getting the information for URL and set-cookies only.Here any process is there to restrict the set cookies.like JSESSIONMARKID and JSESSIONID SAP_LB.
    We are using 7.0 Version and SP 12. Please share you are solutions because of this is very high problem here.
    Thanks for Advance
    Thanks and regrades,
    Durga Rao. 

    Dear Samuli,
    Thanks for the Replay,
    We are using HTTPS and SSL confined but man in the middle types of attack is happening here there using one tool based one there taking the Request and Response.The below given cookie are available in that request.
    According to this , set-cookie: JSESSIONMARKID , JSESSIONID and MYSAPSSO2 values are user login time it will change every time  are not.
    After  capturing above response HTTP/1.1 302 etc , when user gives valid credentials and logs in ,
    and now ill give wrong password and wrong user id and on click of log on button, i can intercept the request and response coming from the server and when i replace this valid response stil i am able to loggin in to the portal , which should not happen as JESSIONMARKID is changed , server should not allow , but it is loggin in.Standard Login page also allowing to login in this case.
    My server version is EP 7.0 SP 12.
    Please suggest a solution so that if we restric the hacker at this stage , no matter he can never hijack the sesiona and login  with invalid username and  password.
    Thanks for Advance
    Thanks and regrades,
    Durga Rao.

  • Numbers 3.1 restricting the period for moving average trend lines

    Numbers 3.1 is restricting the period I can specify for a moving average trend line for a scatter plot series. The max is 6. This limitation was not present in the previous version of Numbers.
    Charts imported from the previous version retain larger periods, but there is no way I can see to specify periods >6 for any new series. Is there a way to allow a period >6? That is clearly necessary for many applications.
    Thanks.

    Hi Bill,
    Numbers 3.1
    If you want a 14 day moving average over the prior 14 days, the formula in C10 is
    =AVERAGE(B2:B15) (and Fill Down)
    The formula will eventually run out of cells. Hence the red error triangles.
    Plotting columns A, B and C:
    X axis is Day (column A)
    Blue circles and blue line are Actual Y (column B and as expected, they jump around).
    Black circles and black line are calculated moving averages on a 14 day period (column C)
    Red line is Numbers Trendline (Moving Average, Period 6). How it predicts into the future (Moving Average over 6 days) I have no idea.
    I would more trust a calculated moving average, because I know what it is calculating.
    Regards,
    Ian.

Maybe you are looking for

  • BT Infinity - Modem and Router in separate rooms?

    My house is somewhat unusual in that the master socket is in the loft. It has a faceplate splitter into which all the phone extensions and the ADSL cable connect. The plasterboard on the bedroom ceilings is metal backed and when I tried locating the

  • Itunes no longer recognizes my ipad

    connecting my ipad to itunes via mac itunes error messages and do not reconnect the ipad and it does not load how can I do. I made a restore nothing changes

  • Desktop and Screensaver preferences will not open

    Whenever I go to open the Desktop & Screen Saver pane in System Preferences, it won't work and I get the message "Preferences Error: Could not load Desktop & Screen Saver preference pane." If anyone could provide me with information on how to fix thi

  • Setting up solaris 10 systems as directory server clients

    I just downloaded Sun directory server and have a bunch of solaris10 boxes that I would like to use the DS for account management. Can someone point me to a definitive document (if one existe) that explains setting up the DS and initializing the unix

  • Glossary Tab Not Showing Glossary terms in Microsoft HTML Help Output

    When I generate Microsoft HTML output from my RoboHelp HTML project, the Glossary tab appears correctly showing the glossary terms after clicking the View Output button.  However, when I double-click on the final Compiled HTML Output file from Window