Restrict Time Entry for Future Date in Portal

Hi Gurus,
My scenario is to restrict users from entering future date attendance in Portal.
I know the configurations for restrictiong the user from scrolling to future week.
But in my scenario users will be able to scroll to future weeks but should be restricted with an error message while trying to enter future time.
Please let me know if you have any suggestions.
Thanks.
Regards
Sairam Maharaj S
Please search in the ESS forum as I remember responding to a similar scenario some time back. Thread is moved.
~Suresh

Hi Srini,
Thanks for your reply.
I have achieved this by deselcting Release Future Time option. But user wants the future time to be restricted even from getting saved. Can I make changes to the default information message "1 out of 1 future time not released" to an error message so that the user will not be able to save. If so please let me know if this can be achieved from any configuration of messages or it should be done from the programming side.
Thanks.
Regards
Sairam Maharaj S

Similar Messages

  • Crystal report Viewer Session times out for more data in Portal

    Hi All,         
         I am using below java SDK code to render a report in crystal report viewer. When i refresh report with more data(more parameter value) the server session times out in portal. Is there any way to fix this issue. The report loads data and then displays in Crystal report viewer, When more data is there the server times out as the server time is set to 60 sec. Is there any way to open the crystal report viewer as and when the report loads data to avoid server time out isse.
    Please help . Please let me know if I am missing something.. Thanks in Advance!!!
    CODE;
    <%@page language="java" contentType="text/html; charset=ISO-8859-1"
           pageEncoding="ISO-8859-1" session="false"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.OpenReportOptions"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ReportClientDocument"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ParameterFieldController"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKException"%>
    <%@page
           import="com.crystaldecisions.report.web.viewer.CrystalReportViewer"%>
           <%@page import="com.crystaldecisions.report.web.viewer.*"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource"%>
    <%@page import="java.io.Writer"%>
    <%@page import="java.io.IOException "%>
    <%@ page import="com.crystaldecisions.report.web.viewer.ReportExportControl" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.ExportOptions" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.ReportExportFormat" %>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.DatabaseController"%>
                  <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ReportSaveAsOptions"%>
           <% response.setHeader("pragma","no-cache");//HTTP 1.1
    response.setHeader("Cache-Control","no-cache");
    response.setHeader("Cache-Control","no-store");
    response.addDateHeader("Expires", -1);
    response.setDateHeader("max-age", 0);
    //response.setIntHeader ("Expires", -1);
    //prevents caching at the proxy server
    response.addHeader("cache-Control", "private"); %>
    <%
           String reportPath,Sharedpath;
           ReportClientDocument reportClientDocument;
                ParameterFieldController parameterFieldController;
                try{
                    reportPath = "reportlocation";
                 Sharedpath = "Target Location";
                    reportClientDocument = new ReportClientDocument();
                    reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);
                         reportClientDocument.open(reportPath, OpenReportOptions._openAsReadOnly);
                         reportClientDocument.getDatabaseController().logon("Dbname", "dbpassword");              
                         System.out.println("Connecting...");
                       parameterFieldController = reportClientDocument.getDataDefController()
                   .getParameterFieldController();
                    parameterFieldController.setCurrentValues("", "param 1",
                         new Object[] {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,29});
    parameterFieldController.setCurrentValues("", "Param 2",
                  new Object[] {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23});
    reportClientDocument.saveAs("Target Report Name","Target Location", ReportSaveAsOptions._overwriteExisting);
           reportClientDocument.close();
           System.out.println("Finished...");              
    CrystalReportViewer viewer = new CrystalReportViewer();
    viewer.setOwnPage(true);
    viewer.setPrintMode(CrPrintMode.ACTIVEX);
    viewer.setReportSource(Sharedpath);
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
                  System.out.println("Finished...");
           }  catch (ReportSDKException e) {
                  // TODO Auto-generated catch block
                  e.printStackTrace();
    %>

    Hi All,         
         I am using below java SDK code to render a report in crystal report viewer. When i refresh report with more data(more parameter value) the server session times out in portal. Is there any way to fix this issue. The report loads data and then displays in Crystal report viewer, When more data is there the server times out as the server time is set to 60 sec. Is there any way to open the crystal report viewer as and when the report loads data to avoid server time out isse.
    Please help . Please let me know if I am missing something.. Thanks in Advance!!!
    CODE;
    <%@page language="java" contentType="text/html; charset=ISO-8859-1"
           pageEncoding="ISO-8859-1" session="false"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.OpenReportOptions"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ReportClientDocument"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ParameterFieldController"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKException"%>
    <%@page
           import="com.crystaldecisions.report.web.viewer.CrystalReportViewer"%>
           <%@page import="com.crystaldecisions.report.web.viewer.*"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource"%>
    <%@page import="java.io.Writer"%>
    <%@page import="java.io.IOException "%>
    <%@ page import="com.crystaldecisions.report.web.viewer.ReportExportControl" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.ExportOptions" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.ReportExportFormat" %>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.DatabaseController"%>
                  <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ReportSaveAsOptions"%>
           <% response.setHeader("pragma","no-cache");//HTTP 1.1
    response.setHeader("Cache-Control","no-cache");
    response.setHeader("Cache-Control","no-store");
    response.addDateHeader("Expires", -1);
    response.setDateHeader("max-age", 0);
    //response.setIntHeader ("Expires", -1);
    //prevents caching at the proxy server
    response.addHeader("cache-Control", "private"); %>
    <%
           String reportPath,Sharedpath;
           ReportClientDocument reportClientDocument;
                ParameterFieldController parameterFieldController;
                try{
                    reportPath = "reportlocation";
                 Sharedpath = "Target Location";
                    reportClientDocument = new ReportClientDocument();
                    reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);
                         reportClientDocument.open(reportPath, OpenReportOptions._openAsReadOnly);
                         reportClientDocument.getDatabaseController().logon("Dbname", "dbpassword");              
                         System.out.println("Connecting...");
                       parameterFieldController = reportClientDocument.getDataDefController()
                   .getParameterFieldController();
                    parameterFieldController.setCurrentValues("", "param 1",
                         new Object[] {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,29});
    parameterFieldController.setCurrentValues("", "Param 2",
                  new Object[] {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23});
    reportClientDocument.saveAs("Target Report Name","Target Location", ReportSaveAsOptions._overwriteExisting);
           reportClientDocument.close();
           System.out.println("Finished...");              
    CrystalReportViewer viewer = new CrystalReportViewer();
    viewer.setOwnPage(true);
    viewer.setPrintMode(CrPrintMode.ACTIVEX);
    viewer.setReportSource(Sharedpath);
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
                  System.out.println("Finished...");
           }  catch (ReportSDKException e) {
                  // TODO Auto-generated catch block
                  e.printStackTrace();
    %>

  • Restricting the Travel expense claims for future date

    Hi,
    We are configuring the BPs for ESS & MSS.  Currently we are on NW portal 7.0 ,SPS15 and ECC6.0 at the backend.
    Can anyone suggest us, how to restrict the users NOT to apply the Travel expense claims for the future dates (i.e.the portal system is expected to allow the users for the claims, till the current date or any past date but not any future date)  through portal.
    Currently, the system is allowing the users to apply the Travel Expense claims for the future dates also.
    Any help on this will be appreciated.
    Regards,
    Venu

    Hi Venu,
    I am not sure whether there is any configuration through which it can be achieved or not. But you can use Badi TRIP_WEB_CHECK for WebDynpro.
    Hope this will help.
    Thanks & regards
    Arun

  • Time phase Min/max replenishment models for future dates

    Hi,
    We are working on a safety stock requirement of Maximum/Minimum replenishment model in APO.
    It seems to work great except it cannot be time phased.  Our business wants different safety stock strategies at different times of the year. 
    Please suggest if there is a way that we could “time phase” min/max replenishment models for future dates?
    Thanks in advance for your help!
    regards
    Yogendra

    Many thanks for this.
    I can see entirely why it's designed as such, but I just find it slightly frustrating that there's no way to break the link between the order and the shipment out to the depot. Just to clarify, we're not requiring the orders to change - they will still be made and will come in - but just that the orders themselves don't specifically need to be the stock that is used for the replenishment.
    So -
    1. Min Max identifies depot needs replenishing.
    2. Central distribution does not have (enough) stock to replenish.
    3. Order is made to replenish central distributions stock.
    4. We ship whatever we've got, when we've got it, to depot to replenish.
    It's the bit where Min-Max is trying to replensih a specific depot rather than our central distribution centre that's my problem.
    I suspect that, as you say, that specific issue is not directly fixable without getting our IT contractors to do a customisation.
    I'm going to look into your Supply Date Offset suggestion now, though I'm not sure how this affects the shipping after the orders are placed. The orders themselves are approved manually after we've checked our stock position (i.e. what's in with the recycling team), but we recycle & refurb probably 60% of our maint stock so there'll always be kit turning up after the order has been made because of the long lead times.
    Thanks again.

  • Time Card entry for future period

    Hi ,
    We want to enter time cards for future period ,like now we're in jun and we want to enter time cards till sep 2012 but the self service screen allowing me to enter till aug 2012 only. Can any one explain me what could be the reason. anything we need to enable for this? please advise. Thanks
    Regs
    RG

    Yes it is possible , but it is not advisable in production system.
    Open ur time schema using PE01 and comment the line
    ACTIO TD10                      End if daily WS still active
    Then the sys will allow u to run time eval for future period

  • GL assignment for future date?

    Hi everybody,
    We have an issue is as follows:
    - We have created a sales order for 08-09-2008
    - We have created PO for 08-09-2008, here system will able to post everything fine.
    - Again we are creating one more PO for 08-09-2009, here system threws error message like GL a/c needs cost assignment.
    My question is why system is asking assignment for future date only and why system is not asking assignment for current date?
    Looking forward your best thoughts
    regards
    vk

    Hi Raj,
    Thanks for your reply
    Yes, we have assigned only cost element in TC: OKB9. But, for that cost element we have created 2 analysis periods.
    - GL 100115            01.01.2008 to 31.12.2008
    - GL 100115            01.01.2009 to 31.12.9999
    I think validity period is perfect still system threws error message like gl acc needs cost object assign.
    regards
    vk

  • RWDPOSUP For future date articles postings.

    Hi All,
    Currently we are running the program RWDPOSUP for sending articles from sap to third party.
    I have a query.the system will pick articles which have a valid date from today or a specified number of days for example 30 days
    all the validity is stored in the field DATAB of table A073 for instance(Pricing condition tables)..
    So if the pricing has to be changed on march first then it takes the data on feb first and runs the idoc and data is sent to third party.
    So if i post a document today i.e., 21st march 2010with date of validity as march first 2011. then ideally it should not pick and create an IDOC.
    It should pick on feb first or jan 29th(30days before) and then create idoc. will the program RWDPOSUP run as desired.
    for me if the DATAB is more than 30 days it should not create an IDOC only articles withing 30days are to be sent to third party.
    Can you please suggest on this. i am searching where it looks for date validation but not succesful in that search.
    Any help would be appreciated.
    Thanks,
    RK.

    Hi,
    I have changed it from W to E and saved , still  system is prompting any message at all
    document is getting posted for future date also .
    in MB1B screen posting date is changeble field and if i try to put tomorrow date and try posting its getting posted
    please help
    please try at your  end once .
    regards,
    madhu kiran.
    Edited by: madhu kiran on Apr 24, 2009 11:19 AM

  • Expense reports are not processing for future date?

    hi folks,
    in our co.expense reports are not processing for future date, even though the end date is one month from now the expense reports are not getting paid.
    can anybody assist me to come out of this issue.
    thanks in advance,
    regards
    bhanu

    HI,
               Could you please share how to go  Debug mode in Dymanic program, I have scenarion in SAP HR , when Employee is hire , during the hiring action Infotype 32 is updating based on following conditions
    ********INSERT IT0032 FOR CANDIDATE ID *************
    P0001-PERSG<>'5' - True
    P0000-MASSN='01'/X
    P0000-MASSN='H1'/X
    P0000-MASSN<>'84'/X
    P0000-MASSN<>'86'/X
    P0000-MASSN<>'99'/X
    GET_PNALT(ZHR_CREATEP0032)
    RP50D-FIELDS <> ''
    INS,0032,,,(P0000-BEGDA),(P0000-ENDDA)/D
    P0032-PNALT=RP50D-FIELD1
    P0032-ZZ_COMPID='05' _ True
                  Infotype record is being created but there is no data in "RP50D-FIELD1 , so i tried to debug the  subroutine GET_PNALT(ZHR_CREATEP0032) as mention in Dynamic action, its not going in debugger mode.
    Do you have any Idea about how to debug the  program.  used in dynamic action
    Regards,
    Madhu

  • Change Time Constraint for Personal Data InfoType

    Hi,
    How to change the Time Constraint for Personal Data InfoType.
    I tried to do it in Customisation Procedure --> Infotypes, but the option to change Time Constraint is disabled for Infotype 0002.
    Thanks

    Hi,
    you can change time constraints in general attributes of infotype attributes,this can be done through table maintenace view V_T582A.
    But note that we cannot change the time contraints for mandatory infotyepe of personnel in an organization i.e -0000,0001,0002.
    ex:- without personal details like names no personnel will exist in an organization.
    regards,
    Soori

  • Can i buy a smaller macbook air (64gb) but use the time capsule for additional data ?

    can i buy a smaller macbook air (64gb) but use the time capsule for additional data ?

    If you plan to store important "original" or "master" files and documents on the Time Capsule, then you might want to think about a way to back up those files to another hard drive.
    Why? If the Time Capsule has a problem...and you have no backups....you lose everything.

  • Weblogic portal content published for future date.

    Hi,
    I am using Weblogic portal 10.3, need to publish a content item for futhre date , i tried adding the date and time to startDate property and published it, and the changes got reflected immediately.
    has any one got his done.
    Regards
    Chandrakant

    Hi Deepak,
    Case 1 -
    Assuming that there is a version which is currently displayed on the portal, if the business has published 3 future versions already (not yet published on portal), then he can make any changes in any of the future versions and have them automatically published.
    Case 2 -
    If there is a version which is currently displayed and there are 2 future versions published in the repository already, if the business user wants to make any changes in the current version, he just changes and re-publishes for the updated stuff to appear on the portal.
    Case 3 - overlaps
    Incase of 2 published versions with the same start dates but varying end dates, as the content selector will pick up both the nodes into the arraylist. In that case we can write a comparator, which incase of same start dates, do a comparison on the version id, and then pick the latest version. but in that case, we may lose one version. I guess in that case, we will have to advise the user handling this versionong to provide sequential dates for all the versions.
    I hope I have got the issue right and covered all the cases.
    Thanks

  • ESS Record Working Time .. Restrict Time Entry with Relative limit

    Hi SDN Users,
    We are using ERP 2005 and EP 7.0 with webdynpro java ESS applications for Time, Travel and Personal Information.
    In the ESS Record Working Time application, a user can scroll to any date he wants in the past or in the future and record/edit working times. The application does not take into consideration the setting made in the time entry profile for relative limit.
    Please suggest the best way I can include this in the webdynpro application for Record Working Time. (in other words I would like to restrict the users to NOT be able to scroll before and later than 1 week from the current week).
    Can this be achieved by modifying any ABAP program / BADI / User Exit (OR)
    Would this require Webdynpro Code changes ?
    Please suggest some changes if any one has gone through a similar requirement.
    Thank You,
    Salome

    Hello Salome ,
    You can use the following way out for this :
    Lets say you want to allow one week before Begda , rest entries not allowed .
    1. VcCatRecordentry View - make a method called dateValid(); this would return true / flase
    we can get begda and endda.
    wdcontext.currentcontextelement.gettimesheetBegda();
    wdcontext.currentcontextelement.gettimesheetendda();
    Date sysDate =  new Date(Calendar.getInstance().getTimeInMillis());
         int sysDay = sysDate.getDay();
    2. Instantiate the Calendar  Calendar c1 =  new GregorianCalendar();
    3. c1.add(c1.DATE,-7);
        Date dt_end =  c1.getTime();
    now compare the dt_end to begda if it return >0
    then in on action navigation nxt  - report exception
    this would work , since I did the same and it worked absolutely well for me  .
    Regards
    Sandeep Sharma
    Edited by: Sandeep Sharma on Jul 8, 2009 7:41 PM

  • Last time entry for a project

    Hi,
    I have to get the last time entry of each project.
    I am using the below logic.
    Join PROJ and PRPS table to get the list of WBS elements for all projects.
    for each of the projects, get the latest work date from CATSDB .
    But CATSDB table has 3 crores entries in QA.
    above logic is taking 2 hours to execute.
    Please suggest any better logic for the same.
    Regards,
    Kiran

    Hi Kiran,
    Are you doing a SAP Query or are you writing an ABAP program?  Consider using logical database PSJ (display using transaction SE36) - this already joins PROJ and PRPS for you...then look at joining with the CATSDB table.
    Kind regards,
    Tammy

  • Problem: Run Time Evaluation for Future Period

    Hi SAP Gurus, can someone help me solving this problem:
    My client need to run time evaluation for 2-months period ahead of time. But every time I tried, time evaluation always stops at end of the current month, no further dates in the future. I had created attendance data 2002 for all the future dates. IT7, 2002, 2006 and all configurations seem to be OK (T510S,T569R). Test run is also OK with good future results. What could possibly be missing? Thank you in advance.
    Bill

    Thank you very much, Arun, Banu, Stefan and Om.
    Yes, I have entered the "Evaluation up to" date (60 days later);
    The schema has a function "Check FUT".
    Test future run result was generated correctly.
    Still I can't have future results in real run.
    So, what else I should check into?
    Thanks again.
    Bill

  • How do I create a delay or time-lag for my data in LABVIEW

    In my data acquisition system I am using acquired data to create an digital output. I want to delay this output or create a sort of time lag for it. Is there any easy way to incorporate this?

    What you might consider doing is using a sequence. Run the data through this sequence and inside of the sequence, put a delay equal to the time you wish to delay the signal. Then, the output will not be available until the delay has completed.
    If you need continuous streaming data, this might not work too well. Then, you will need some sort of a data buffer - perhaps using a queue might be one possible solution. I have not used it, but I think that queues can have a time stamp. You could possibly artifically alter the time stamp.
    Hope this helps,
    Jason

Maybe you are looking for

  • Combined pdf files with garbage fonts

    I need help with creating a combined pdf document.  I start with word 2013, and use the styles to create a linked table of contents.  Then Save As to a pdf.  I deselect the Options to allow the links to work in the pdf format.  Then I add other pdf's

  • Cannot display through a projector

    we have 2 macbook pros. My old one connects to external displays and projectors without any problem. My wife's new one however will connect to displays but not projectors. Obviously as I can get my laptop to do it I guess I know what I'm doing .....

  • Removing Ken Burns effect once photo is on time line

    I am using the lastest version of iMovie, I have made a movie using only photos. All of the photos have the Ken Burn's effect some are ok but other are not. Can the Ken Burn's effect be turned off once images are on the time line?

  • WBS budget function module

    Hi all. Is there a function module that can be used to retrieve the budget for a given WBS element? Thanks in advance and I'll be sure to award points for a helpful answer!

  • Activating Webscan for the HP 5520e All in one printer

    I m trying to activate Webscan on this printer. The software directs me to open Security in the Settings Menu and turn on Webscan but before I get to that option I get a message from Windows Security saying a username a password is required. I have t