Callback functionality in Web dynpro

Dear Experts,
How i can implement a web dynpro application which gets updates from server without any interaction from the end user? in the same time I dont want to trigger a full refresh using timed trigger as this will slow the application.  is there any functionality like Ajax partial refresh or callback functionality?
Best Regards
ebrahime

>
ebrahime wrote:
> Dear Experts,
> How i can implement a web dynpro application which gets updates from server without any interaction from the end user? in the same time I dont want to trigger a full refresh using timed trigger as this will slow the application.  is there any functionality like Ajax partial refresh or callback functionality?
>
> Best Regards
> ebrahime
If you want to update with ajax a web dynpro application, you can not do this In CE 7.1 or earlier (I really don't know about 7.11). You can do this for example with a portal application, if it isn't something specific for the wd application you can move it outside and place it somewhere with your wd application, some playing with the pages will do this work.
You can do another thing: place a portal application, which will be invisible and will call some web service via ajax and use portal eventing to "inform" your we dynpro application. But in this case when you receive the event it will behave like the timer trigger, it will redraw you page.

Similar Messages

  • Accessing ABAP Functions in Web Dynpro Java

    Hi,
    I am trynig to do "Accessing ABAP Functions in Web Dynpro Java" this application, (which is the example application which i got from www.sdn.sap.com) but everything is fine no error also while dyploying.
    But it is not dysplaying the first page after i run the application i am getting plain web page ,without any content.
    Can any body help me.
    Regards,
    H.V.Swathi

    k.. now iam getting some error on page.
    I have embeded the two view in to window.
    But now after running the application i am getting connection error
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=jktr3 GROUP=SPACE R3NAME=R32 MSSERV=sapmsR32 PCS=1 ERROR Group SPACE not found TIME Fri Sep 26 15:05:59 2008 RELEASE 700 COMPONENT LG VERSION 5 RC -6 MODULE lgxx.c LINE 4288 DETAIL LgIGroupX COUNTER 1
        at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:457)
        at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:989)
        at com.sap.mw.jco.JCO$Client.connect(JCO.java:3193)
        at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:90)
        at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:122)
        ... 61 more
    Rgards,
    H.V.Swathi

  • Programming Key Functions in Web Dynpro Java

    Hi, "Amigous"
    How can I Programming Key Functions in Web Dynpro Java, like F1, F2, F3...??
    Thanks in advance.
    P:D. I don´t have Swine Flu.

    Hi,
    Please see the below link.
    [http://www.octavia.de/fileadmin/octavia_files/content_bilder/Hauptnavigation/SAP_NetWeaver/WebDynpro/Web_Dynpro_Part_I.pdf]
    Regards
    Krishna

  • KM functionality in web dynpro. Missing file: TutWD_KMBrowser_Init.zip

    Hi,
       in pdf documentation "Using Knowledge Management Functionality in Web Dynpro Applications" is mentionated TutWD_KMBrowser_Init.zip file for downloading, but I can't find it following the path suggested.
    Could you help me?
    Thanks,
    Luca Grilli

    Hi,
    There is no resource in the said location
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/tutorial on using knowledge management functions in web dynpro.htm  ...
    Kindly help in finding some document which gives a overview of using KM UI APIs .
    Regards,
    Vani Rao

  • Accessing ABAP Functions in Web Dynpro

    Hi all,
    for testing reasons I would like to implement a simple Web Dynpro Application which access APAP functions (or BAPIs) on a remote SAP backend system. The problem is that I dont have a SAP backend system
    There is a tutorial :
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/355b9c90-0201-0010-d2a8-89fece426526">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/355b9c90-0201-0010-d2a8-89fece426526</a>
    which states some prerequisites.
    My question:
    Is it possible to comply to all these prerequisites by installing NetWeaver Preview and minisap as remote SAP backend system ? Where can I get minisap ?
    I'm quite new to SAP so I'm al little unsure which part belongs where.
    Maybe someone can give me a hint.
    Thanx a lot

    Hi Oliver,
    here you can download all you need:
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/cfc19866-0401-0010-35b2-dc8158247fb6
    Note: read the column comment in the page to understand what you need (java or abap stack).
    Hope this help you,
    Vito

  • Print Functionality for Web Dynpro ABAP Application

    Hi All,
    I am using the standard print button provided by FPM in my application.
    The application has a date navigator control as well as a dynamic ALV with fixed and on fixed columns.
    I would like to know if the application has to do any implementation to provide print functionality. If yes, how do we do it?
    Will it consider all the ALV columns as the ALV could have horizontal scroll bar.
    How do we test it?
    Defining output device in our user as LOCL is enough to test it? Are there any limitations?
    Findings until now:
    I just happened to see that gc_event_print FPM event is raised and the application uses interactive PDF form to implement printing.
    I am not sure if this satisfies my requirement.
    Could you help me in providing more information regarding this? You could also provide me some web dynpro examples for reference.
    Regards,
    Rekha

    >I just happened to see that gc_event_print FPM event is raised and the application uses interactive PDF form to implement printing.
    I am not sure if this satisfies my requirement.
    As you are already suspecting, the FPM doesn't provide the print functionality itself.  It only raises the event and the specific application is then responsible for how it wants to produce the output.  Therefore it is your job to design the output (generally using PDF forum).

  • How call key Function in WEB Dynpro Java?

    Hi,
    Somebody know how to call key Function(F1, F2, ... F12) in WEB Dynpro Java to launch and Event?
    Thanks in advance.

    Hi,
    You can WDHotKey property to define the different keyboard shortcuts to enable the user to trigger events with key combinations.
    When the user presses the key board shortcut defined as the hotkey then onAction event is triggered.
    The keys F2, F3, F4, F5, F6, F7, F8 and F9 are not supported, they call predefined functions provided by the Web Dynpro Framework.
    The complete list of supported shortcuts is here:
    http://help.sap.com/saphelp_nwce711/helpdata/en/48/1f1d65deaf733fe10000000a42189b/frameset.htm
    http://help.sap.com/saphelp_nwce711/helpdata/en/62/832cf3cd35004aa4ea8a2378c8a2be/content.htm
    If your question is answered then mark it so.

  • Optimization Functionality in Web Dynpro

    Hi Experts,
    Please somebody help me with this. I am evaluating the optimization tools, for example Excel Solver, to see if I can embed it for the Web Dynpro application in Formulation Management. For example, this optimization function will minimize cost of the ingredients of food, so that it can help the company to save some money. It is exactly like Excel Solver if you are familiar with it.
    Is there anyway that I can apply this tool for the Web Dynpro application? Or is there any other tool similar to Excel Solver that I can use? I would really appreciate your help. Thank you.
    Regards,
    -Napadol

    Hi Napadol,
    I don't think there is tools to operate directly on WebDynpro user interfaces. What i could think of is exporting your Web Dynpro tables to Excel and applying Excel Solver.
    If you need special table operations you'll have to code them by yourself.
    regards,
    Christian

  • Switching CATW (ITS Functionality) to Web Dynpro

    Hi,
    We are upgrading from ECC5.0 to ECC6.0 ..We have CATW (Time reporting) functionality presently running in ITS..
    We are facing some problems in getting the time entry screen after upgrade through portal . We logged OSS Message to SAP..SAP suggests that they will not support ITS from ERP2005 and advised to Web Dynpro..
    Intend to know if using ITS in ERP2005 is feasible or not ..Switching to Web Dynpro is a huge task..
    With regards,
    Mrinal

    I dont think that there is any tool available to do the conversion. you have to recode them
    Regards
    Raja

  • CL_GUI_FRONTEND_SERVICES Functions for Web Dynpros

    Hi folks,
    I want to check a file, which should be uploaded using FileUpload. This file shall exist on the local client and doesn't exceed a predefined size limit. CL_GUI_FRONTEND_SERVICES provides methods FILE_GET_SIZE and FILE_EXIST. As this class is only for SAP GUI my question is, if there is something near it for WebDynpros?
    Thanks for answers!

    You are correct that CL_GUI_FRONTEND_SERVICES is only for usage in the SAPGUI - as are any class with the naming CL_GUI*.  They require the Control Framework of the SAPGUI. 
    What you describe is not really possible in Web Dynpro - not because of a limitation in WD - but because of browser controls.  Remember that your application doesn't appear any more trusted to the browser than most anything else on the Internet. Even using security zones in the browser doesn't really open up full access to the desktop machine the way a thick client like the SAPGUI does.  I'm afraid that currently uploading the complete file and counting the number of bytes (as described) is your ownly records.  In the upcomming NetWeaver Enhancement Package 1 we do have two new ACF - Java Applet based UI elements that perform some of the functions of CL_GUI_FRONTEND_SERVICES.  They are acfUpDownload (for mass uploads/downloads and "background" ones) and the acfExecute - (arbritery execution of applicaitons on the desktop client). These UI elements get around the browser limitations because they are Signed Java Applets yet still have a security control mechanism (via a Whitelist Configuration XML file) to keep people from using them in a detrimental nature.  They still might not get you exactly what you want (file size query), but they are a step in the correct directly for replicating the most common functionalities of CL_GUI_FRONTEND_SERVICES.

  • Mimicking SAP search functionality for Web Dynpro inputfield

    Hello Experts,
    I am using NWDS 7.0.18. EP 7.00 SPS 18
    I want to mimic the standard SAP functionality of an input field search values in web dynpro.
    Is it possible to have an inputfield with the little square search values button next to it, so that after I type in a few characters in the input field and click the button, a window will open up and list the values that contains that string? Then the user can double click the value and it will get populated into the inputfield?
    Any suggestions?
    Regards,
    MM

    Hi Marshall,
    You can easily use the IModifiableSimpleValueSet for getting the value help attached to input field. Follow these steps:
    1) Create a attribute under somenode in the view context. 
    2) Bind the atribute with the input field.
    3) Use the following code:
    IWDAttributeInfo list =wdContext.node<Node_Name>().getNodeInfo().getAttribute("ATTRIBUTE_NAME");
    ISimpleTypeModifiable type = list.getModifiableSimpleType();
    IModifiableSimpleValueSet valueSet = type.getSVServices().getModifiableSimpleValueSet();
    valueSet.put("value1", "value1");
    valueSet.put("value2", "value2");
    valueSet.put("value3", "value3");
    valueSet.put("value4", "value4");
    Also please note that webdynpro does not support the feature what we have in ABAP when we type in some value and hit enter a pop up comes with the list of values. Such feature is not supported. The maximum what you can do is just hit the F4 button to get the value help and select some values from the value help popup which has come.
    I hope this solves your issue. Please revert back in case you need any further information on this. 
    Thanks and Regards,
    Pravesh

  • Accessing ABAP Functions in Web Dynpro Java in CE7.1

    Hi,
    I have a CE7.1 SP5 system installed and no access to an SLD. How can I use BAPIS  of an R3 backend system within a Web Dynpro application? Adaptive RFC only works with an SLD, right?
    Best regards,
    Kevin

    Hai ,
    if u want work RFC model u have to create JCO Connections in Portal . the u can give destination and import your bapi from r/3 System.
    Regards ,
    Venkat

  • Call Function in Web Dynpro

    Hi all, does anyone know how to call function 'RH_GET_DATE_DAYNAME' in WDDOINIT?
    Regards,
    YC

    Hi YC,
    see.. for example you have some FM or BAPI or Class method already there, now that you want to use in webdynpro,
    so by using SERVICE CALL option you can use this.
    Generally, WD is MVC pattern, so bussiness logic statements like SELECT, MODIFY, INSERT like commands directly
    not use in webdynpro methods, for this we create any FM or Class method and use those FM in webdynpro using
    SERVICE CALLS.
    Check this example for your understand..
    http://wiki.sdn.sap.com/wiki/display/WDABAP/WebdynproApplicationtocalltwoBAPIsfordisplayingtheFlightdetailsusingtab+strips
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9cb5d345-0801-0010-6a8e-fc57c23fd600?quicklink=index&overridelayout=true
    And read this..
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/a189b0ee583b8be10000000a421937/frameset.htm
    ->using CALL FUNCTION you can call any FM in webdynpro abap.. same works with pattern too.
    Cheers,
    Kris.
    Edited by: kissnas on Mar 9, 2011 7:00 AM

  • SUpply function in Web Dynpro ABAP

    I have 2 views - an INPUTVIEW and a DISPLAYVIEW.  I created 2 nodes in the component controller - INPUTNODE and TABLENODE.  In the INPUTVIEW, I mapped INPUTNODE of the component controller and in the DISPLAYVIEW, I mapped both the nodes of the component controller. I need to enter a value in the first view and the corresponding result should be displayed in the second view. I wrote the code in the supply function of the TABLENODE of the component controller. When i enter a value for the first time, the result is being displayed fine in the 2nd view.  But even if i go back and select another value in the INPUTNODE, the result is still the same.  Only if i refresh the 1st view, the result is changing.
    This is the code i wrote in the supply function of the TABLENODE of the component controller.
    data:   inputnode type ref to if_wd_context_node,
            tablenode type ref to if_wd_context_node,
            covalue   type string,
            itab_st  type standard table of zstate.
    inputnode = wd_context->get_child_node( name = 'INPUT_COUNTRY').
    inputnode->get_attribute( exporting name = 'zzco' importing value = covalue ).
    select * from zstate into table itab_st
    where zzco = covalue.
    tablenode = wd_context->get_child_node( name = 'DISPLAY_STATE' ).
    tablenode->bind_elements( itab_St ).
    Any ideas appreciated.  Thanks in advance.

    Hello,
    the supply method runs only when the node is invalid
    this is the case when you start your application.
    solution
    1. You can make the node invalid with the   method "INVALIDATE" in the method which is triggered by your back button.
    2.Don't use the supply method use the method which belongs to the inbount-plug called handle......
    3. You can change th lifetime in property of the view from
    "framworkcontrolled" to "when visible"
    Klaus
    Message was edited by: Klaus Helfrich
    Message was edited by: Klaus Helfrich

  • About implementing the "add'" function in web dynpro

    hi guyes,
    now i want to implement the "add" function in the webdynpro. i bind a model node to the inputfields. and then i call the webservice ,but it does not work . the webservice is good . what happened to my project on earth? can anybody tell me what i should pay attention to in my code? my node structure is below:
    AddTicketworkhour==
       ticketworkhourbean
           name
           remark
       userId
    the root node is AddTicketworkhour ,it contains ticketworkhourbean and userId,    ticketworkhourbean contains name and remark.
    Thanks A Lot !

    public onActionSave(  ){
    wdContext.currentAddWorkscheduleBeanElement().setConsultantName("qinlei");
        wdContext.currentAddWorkscheduleBeanElement().setDistrictName(wdContext.currentDisplayElement().getName());
        wdContext.currentAddWorkscheduleBeanElement().setRowId(123456789);
        wdContext.currentAddWorkscheduleBeanElement().setLocation(wdContext.currentDisplayElement().getRowId());
        wdContext.currentAddWorkscheduleBeanElement().setWorkerId(12345678);
        wdContext.currentAddWorkscheduleBeanElement().setWorkDate(new Timestamp(wdContext.currentContextElement().getWorkDate().getTime()));
         wdContext.currentAddWorkscheduleElement().setUserId(100);
        boolean result = wdThis.wdGetMyWorkscheduleUICompController().addWorkschedule();
    wdDoInit( ){
    MyWorkscheduleAddModel addModel = new MyWorkscheduleAddModel();
                    AddWorkschedule addWorkschedule = new AddWorkschedule(addModel);
                    WorkscheduleBean addBean = new WorkscheduleBean(addModel);
                    addWorkschedule.setBean(addBean);
                    IAddWorkscheduleElement addWorkscheduleElement = wdContext.createAddWorkscheduleElement(addWorkschedule);
                    wdContext.nodeAddWorkschedule().bind(addWorkscheduleElement);
    Is there anywrong with my wdDoIt( )?
    &#35874;&#35874;&#65281;

Maybe you are looking for