Schedule Web Dyn Pro Java Application in EP 7.30

Hi Experts,
We have a requirement to execute a web dynpro Java program every day at a specified time (Like a SAP ISU Batch program). Is there any probition in NWDS 7.30 to schedule a Web Dynpro Java Program

Hi Amit,
Possible solutions:
You can try using java scheduler from NWA , but it wil need atleast onehuman interaction.
http://scn.sap.com/docs/DOC-2665
or may be use of Asynchronous views
Implementing a scheduler using webdynpro java in CE 7.2
For RFC, you can write an helper class inside your application.
Or if you can use BPM for this. You can write your custom code on Boundary event, which will do all the work you intended.
Regards,
Nikhil Joshi

Similar Messages

  • How to reschedule a Back ground job in Normal ABAP from Web Dyn Pro abap application??

    Hi Experts,
    How to reschedule a Back ground job in Normal ABAP from Web Dyn Pro abap application??

    Can you give us some more information? Background jobs primarily don't have anything to do with Webdynpro.

  • Java Web Dyn Pro Jump Start

    Forum Members
    Can you please help me and provide links,documentation(pdfs etc) which would help me get started
    with a medium complexity java web dyn pro application.?
    Any information pertaining to Java Web dynpro will be useful.
    Moderators: Please note..I did look for some quick start tips in the forum but search did not yield relevant results.

    Follow this link
    This is specific for  [Web Dynpro for Java |http://help.sap.com/saphelp_nw70/helpdata/en/14/c897427f18d06ae10000000a155106/frameset.htm|Click to Navigate] Applications

  • Deploying  ABAP Web Dyn Pro application in a portal iView

    Hello,
    Our goal is to Deploy Web Dyn Pro application to public internet user and at the same time we want to keep the ABAP Web Application server that host Web ABAP  Dyn Pro application behind the firewall so that no one can directly access the ABAP WAS over the internet. To do this we are planning to deploy the ABAP Web Dyn Pro application with in a portal iView where the portal server has anonymous access to the internet user. 
    The question is when we embed the ABAP Web Dyn Pro in a portal iView, does the web browser directly talk to the ABAP WAS?  If so, is there any other method where we could keep the ABAP WAS secure and give the public access to ABAP Web Dyn Pro application.
    Thanks,
    Vimalan

    Hi Vimalan,
    <b>I'm assuming you use some kind of a reverse proxy in front of the portal server</b>.
    Here how it goes:
    1. Create a WD ABAP AppIntegrator iView in the portal.
    2. The iView will use a system that holds the ABAP server details (host:port and protocol)
    3. The system will be configured to have the host:port and protocol of the reverse proxy server.
    4. On the reverse proxy server, create a rule that will forward all URLs with the template of <i>/sap/bc/webdynpro/</i> to the real host:port and protocol of the ABAP server. This way you achieve what you intend to do.
    Hope this helps,
    Natty

  • Debug Web Dyn Pro application. Absent library class

    Hello, Could anybody assist me.
    I have web dyn pro project, it works well when I run it in normal mode. But when I run it under debug mode I got the exception
    that one my library was not found.
    java.lang.NoClassDefFoundError: com/accenture/mdp/common/util/StatusUtil
         at com.accenture.mdp.company.components.CompanyDataEntry.wdDoInit(CompanyDataEntry.java:189)
         at com.accenture.mdp.company.components.wdp.InternalCompanyDataEntry.wdDoInit(InternalCompanyDataEntry.java:824)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:275)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:539)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:397)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:554)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:397)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:554)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:421)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)
         at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:41)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:135)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:404)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:618)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    May be somebody know reason of this problem ?

    Hi Sergey,
    Please check if the below threads are useful for you:
    1. debugging question - source not found  
    Re: debugging question - source not found
    2. java.lang.NoClassDefFoundError when utilizing an external jar/zip  
    Re: java.lang.NoClassDefFoundError when utilizing an external jar/zip
    Regards,
    Anagha

  • Text/Caption in Web Dyn Pro? (Newline possible?)

    Is it possible to add a new line for text in caption in web dyn pro?
    In Java, I tried storing the string as "Result.\nPass" but it seems when being displayed, the new line is not shown but it is only shown in one whole line.
    Any advise?

    Hi
    Good problem is solved.
    Your question usage of setLabel? What label is being set when you refer to "currentContextElement()" ?
    1Actually for your concern I did one test in my NWDS ,Its a wrong naming convention thats why u confused.
    (instead of label i have to use say InputCaption because label is standard used by framework or its common )
    2. I have created one context attribute named label and one UI of TextView ,associated its value property to
        this context.
    and accessed this through currentContextElement()
    Best Regards
    Satish Kumar

  • Find the missing Authorisation Object in the WEB Dyn pro applciation

    Hi,
    We are having the ECC6.0 with Enterprise portal. in EP we are running the application with some webdynpro
    there are some missing authorisation when running the application
    how can we track the what all authorisation is missing / checked for the web dyn pro
    is there any way Like SU53 in the WEbdyn pro or any other method to check ?
    all the web dynpro are custom developed
    Thanks & Regards
    Virandra Sharda

    Hi,
    SU53 dump may not work for the authorization issue as it provides last authorization check failed details.
    Take trace by ST01 transaction. It will provide you the authorization check details..
    Where Return Code (RC) will be 4(RC= 4), there user is facing authorization issue...
    Try to find the error from from the first authorization check failed details..
    There may be some false authorization check failed details, what is not required for the perticular work.
    This kind of error comes due to program error. So you need to test the access by adding the authorizations.. try to provide minimum authorization to solve the issue.
    Regards,
    Sandip.

  • How to handle exceptions in web dyn pro

    Hi Frndz....
                     Can any one kindly xplain how to handle exceptions in web dyn pro..like we hav exceptionhandling in java ....so is there any for NWDS
    THANKS & REGARDS
    Rajesh

    Hi,
    Web Dynpro Java is basically java only.i.e You program in java. Hence exceptions are supported in the same way as in java i.e. via try,catch and finally block.
    Additionally,
    In 04/04s if you create a method in any controller in web dynpro you cann't specify exception that can be thrown in the method. This is now possible in new programming web dynpro model in CE.
    Hence when creating a method you can also specify custom or core java (lib)excetions.
    Regards,
    Ashwani Kr Sharma

  • Interactive report in Web Dyn Pro

    Hi.
    How to do the Interactive Report in Web Dyn Pro Application.
    In selection screen i give the VBELN data.
    Based on VBELN i want display VBAK data First.
    If i am double click on the Sales Document Number of VBAK then i want display the VBAP data.
    Thank You.

    Hi Krishna,
    Try going through this [example here|http://****************/Tutorials/WebDynproABAP/Modalbox/page1.htm]. The application has 2 views created, one for input screen for entering customer number and other for displaying the sales order details for the chosen customer. The user enters a customer number on the main view & clicks on a button to fetch the data. The system then displays the corresponding sales orders of this customer in a pop up window. The user then selects 1 sales order from the popup window and presses on another button. It would then go back to the main view & display the corresponding sales items for the selected sales order number.
    Regards,
    Uday

  • Select option in web dyn pro

    Hi,
    Is there any way to deafult current date to date select-option in web dyn pro?

    hi,
    Check following code:
    DATA:
           lr_componentcontroller TYPE REF TO ig_componentcontroller,
           l_ref_cmp_usage TYPE REF TO if_wd_component_usage.
      DATA:
          lt_range_table       TYPE REF TO data,
          lt_types             TYPE string_table,
          rt_range_table       TYPE REF TO data,
          text                 TYPE string,
          typename             TYPE string.
      DATA: vbeln TYPE lips-vbeln,
            erdat TYPE lips-erdat,
            auart TYPE vbak-auart,
            trnsp TYPE vtadd01t-add_info,
            kunnr TYPE likp-kunnr.
      DATA:
        num_events TYPE i.
      DATA: uname TYPE sy-uname.
      uname = sy-uname.
      wd_context->set_attribute(  name = 'CUSTOMER'
      value = uname  ).
    wd_context->GET_ATTRIBUTE( Name = 'TRANSPORTER_CODE'
    Value = uname ).
    create the used component
      l_ref_cmp_usage = wd_this->wd_cpuse_select_options( ).
      IF l_ref_cmp_usage->has_active_component( ) IS INITIAL.
        l_ref_cmp_usage->create_component( ).
      ENDIF.
    get a pointer to the interface controller of the select options component
      wd_this->m_wd_select_options = wd_this->wd_cpifc_select_options( ).
    init the select screen
      wd_this->m_handler = wd_this->m_wd_select_options->init_selection_screen( ).
      lt_range_table = wd_this->m_handler->create_range_table( i_typename = 'VBELN_VL' ).
      wd_this->m_handler->add_selection_field(
        i_description                = 'Sales Document'
        i_id                         = 'VBELN'
        i_obligatory                 = 'X'
        it_result                    = lt_range_table
        i_value_help_structure       = 'LIPS'
        i_value_help_structure_field = 'VBELN' ).
      lt_range_table = wd_this->m_handler->create_range_table( i_typename = 'ERDAT' ).
      wd_this->m_handler->add_selection_field( i_id = 'ERDAT'  i_obligatory = 'X' it_result = lt_range_table ).
    *lt_range_table = wd_this->m_handler->create_range_table( i_typename = 'VTTK_ADD01' ).
    *wd_this->m_handler->add_selection_field( i_id = 'VTTK_ADD01' I_DESCRIPTION  = 'CHAHA' it_result = lt_range_table ).
       wd_this->m_handler->add_selection_field(
         i_description                = 'Transporters Code'
         i_id                         = 'VTTK_ADD01'
         it_result                    = lt_range_table
         i_value_help_structure       = 'VTADD01T'
         i_value_help_structure_field = 'ADD_INFO' ).
    *Supress Global options in Used Component
      wd_this->m_handler->set_global_options(
          i_display_btn_cancel  = ''
          i_display_btn_check   = ''
          i_display_btn_execute = ''
          i_display_btn_reset   = '' ).
      lt_range_table = wd_this->m_handler->create_range_table( i_typename = 'VBAK-AUART' ).
      wd_this->m_handler->add_selection_field(
        i_description                = 'Sales Document Type'
        i_id                         = 'AUART'
         i_obligatory                = 'X'
        it_result                    = lt_range_table
        i_value_help_structure       = 'VBAK'
        i_value_help_structure_field = 'AUART' ).
    ENDMETHOD.
    METHOD onactionexecute .
      DATA: node_saledoc TYPE REF TO if_wd_context_node.
      DATA: node_crdate TYPE REF TO if_wd_context_node.
      DATA: node_transcode TYPE REF TO if_wd_context_node.
      DATA: node_doctype TYPE REF TO if_wd_context_node.
      DATA: node1 TYPE REF TO if_wd_context_node.
      DATA: node2 TYPE REF TO if_wd_context_node.
      DATA: rt_saledoc TYPE REF TO data.
      DATA: rt_crdate TYPE REF TO data.
      DATA: rt_transcode TYPE REF TO data.
      DATA: rt_doctype TYPE REF TO data.
      FIELD-SYMBOLS: <fs_saledoc> TYPE table,
                      <fs_crdate> TYPE table,
                      <fs_transcode> TYPE table,
                      <fs_doctype> TYPE table.
    Retrieve the data from the select option
      rt_saledoc = wd_this->m_handler->get_range_table_of_sel_field(
      i_id = 'VBELN' ).
    Assign it to a field symbol
      ASSIGN rt_saledoc->* TO <fs_saledoc>.
    Retrieve the data from the select option
      rt_crdate = wd_this->m_handler->get_range_table_of_sel_field(
      i_id = 'ERDAT' ).
    Assign it to a field symbol
      ASSIGN rt_crdate->* TO <fs_crdate>.
    Retrieve the data from the select option
      rt_doctype = wd_this->m_handler->get_range_table_of_sel_field(
      i_id = 'AUART' ).
    Assign it to a field symbol
      ASSIGN rt_doctype->* TO <fs_doctype>.
    Retrieve the data from the select option
    *rt_transcode = wd_this->m_handler->get_range_table_of_sel_field(
    *i_id = 'VTTK_ADD01' ).
    Assign it to a field symbol
    assign rt_transcode-> to <fs_transcode>.
      node_saledoc = wd_context->get_child_node( name = 'S_VBELN' ).
      node_saledoc->bind_table( <fs_saledoc> ).
      node_crdate = wd_context->get_child_node( name = 'S_ERDAT' ).
      node_crdate->bind_table(  <fs_crdate> ).
      node_doctype = wd_context->get_child_node( name = 'S_AUART' ).
      node_doctype->bind_table( <fs_doctype> ).
      IF <fs_doctype> IS NOT INITIAL
        AND <fs_crdate> IS NOT INITIAL
        AND <fs_saledoc> IS NOT INITIAL
        wd_comp_controller->execute_zotddelvnote_vend_tari( ).
      ENDIF.

  • What is the recommended way to launch a web-start enabled Java application?

    Hello,
    I have a simple web-start enabled Java application, which I can launch from a brower by entering :
    https://xx.xx.x.xxx/MyApp/launch.html
    This method would show me a page. I then had to click on a link to run my application.
    I noticed that I could also launch my program by entering :
    https://xx.xx.x.xxx/MyApp/launch.jnlp
    This method would run my application right away.
    I wonder if there is a recommended way to launch/run a web-start enabled Java application?
    Thank you,
    Akino

    user8708553 wrote:
    ..to directly launch my application and bypass the HTML page, why is there a need to
    display the HTML page and make the user do a click?There are a number of advantages to using the web page. Including..
    <li> An explanation to the end-user of what the application does (a 'sales pitch').
    <li> Provision of screen shots of the app. (more 'sales pitch').
    <li> A description of what security environment it requires, and why.
    <li> Access to using the deployJava.js* to ensure the end-user actually has Java installed & has a suitable minimum version of Java, before they ever get access to the launch button/link.
    * http://download.oracle.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html#deployingApplications

  • Web Dyn Pro development

    Dear Experts,
    Seek your kind advise on the following:
    We have developed a Web Dyn pro object which has created a URL. We are able to access the screen through directly entering the url in the browser. However, as you would know typing the extra long URL is not the preffered way. hence i wish to launch this url through a click on the web screen of the SAP CRM.
    I understand the 'transaction launcher' could be helpful but I dont know how. Would be heavily obliged for some tips on how to proceed ahead.
    Thanks and regards, in advance.

    Thanks a ton.

  • Web dyn pro+ALV

    Hi all,
    I am using alv in web dyn pro.
    I want Drop downs in alv list.
    Eg: alv is displaying carrid,connid,price,and etc.,
    i want carrid and connid as read only drop downs.
    Regards,
    sarath

    Hi Sarath,
      set_attribute_value_set method is used to set dropdown values to an attribute and not to the node.
    If you want to use this specific method for setting dropdown values, Create an attribute in the node 'DROP' say drop_down and then do the following.
    METHOD dd_country.
    DATA: lx_current_controller TYPE REF TO if_wd_controller,
    lx_node TYPE REF TO if_wd_context_node_info,
    lx_element TYPE REF TO if_wd_context_element,
    ls_value TYPE wdy_key_value,
    lt_value_set TYPE wdy_key_value_table,
    lx_current_controller = wd_this->wd_get_api( ).
    Get the Values to that need to be set as dropdown,
    Build the values set internal table. by doing the below.
    CLEAR ls_value.
    ls_value-key = ls_t005t-land1.
    ls_value-value = ls_t005t-landx.
    APPEND ls_value TO lt_value_set[].
    Set the dropdown.
    lx_node = wd_context->get_node_info( ).
    lx_node = lx_countries_node->get_child_node( name = 'DROP' ).
    lx_node->set_attribute_value_set( name = 'DROP_DOWN'
    value_set = lt_value_set ).
    Regards,
    Suman

  • Is Auto-refresh feature available for tables in web dyn pro???

    Hello Experts,
    I have a requirement as explained below..
    There is a table which has few rows, which are populated on launch of a particular screen..now table needs to be refreshed without reloading of page or press of a button (i.e without any user action)..
    is there any fearure in Web dyn pro which facilitates this requirement???
    Thanks in advance..
    thanks & Regards,
    Hampanna Kamatar

    Hi Hampanna,
    I guess you can use the TimerTrigger. This will be useful in your case.
    The TimedTrigger UI element is used to execute a controller action periodically with a defined delay.
    TimedTrigger is currently invisible (like InvisibleElement), thus it ignores both its tooltip and its visibility. Nevertheless it occupies a cell in certain layouts like MatrixLayout. To use a timed trigger, you have to assign an action to the onAction event and set the delay property to the desired delay in seconds.
    There are several ways to turn off a timed trigger. The most convenient way is to disable the assigned action (like you would do with a button). Other possibilities are setting the delay to 0 or disabling the timed trigger like any other UI element.
    Caution: Triggering the action rudely interrupts user interactions!
    So what you can do is asign a action and write the code to reload teh data in that action. Set the delay you require in seconds. In case later you want to switch of the timer you can easily do that.
    Check these API:
    http://help.sap.com/javadocs/nwce/current/wdr/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDTimedTrigger.html
    I hope this will solve your issue.
    Thanks and Regards,
    Pravesh

  • Invoke Workflow from Web Dynpro for Java Application

    I am working on a custom web dynpro for java application and when the user clicks the submit button the SAP standard workflow (WS50000041) should be invoked. Does anyone have experience they can share with me on how to achieve this functionality? It should also be able to attach an adobe form or read data from the form and submit the data as xml.
    Thanks,
    Ashley

    Hi Ashley,
    Use following code in RFC to invoke your workflow -
    DATA : w_subrc TYPE sy-subrc,
                w_wi_id LIKE swwwihead-wi_id.
    CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
            EXPORTING
              task                      = ' WORKFLOW - WSxxxxxx '
              language                  = sy-langu
              do_commit                 = 'X'
            IMPORTING
              return_code               = w_subrc
              workitem_id               = w_wi_id
            TABLES
              input_container           = it_container
              message_lines             = lv_swr_messag
          COMMIT WORK.
    With this code your workflow will get start. But u have to use workflow id in next application also in which your request is getting navigated. In that application you have to take this workflow ID and have to pass again in workflow using - PortalNavigation statements.
    After that this workflow will get start to publish in your TaskList (My Task) in Portal. Remeber that your all task should be maintained in workflow table by using SWFVISU  transaction.
    After that go to Portal and Re-Register your UWL so that your new Workflow ID will get usable in portal.
    With this way you would be able to use workflow with Web Dynpro Java using UWL and Workflow.
    Regards,
    Roshan Gupta

Maybe you are looking for

  • Log file in the deploy service

    Hi , I am trying to deploy a ear using deploytool.I am getting errors while deploying.I want see the complete log for the errors. The deployer_log file displays some errors and ....20 more  " For detailed information see the log file of the Deploy Se

  • Any JDeveloper tutorial suggestions for Java/OOP newbie

    I know SQL and basics of OOP. Have Oracle 10g and JDev installed. Got up to Chapter 4 of the on-line JJavaEE tutorial ( http://download-west.oracle.com/otndocs/products/jdev/10131/JavaEE_tutorial.pdf ), but then got lost after that. Too complex of an

  • Is there any non-generic ADC/DAC in Multisim?

    I was wondering if Multisim carried any ADC's or DAC's that "real parts" and not just generic.  I have a circuit that I'm testing that has all "real IC's" except for the 8-bit ADC and 8-bit DAC which are generics.  The circuit works but I'm having pr

  • Error: GadgetMsgs.xml could not be processed

    I am having trouble with several asp gadgets failing to load the GadgetMsgs.xml file. The error I receive is: ERROR in ReadMsgs: This Gadget uses resource file D:\Inetpub\wwwroot\cp-community\EN\GadgetMsgs.xml, but the file could not be processed. Pl

  • KEYCHAIN PASSWORD NOT RECOGNISED

    Since installing Snow Leopard Keychain will not open as it says the password is wrong but I am 100% certain the password I enter is correct. I have not changed it from the password used before I installed Snow Leopard. This is a major problem as I ca