Timer In Web Dynpro ABAP

Hello,
Please help in creation of  Count Down Timer for Online Test Application in Web Dynpro ABAP.
Thanks,
Sandeep Bhati

Hi Sandeep,
You can achieve your requirement as below
Create context attributes TIME_LEFT  of type TIMS & DELEY of type I
Create a text view eleemnts to show the time left value and
Create a TIMED_TRIGGER ui element  and bind the property delay to the context attribute DELEY and create an action REFRESH, bind it to the event onAction
Set the initial values of context attributes TIME_LEFT & DELAY like below
                    TIME_LEFT = '01:20:00'
                    delay            = 1
Hence, timer ui element refresheshes each second and you can reduce the value of TIME_LEFT by 1 second to see on application
You can also refer the below links
Online quiz time counter in webdynpro?
also, refer the standard component WDR_TEST_EVENTS and go the view TIMEDTRIGGER
Hope this helps you.
Regards,
Rama

Similar Messages

  • Time out error  on front end ( 60 seconds) developed in web dynpro ABAP

    Hi all
    I am getting TIME OUT error ( ERROR :-  Connection to partner break in 60 seconds) on front end (on web) because in SAP backend there is a function module excuting and taking 3 minutes. But on front end developed in web dynpro ABAP time out is coming in 60 seconds.
    Please help me how can i increase this TIME OUT time on front end more than 60 seconds.
    Please help as soon as possible

    Hi,
    see the <a href="http://help.sap.com/saphelp_nw70/helpdata/en/7b/72092aaa1342c5a3af7ce0b9a11ff9/frameset.htm">Documentation</a> and
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/78/9852b7c06b11d4ad310000e83539c3/frameset.htm">this</a>
    Regards, Heidi

  • How to add screen elements at run time on button click in Web Dynpro abap?

    Hello All,
    I have a requirement wherein the user wants to add the textbox dynamically at runtime on button click action. My questions is, Is it feasible to dynamically add screen elements at runtime? If yes, how?
    Please help.
    Thanks

    Hi Ajinkya,
    This is absolutely possible! Adding view elements at runtime is called "dynamic programming". There are a lot of good resources and tutorials on SCN if you do a search. To start you off, here is an excellent series by Thomas Szücs:
    Dynamic Programming in Web Dynpro ABAP - Introduction and Part I: Understanding UI Elements
    Dynamic Programming in Web Dynpro ABAP - Part II: Handling ViewElements
    Dynamic Programming in Web Dynpro ABAP - Part III: Aggregations and DDIC-Binding of ViewElements
    Another option that avoids dynamic programming is to create the view element at design time but bind its visible property to a context attribute of type WDUI_VISIBILITY. You could initially set its visibility to "none" until the user clicks the button, then you could change its visibility to "visible".
    Cheers,
    Amy

  • Is there a way to get Web Dynpro ABAP available in a ECC 5 - NW2004 env?

    We will start developing an offline Adobe interactive form with email functionality for ECC 5 on very short terms. We have to decide asap what client/server configuration we will use for this new functionality. We will also develop an online interactive form and an offline form with upload/download functionality for ECC 5. We will have to setup a client/server configuration that supports all 3 scenario's. 
    The main reason we would like to have NW2004S available for ECC 5 is because we would like to develop the forms in Web Dynpro ABAP instead of Java. Guided Procedures is a "nice to have" too, but not really important at this moment.
    At this moment we think we have 3 options:
    1. Investigate if we can make an Adobe solution in WDA for ECC 5 with our current setup
    2. Upgrade ECC 5 - NW 2004 -> NW 2004S to get WDA functionality available
    3. Install ADS for NW 2004 to be able to create Adobe solutions in ECC 5, then we will have to develop in WDJ
    1. We have the following configuration up and running: NW2004S - CRM 5 and ADS installed: both Java and ABAP stack work properly. We are wondering if we could develop an Adobe interactive form in Web Dynpro ABAP in CRM 5 using BAPI's to retrieve the data from ECC 5 and put it on the form for display or update purposes. Also we have questions about the email functionality: do forms have to be send by email via a mailserver from ECC 5 via CRM 5 and back or can this be done directly from and to ECC 5 or is it not possible at all? Also we don't know if we can develop an online interactive form for ECC 5 via CRM 5. The current setup is not a real option for us right now as we see far too many uncertainties. Does somebody can give us some answers on the possibilities we are looking for?
    2. My assumption is that upgrading ECC5 to ECC6 can be compared with upgrading 46C to ECC5. If my assumption is correct, this would mean an upgrade project with a 6 months leadtime within our company. If my assumption is wrong, please let me know. This upgrade will happen some day, but it has not been planned for 2007. So unfortunately, for us this is not an option at the moment because we cannot wait that long. I was hoping an upgrade of NW2004 -> NW2004s was not that time consuming but I guess this can be compared with a SAP upgrade project like 46C -> ECC 5.
    3. Installing Adobe Document Services for NW2004 is not our preferred solution but we think it is the safest/easiest solution at this moment to get started with Adobe interactive forms for ECC 5 on short terms. We will have to develop in Web Dynpro for Java, so be it.
    WDA is not a must but if we can find a client/server setup which gives us the possibility to build in WDA for ECC 5 functionality, that would be great. That's why I dropped the question on SDN. I want to be sure we choose the best option possible at this moment for us.
    kind regards
    Angelique

    Yesterday I got new information through SDN which sounds very interesting:
    There are technical repository integration points between ECC and the underlying SAP NetWeaver release. To get Web Dynpro for ABAP, you could install a stand-alone SAP NetWeaver 2004s system (without ERP) side-by-side.
    Somebody else wrote: we set up a 3-system landscape of NW04s and have configured single sign on and trusted RFC's so that users can hit the webdynpro pages via the portal, and those systems make the necessary queries to the backend systems via RFC.
    Does somebody know if this stand-alone system could be a proper solution for our situation? Does somebody foresee any problems related to Adobe LiveCycleDesigner or ADS?

  • Shooping cart creation in SRM 7.0 using web dynpro ABAP classes.

    Hi,
    We have recently upgraded to SRM 7.0 from SRM 4.0. We are using customized portal application for the creation of the shopping cart.I am planning to create custom FM which will use the standard Web dynpro ABAP classes to create the shopping cart.
    Could you please guide with the classes that are need to be implemented and the sequence of the classes used in the shopping cart creation.
    I think these are the classes that are used in the standard web dynpro ABAP component.
    CL_FPM_EVENT ->                  Creates an instance of this class based on an event ID.
    CL_BADI_FLT_DATA_TRANS_AND_DB -> Data Handling: Transport and Database.
    CL_EXITHANDLER ->               Class for Ext. Services Within Framework of Exit Technique.
    CL_EX_BBP_DOC_CHANGE_BADI ->     BAdI Class CL_EX_BBP_DOC_CHANGE_BADI.
    CL_BBP_OBJECTS_ACCESS ->         Access Functions for Object Types.
    /SAPSRM/CL_PDO_BO_SC ->          Shopping Cart BO.
    Your expert comments will be appreciated...
    Regards,
    Naresh

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • How to configure SSO for web dynpro ABAP (not web dynpro Java)

    Hi Experts,
        I am testing SSO in IDES for web dynpro ABAP (Not for web dynpro Java / not for portal). When I am entering url of web dynpro application in web browser like internet explorer, then it should ask for user id and password first time, after login whenever user would access that url, it must not ask for user ID and password (url would be access web browser in mobile). For this I select to configure single sign-on for web dynpro ABAP. I have done below works:
    1). I have created a web dynpro application having url: http://susws076.sap.swk:<port>/sap/bc/webdynpro/sap/zadb_hello_world2
    2). I run TCode SICF and access service node to "Zadb_hello_world2". Double click on it, hit change. pressed "logon data" tab, select "Alternative logon
         procedure"
       Then deleted all logon procedure other than "SSO Authentication" and saved.
    3). Go to "STRUST" and create certificate, choosed "Environment==> Logon Ticket" fill the required parameters and execute. It is OK (no red traffic
         signal).
    4). Execute TCode "RZ10" to change profile parameter, insert new parameter (indicated by red arrow)
    After all this settings I opened a browser enter above URL and hit enter but there is an error
    There is no login page. It directly showed this error page. No cookies is saving.
    Can anyone tell me what all the settings/configuration other than this I have to do. And is there any wrong setting done by me?
    How to set the for single sign-on?
    Thanks in Advance
    Regards
    Piyush

    Hi Piyush,
    Pls refer below links,
    Single Sign On with ABAP WebDynpro
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/5e/6c85c3edf942f39349a1e337434d29/content.htm
    Regards
    K.N

  • Web Dynpro ABAP Stylesheet - Portal Integration

    We have a Web Dynpro ABAP being displayed through a Portal iView.  The Portal server and the Web Dynpro ABAP server are separate.  Our problem is in getting the Web Dynpro ABAP to use the stylesheet of the Portal.
    We can make this work by forcing an external stylesheet (via application parameters, global Dynpro settings, or passed on the end of the URL), but we have to hard-code the full URI of the Portal stylesheet.  This would be very hard to manage if we hard-code every iView's CSS location (or set every individual Web Dynpro's application parameters), and we want instead for the Portal to supply whatever the user's stylesheet is dynamically. 
    So what we want is: if we change the Portal stylesheet, the Portal would just pass the new stylesheet URI to our ABAP Web Dynpro iViews without manual modification of the iViews.
    Here is an example of what works:
    http://our-abap-server.com/sap/bc/webdynpro/sap/cprojects?sap-ep-themeroot=https://our-portal-server.com/irj/portalapps/com.sap.portal.design.portaldesigndata/themes/portal/ourportalstylesheetname
    Shouldn't the Portal iView automatically pass sap-cssurl or sap-ep-themeroot to Web Dynpro ABAP?  We have "Supply Portal Stylesheet" checked on the iView… it just doesn't pass anything to the Web Dynpro ABAP.  Why wouldn't SAP pass this parameter dynamically to the Web Dynpro ABAPs?  Is this a product error? 
    There seems to be a great deal of confusion about this on the SDN message forums... I think this may be the core issue.
    We are using a 7.0 SP13 Portal with an ECC 6.0 SP12 backend.

    Now that you mention it, I ran into that exact same issue  -- the application parameters didn't work for hard-coding the theme.  The fix ended up being the web server semicolon thing I mentioned earlier (that was why the parameter didn't make it to the backend). 
    The themeroot is automatically sent to the backend from the portal, so you shouldn't really have to manually send it as a parameter anyways.
    I'd suggest talking to your network guys.  Also this could be the result of the SP you are on (we're on 13 for the portal and the backend system -- maybe this feature doesn't work in some earlier SP's?).  There are also some options to force the theme as a WD application parameter on the backend side, which you could check into.  Details on those are here:
    [http://help.sap.com/saphelp_nw2004s/helpdata/en/7b/fb57412df8091de10000000a155106/frameset.htm]
    Also you could look at the requests being made by installing HttpAnalyzer in your browser.  You can inspect "post" parameters going from the portal to the backend system.  One of those posts (the first one to the backend system) should contain the parameter sap-cssurl (same kind of thing as sp-ep-themeroot).  This is where our problem turned up as this parameter was not being posted.
    Lastly, make sure that your frontend portal and backend portal are in the same domain.  For instance:
    frontend.domain.com
    backend.domain.com
    If your backend and frontend are in different domains it messes all kinds of things up, including stylesheets I think.  If you can't get around this, then read about domain relaxing (but I highly recommend getting the domains the same).
    When we started, ours were:
    portal.dx.company.com
    sap.company.com
    This created all kinds of problems.  Putting our systems in the same domain with the same protocol and fixing our little semicolon web server problem fixed basically all of our portal complaints.  Up until that time, we had also had many problems with session management (backend sessions were getting stuck until the HTTP timeout).
    That's all I know.   Good luck.

  • Upload a .xls file in web dynpro abap

    Hello,
       I want to upload a .xls file into a internal table in web dynpro abap (Netweaver 7.31).
    The file is not delimited, is not an csv file.
    In my view I have an fileUpload UI Element with the attribute data is un attribute type XSTRING and the following function module are not in my system:
    HR_KR_XSTRING_TO_STRING
    ALSM_EXCEL_TO_INTERNAL_TABLE
    How can I upload the file with this format?.
    Thanks in advance.
    Xavi

    Unless the files are zipped together into one archive file, you have to do them one at a time.  Furthermore with the normal browser based fileUpload UI element, you must do them one at a time and the user must manually select each one (browser security limitation).
    If you are on 7.01 you can use ACFUpDown to perform multiple file uploads, but there is no file dialog or directory scan so file selection is difficult.
    If you are on 7.02 you can use ACFUpdown and it has a multiple file open/save dialog.
    If you are on 7.01 you could use FlashIslands to perform the multiple file upload.  I have a tutorial and source code sample for this on SCN.
    If you are on 7.01 you could also use ACFExecute to run a batch script on the client side that zips all the files and then upload the zip archive.

  • Window Navigation In Web Dynpro ABAP

    In one of our requirements we would have to make use of the suspend plug in Web Dynpro Abap. Would anyone happen to have any other information on this topic. Is there a sample program available which demonstrates the same?
    The requirement is that, I have to call an external window (output screen) from my present screen (input screen). While this external window is active, the calling window (input screen) should be disabled. When the external window (output screen) is closed the input screen should be enabled again. I have read that suspend/resume plugs can be used for this. However, I have not been able to figure out how to use them.
    As a starting point, it would help if I can find out how navigation between two windows (not views) can be achieved.

    You can enable and disable a view at least programmatically by binding the enabled property of all elements to one context variable and setting this to false when you navigate and back to true when you come back.
    With these special plugs I haven't worked at time.
    Frank

  • Problem with Table display in Adobe Form of Web Dynpro ABAP

    Hi Team,
    I'm trying to display a table in Adobe Print Form (not interactive). The table is bound to the context node in the Web Dynpro ABAP where the cardinality is 0:N. I get a short dump. Don't know what to do here. I'm able to display individual fields from my context successfully. Looks like something is missing when I try to display a table. Any pointers to display a data table in Adobe? Any step by step example you know of where I can find out what I did wrong? Many thanks for your time
    We are on support pack SP06 on 2004S release.
    DUMP INFORMATION:
    Short text                                                               
        Access via 'NULL' object reference not possible.                 
    What happened?                                                           
        Error in the ABAP Application Program  The current ABAP program "CL_WD_ADOBE_SERVICES==========CP" had to be terminated because it has come across a statement that unfortunately cannot be executed.
    An exception occurred that is explained in detail below.                    
    The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not caught in procedure "CREATE_PDF" "(METHOD)", nor was it propagated by a RAISING clause.

    Hi Thomas,
    We upgraded our system(2004S) to SP10 so that we can use the ADOBE form printing in Web Dynpro ABAP but could not apply note 1034425 because of the validity constraints in SNOTE. All the pre-requisite notes are already in the system apart from one note 1029721 which talks about supporting input helps. We don't want to use input helps in our system and cannot upgrade to SP11 because of problems with Business functionality.
    Questions:
    1) Is note 1034425 absolutely dependent on 1029721?
    2) If NOT, can someone please correct the validity so that we can implement using SNOTE.
    3) Would it be OK if we manually apply the changes specified in 1034425 without implementing 1029721?
    4) If all of the above is not applicable, is there any other note which fixes the above mentioned short dump.
    Your help in this matter will greatly help us in using the ADOBE services provided by SAP WDA.
    Thanks much

  • Integration of Adobe Flex with SAP Web Dynpro ABAP

    I am new to adobe flex development. i am following a tutorial prepared by
    Mr. Karthikeyan Venkatesan (Infosys Technologies Limited) Integration of Adobe Flex with SAP Web Dynpro ABAP-for ABAPers
    He used flex 3 to develop the flex application. i am using flex 4 downloaded from adobe(At a time Build release I used low version only 3.5). I followed all the steps. At a time of Run the data was not came.
    How to fetch the data?
    Please Guide how to proceed.

    Hi Laxmikanth,
    For Adebo Flex help..
    Please go through Thomas tutorial..
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10989ef6-968c-2b10-50a9-eb34a5267163&overridelayout=true
    and ...
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/307b434f-ff32-2b10-e885-991247270480?quicklink=index&overridelayout=true
    Hope it might helps you
    Thanks,
    Kris.

  • Calling adobe form from Web Dynpro ABAP

    Hi Friends,
                        This is the following error, which i got when i tested my application. Calling adobe form from Web Dynpro ABAP.
      WebDynpro Exception: ADS: Request start time: Tue Nov 16 14:00:22 YEKT
      2010(200,101).
                        Can some one tell me how to solve this....
    Regards
    Sankar

    Hi,
    Please refer to this same link in forum
    WebDynpro Exception: ADS: Request start time, start Interactive Form
    WebDynpro Exception: ADS: Request start time
    Thanks
    Pradeep

  • Adobe form to save data using Web Dynpro ABAP

    Hi. I am pretty new to SAP world and trying to learn and work on a task given to me relate to
    creating Adobe offline form using Web Dynpro ABAP same time.
    I have several questions and hopefully, many gurus like you will provide answers.
    I noticed there are many examples creating and using Adobe interactive forms (though not many newer version),
    but I didn't see (at least I didn't find any) any detail example on saving data to an internal table (such as fixed assets, vendor master, etc)
    using interactive form. Is there any detail explanation/example on this?
    I have ask this question in another forum (before I found this forum) but didnu2019t get the answer yet.
    2. When I tried to see graphic layout and modify the layout from Web Dynpro, I can't see the graphic layout.
    All I see is text list of fields/buttons that I created, but can't see section for graphic layout where I can modify layout.
    I am sure I didn't install/configure something correctly.
    Anyone has any idea what I didn't do?
    I have another question, but I will wait till later after I figure out above ones first.
    Thanks for all your help in advance.
    John

    Hi John,
    In the WD4A view, there is a button "Show/Hide Layout Preview".
    Click on that button to be able to see the Layout.
    Note that this button is next to the Pretty Print button.
    regards,
    Reema.

  • How to fill BI cube with Web Dynpro ABAP Program UI

    Hello,
    I am new in web dynpro ABAP and need zour help. How can i write aABAP web dynpro program, which allows the user to enter transactional data and saved in the real time infocube.
    I know that such a functionality exist  in the integrated planning where a real time infocube, changeable query, data provider and web template are created, and through which a user can enter or change for sepecific master data combination transactional data and save them in the info cube.
    Have you an experience in the way of implementing an user interface in connection with the real time cube. Do i have to use the BIAPPLICATIONFRAME UI element or is there a better way.
    Many thanks
    Arnaud
    Edited by: Arnaud on Jul 28, 2010 3:32 PM

    Hi Rajpal,
    Please go through this..
    calling BI report
    Cheers,
    Kris.

  • 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

Maybe you are looking for