Web dynpro calendar

Hi,
Is there a standard web dynpro component that i can use that has calendar or scheduler functions.  I am planning to write an application that is a scheduler planning tool and would be grateful of any builtin functionality that may help!  Many thanks,
Samir

Hi,
U have a date type field 'd'  in table 't' . Hope you have done modeling i,e Jco connections etc.
Now when you apply template for root ui element  > form> select that field d --> finish .
You can observe directly the field with the date type with a date picker.
If you want intially the date to be displayed , call the execute......method the table in the init()  by passing
appropriate field as input to fetch the correct date . It will be of sql date.
Thanks ,
Srini

Similar Messages

  • Web Dynpro Calendar / Scheduler

    Hi,
    Is there a standard web dynpro component that i can use that has calendar or scheduler functions. I am planning to write an application that is a scheduler planning tool and would be grateful of any builtin functionality that may help! Many thanks,
    Samir

    Hi,
    U have a date type field 'd'  in table 't' . Hope you have done modeling i,e Jco connections etc.
    Now when you apply template for root ui element  > form> select that field d --> finish .
    You can observe directly the field with the date type with a date picker.
    If you want intially the date to be displayed , call the execute......method the table in the init()  by passing
    appropriate field as input to fetch the correct date . It will be of sql date.
    Thanks ,
    Srini

  • Calendar application of Web Dynpro by Stefanie Bacher

    Hi Experts!!!
    Have anyone tried the calendar application posted in SDN by Stefanie Bacher?
    when I tried to open the program by downloading in my local, it gave errors as
    "unbound classpath container com.sap.ide.cmi.classpathcontainer" and
    "missing library......"
    I also tried to create the application as described in the document. But
    during designing the team calendar, I could not do no.6. Actually there is
    no UI element called"HierarchicalCalendarMonthView".
    There is no window like the one in the document when I do "insert child".
    Can sombody please find out what I am going wrong here.
    <b>The Title of the tutorial is:</b> Implementing a Calendar in Web Dynpro Java
    <b>web address is:</b> https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e012e6a2-8d21-2a10-1bb8-d9b606f3474c
    <b>The NWDS version</b> I am using is 7.0.11
    I will be very thankful for your hints.

    Hi Sudeep,
    I think you have posted this thread in the wrong forum, I suggest you to post this thread in webdynpro forum. Below is the link for web dynpro java forum...
    Web Dynpro Java
    Regards
    Sumit Bhutani

  • Hide Calendar in ESS Web Dynpro Time Entry Application

    Hello All,
    We are currently on ESS SP 11. NW 2004 SP19 (EP 6.0 SP 19)
    In "Record Working Time" application, we see the Calendar expanded by default. We want to Hide the Calendar by default.
    I have went the link /thread/82037 [original link is broken] but the actual procedure for modifying the Web dynpro CCs is not mentioned there.
    Please suggest me the changes to be done exactly to achieve this functionality.
    Thanks for the time taken. Points will be awarded for all the helpful answers.
    Thanks,
    Raj

    Hi Raj,
    I hope JDI is ready in your landscape.
    If it is ready then import the DC ess~cat from ESS related track.
    In the interface component controller of the DC there is will be some code like
    return new CAPState(cap, cap[0].getId());
    Here just change this as
    return new CAPState(cap, " ");
    With this change, Calendar will be hidden by default.
    Regards,
    Nagaraju Donikena

  • Leave request in Web Dynpro Abap - team Calendar

    Dear Guru's
    We are upgrading SAP from V4.7 to ECC 6 and have activated ESS Web dynpro ABAP for the leave request.
    We have activated the Business Function HCM_ESS_WDA_1
    Time management module all the configuration is done.
    ESS configuration on the node Employee Self-Service (Web Dynpro ABAP) > >> Team Calendar is done for the following
    Create Rule Groups
    Specify Absences to Be Displayed
    Specify Color Display of Absences
    I am Able to apply for leave and view the tabs Calendar, Time account and Leave request.
    *However for the team calendar i'm getting the error *
    The following error text was processed in system PRD : Exception condition "COMMUNICATION_ERROR" raised.
    The error occurred on the application server PANTHEON_PRD_00 and in the work process 5 .
    The termination type was: RABAX_STATE
    Please advice if there is any thing else that i can do to fix this issue.
    Thanks
    Keshini

    there is the IGS issue, please check the note 1527176 and ensure IGS is installed correctly for team calendar to display
    You can check your patch level as follows:
    - Start transaction SA38 (or SE38)
    - Run the report GRAPHICS_IGS_ADMIN
    - Choose the RFC destination, IGS_RFC_DEST should be the default
    - Select Status
    Could you please check again if you follow correctly step by step the
    instructions from SAP note:
    454042 - IGS: Installing and Configuring the IGS ?
    See section 7. " Specify your destination as the program ID:"
    Please leave the Gateway host and Gateway Service empty (See note 798937
    and Section 8/9 of note 454042)
    check the notes and communication to IGS server
    931900     Finding the IGS patch level
    896400     Upgrade your integrated IGS 7.x installation
    844669     Profile parameter of IGS as of Version 7.x
    798937     IGS not accessible after NW04 installation
    514841     Troubleshooting when a problem occurs with the I
    454042     IGS: Installing and Configuring the IGS
    63930      Gateway registration of RFC server program

  • How to create  calendar in web dynpro abap

    Hi ,
    how to create  calendra in web dynpro abap.
    Thanks in advance.
    Regards, Chetan

    hi,
    For calender control, there is Date Navigator under "complex tab". You can just click and drag it and provide calender control.
    One more easy way is to create a input field. In the context, create a node and attribute of type "D"(which means DATE). And bind the context to your input field under "values" in property window. While running the program, you will see an calender attached to lt on the input field.
    Regards,
    Jithin

  • How to get the Response Code when a URL is launched from Web Dynpro

    Hello Experts,
    I have a Web Dynpro Application in which in one of its views i have an IFrame UI element in which i will show a resource stored somewhere ..
    But before showing it i want to check if the resource actually exists. For this i have to check the HTTP Response code from Web Dynpro Application without setting it in the Iframe..
    I am using the following code to get the Response Code:
    try{
    URL url = new URL("Some Url");
    HttpURLConnection.setFollowRedirects(false);
    HttpURLConnection connection = (HttpURLConnection) url.openConnection();
    connection.connect();
    wdComponentAPI.getMessageManager().reportSuccess("Response code ="+connection.getResponseCode());
    }catch(Exception e){
    wdComponentAPI.getMessageManager().reportSuccess("Exception");
    Now the Problem is whatever response Code occurs 403 (for No Proper Authorization), 404 (for Resource not found) etc..
    i always get Response Code=  500 (which is for Internal Server Error) shown in the messgae i have printed.
    Please let me know the correct way of getting the Response Code from Web Dynpro.
    Also my resource is lying on a SAP Portal 6.4
    Best Regards
    Sundeep
    Edited by: Sundeep Sethi on Feb 18, 2008 9:07 AM
    Edited by: Sundeep Sethi on Feb 18, 2008 10:23 AM

    Hi,
      Check this code from /thread/5242768 [original link is broken] if it works.
    try{
    URL myurl = new URL("http://calendar.google.com");
    URLConnection connection = myurl.openConnection();
    if(connection instanceof HttpURLConnection) {
    HttpURLConnection httpConnection = (HttpURLConnection) connection;
    HttpURLConnection.setFollowRedirects(true);
    httpConnection.setRequestMethod("HEAD");
    httpConnection.connect();
    System.out.println("Response = "+httpConnection.getResponseCode());
    catch(Exception e) {
    // print exception
    Regards,
    Harini S

  • Type Mapping in Web Dynpro

    Hi there,
    rather a Web Dynpro newbie, I have scanned the documentation and forum threads to find whether there is something like a type mapping mechanism (say, your web service automatically creates Calendar attributes from xsd:dateTime elements, and you want to display them as dates in your view), but it seems there isn't.
    I have to do such type conversions by myself (by providing additional value attributes to my context node and populate them after executing the service call), right? Or did I overlook something?
    Regards
    Nils

    Hi Nils,
    define calculated context attributes of type readOnly=false for this purpose. In the generated getter and setter methods you can implement your own format (getter) and parse (setter) logic (or type mapping like you call it).
    Excerpt from the Web Dynpro Help:
    <i>Application-specific validations: You can use the setter and getter methods that are generated for writable calculated context attributes to format as well as parse and validate data application-specific. You can check the user input in the mutator method and save it in a separate, non-calculated context attribute. An error message is displayed if this is not successful. If you want to display the input value in the case of errors as well, then first you have to save the incorrect value in an additional usual context attribute, from which the access method of the calculated attribute is then supplied.</i>
    Also read thread Re: Problem with time input field about problems with time input fields.
    Regards, Bertram

  • Drag and Drop between Web Dynpro Tables on Cell Basis

    Hi Experts,
    I need to develop a Drag and Drop Functionality as follows:
    I have two tables. I want to drag a row of the first table and drop it in a particular cell of the second table.
    Is it possible to implement this using the Web Dynpro Drap and Drop Functionality?
    If not, does anybody have an idea of how to implement this using other concepts (Flash Integration, Building up a Grid of Images and defining those as drop tragets, etc..)??
    Valuable Advice is highly appreciated!
    THANKS, Johannes

    Thanks for the Video.. It gives some information about Drag and Drop, but still, it does not say what I need to know.
    Again:
    I need to know if there is a way to drag particular cells in a Web Dynpro Table to other locations in that same table. Plus: I need to know if there is a way to drag and drop rows of one table into particular cell of another table.
    Similar to what we do in our Outlook Calendars: We have a week in view and we see our appointments as blocks within that week view. Now, we can drag and drop these blocks to other locations. That is what I need to implement!
    Does anybody have an idea?
    THANKS, Johannes

  • Web dynpro application using java

    Hi Experts,
    I am new to netweaver . I developed one web dynpro application in  NWDI  but input fields are disabled on screen .
    please suggest reason why it is happend.
    Thanks,
    Santosh.

    Hi Santosh,
    Once you create the input fields in NWDS you need to bind input field with context attribute to enable in the display screen.
    Refer to this Re: Calendar UI element in NWDS and also refer to Tutorials & Samples for Web Dynpro Java [original link is broken]
    Hope it helps
    Regards
    Arun
    Edited by: Arun Jaiswal on May 4, 2010 12:19 PM

  • SP18 effect on Web Dynpro controls?

    Hey All,
    Does anyone know if SP18 made any changes to any of the Web Dynpro controls? We recently went to SP18 and are now seeing some very odd things happening. Just to narrow down where the problem might be, just wanted to see if there are any known changes to Web Dynpro controls.
    Example: Calendar control, if you type in 31/05/07, an error message will be returned in German. When all other error messages are returned in the correct language.
    Thanks,
    -Kevin

    These validation messages are not part of the Web Dynpro UI elements but come from the Java DDIC. So if you find a bug, open an OSS message on BC-DWB-JDD.
    Armin

  • Date Type UI in JSP (similar to Web Dynpro)

    Hi,
    Is there any way in hbj or jsps to display calendar and allow user to choose any date from that calendar?
    I know that there is similar type of UI element available in Web Dynpro .. an input field having calendar displayed at it's right corner.
    Thanks and regards,
    Amey Mogare

    Hi Amey,
    Using the simple line of code in your jsp, will help to achieve the same.
    <hbj:inputField id="inDatle" type="DATE" showHelp="true" value=""/>
    Regards,
    Venkatesh. K

  • Implementing cache for dropdown values in Web Dynpro Iview

    Hi All,
             I am currently in the processing of enhancing a web dynpro application which contains among other things around 15 drop down boxes. The values in these drop down boxes are coming from oracle database and these values change occasionally.
            To optimize the response time, I have implemented simple caching machanism using static  variable in plain java class. The objective is to retrieve the values for the first time from oracle db and use the same datastructure for subsequent calls. Though I have found that the number of calls to the database reduced significantly I am facing some problem understanding and implementing the cache refresh behaviour.
          I want to implement a cache refresh machanism for every 12 hours.
        Solutions tried.
                   Creating a thread to refresh the cache for every 12 hours.
                   Creating a timer for refreshing the cache for every 12 hours.
        Problems encountered :
        1.  Is it appropriate to use threads in a web dynpro app?
        2.  What I have observed is that  the thread (I have created a daemon thread) is alive even after I have deployed a new copy of the code.  When I deploy a new code is it not supposed to remove all copies from the memory?
           If using a daemon thread is appropriate, What is the web dynpro
              framework's class loading behavior when a new copy of code is deployed?
             Does it completely unload existing classes (there by killing the daemon thread
                   created in previous deployment)?
       3. Assuming that we have found suitable solution for thread issues, what would  happen when the application is deployed on a cluster? Can we send a message to
            all the nodes in the cluster?
    I would like to understand what other developers has done in these kind of situations. Your experience and insight will be valuable and help me decide to implement caching or not in  the first place.   
    Thanks in advance.
    Regards
    Pallayya Batchu

    Pallayya,
    <i>1. Is it appropriate to use threads in a web dynpro app?</i>
    Not recommended as with any J2EE application
    <i>2. What I have observed is that the thread (I have created a daemon thread) is alive even after I have deployed a new copy of the code. When I deploy a new code is it not supposed to remove all copies from the memory?</i>
    Re-deployment doesn't mean stopping all user spawned threads. It just causes unloading of classes if there are no hard references from anything but deployed application. In your case, there are probably references from Thread/Runnable so your previous version is not unloaded on redeployment.
    <i>3. Assuming that we have found suitable solution for thread issues, what would happen when the application is deployed on a cluster? Can we send a message to all the nodes in the cluster?</i>
    Probably you can, probably you cannot. Even if you can it would be complex.
    My advise -- abandon threads altogether, use real cache instead:
    package com.yourcompany.yourapp.utils;
    import java.util.HashMap;
    import java.util.Map;
    public class ValueHelpCache {
      private static class Entry {
        long lastLoadTime;
        Map  payload;
        Entry(final Map payload) {
          this.payload = payload;
          this.lastLoadTime = System.currentTimeMillis();
      final private Map _entries = new HashMap();
      private ValueHelpCache() {}
      synchronized public Map getValueHelp(final String valuyeHelpKey) {
         Entry entry = (Entry)_entries.get(valuyeHelpKey);
         if ( entry == null) {
           entry = new Entry( loadValueHelpFromDatabase(valuyeHelpKey) );
           _entries.put(valuyeHelpKey, entry);
         } else {
           final long now = System.currentTimeMillis();
           if ( now - entry.lastLoadTime > ENTRY_TTL ) {
             entry.payload = loadValueHelpFromDatabase(valuyeHelpKey);
             entry.lastLoadTime = now;
        return entry.payload;
      private Map loadValueHelpFromDatabase(final String valuyeHelpKey) {
        /* @TODO implement loading values from database */
        return null;
      public static ValueHelpCache getInstance() { return INSTANCE; }
      final public static long ENTRY_TTL = 12 * 60 * 60 * 1000;
      final private static ValueHelpCache INSTANCE = new ValueHelpCache();
    This way client code tracks itself what entries are stale and need to be reloaded. No threads at all and no problems in cluster. You may alter time tracking mechanism to reload at given time of day, say at 12AM and 12PM -- just use java.util.Calendar and change code accordingly.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Timezones and dates in Web Dynpro

    Hello all,
    We have a web dynpro application and it seems to be showing different dates for different users in our application.  I am trying to figure out how web dynpro determines which locale to use (or timezone) when displaying.  We are exposing the WD through EP 6.0 SP2, but I do not think there are any locale specific settings there.  The only thing I can think it is doing is for users that do not have a timezone specified it is using UTC instead of the system timezone.  Does anyone know definitevely what WD uses to display dates?  Also, is there a way we can force all dates shown in WD to show in a particular timezone (i.e. PST)?
    Help is appreciated.
    Thanks,
    Dustin Gronso

    Hi Dustin,
    You can show the time in a specific timezone using the following code :
    TimeZone zone = TimeZone.getTimeZone(("PST");
    DateFormat dateFormat = DateFormat.getDateTimeInstance();
    dateFormat.setTimeZone(zone);
    String time = dateFormat.format(Calendar.getInstance().getTime());
    Hope this helps,
    Best Regards,
    Nibu.

  • Error While Deploying A Web Dynpro Appln thru NWDS

    HI,
    I am getting an error while deploying a Web Dynpro Application through NWDS.Following is the Exception
    Aborted: development component '<ComponentName>'/'local'/'LOKAL'/'0.2006.07.26.15.06.05':Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [sapsbx28] with user name: [J2EE_ADMIN] Check your login information. Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user.] (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    When i give a request for deployment it asks for the SDM password. I enter a valid SDM pwd. If i enter  a invalid SDM pwd i get  some other exception. So the pwd SDM entered by me is correct.
    can any one help me in solving this
    regards
    Nilesh Taunk

    Hi Nilesh,
           Try opening Visual Admin if your not able to login with username(administrator) and password. Problem with NWD2004s do the following steps.
    C:\usr\sap\J2E\JC01\j2ee\configtool->configtool.bat->open it
    1. Click on Secure store
    2. Right you will find :
    admin/password/J2E->retype your admin passowrd which you gave during installation=>SAVE properly
    Restart the server and try login visual admin
           Deploy now...Other wise see this thread same error solved:
    Re: An Deploy Problem about Credentials.
    Regards
    Suresh

Maybe you are looking for

  • Adobe Reader 9.1  Disable Display PDF in browser

    Is there a registry setting I tweek to uncheck the box for Display PDF In Browser?  The only ones I could find grayed out the box but it didn't un check the box.

  • Flash Player SurroundSound Problem

    Hy! My problem is, that the flash player on my system doesn't output the sound on the rear speaker and the subwoofer of my 5.1 soundsystem - only on the front speaker. But the sound-output works on every other player on my system. Also the speaker se

  • My apple tv stopped working even if is connected to power supply...where is a problem?

    My apple tv suddenly stopped working even if is connected to main power supply.

  • Empty accounting log in ISE

    Hi, I am using ISE1.1.1 with 2960. Recently I found there is some empty log in accounting report.(see AAA accounting.png) So I do a sniffer and find out that source IP is the 2960. Then I got to check the log in "Network Device Log"(See Network devic

  • Compressed log shipping

    Hi, 1. Can anybody please explain what is Compressed log shipping in oracle? 2. Advantages of using it over existing feature? 3. Does it require license to use it? If yes how it would be calculated? Thanks in advance