Call Web Dyn Pro from ICWC on Button event

Hi ,
How to call web dynpro application from ICWC (CRM 5.0) ?
In the srvTHead View a new button is provided and on click even the web dynpro application should be called.
I tried calling the web page using function module CALL_BROWSER and cl_gui_frontend_services=>execute.
is there any other way to call the web dynPro from ICWC.
Thanks in advance.
Regards,
Prasad

Stride,
Try doing a rebuild on your project and if that fails too the check the project/zip file you downladed from SDN. t should have the external jar file.
Also BTW which tutorial are you refering?
Chintan

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.

  • 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.

  • 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.

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • Htp.p doesn't work from the custom button event handler ...

    Hi,
    I am trying to pop up an alert from the custom button event handler. I created a button and put the following code.
    htp.p('<script language='JavaScript1.3">
    alert ("Test Message");
    </script>;
    But alter doesn't show up after clicking the button.
    Thanks

    OK i've attached them and copy/pasted the relevent parts. The parent window is the SFLB file.
    -----------------------------------------here's the code in the parent window
    private function editServerPool():
    void
    serverPoolPUW = PopUpManager.createPopUp(
    this,popups.ServerPoolPopup,true);PopUpManager.centerPopUp(serverPoolPUW
    as IFlexDisplayObject); 
    if (newServerPool.SecondarySPAlgorithm != null){
    serverPoolPUW.enableSSCheckBox.selected =true;serverPoolPUW.DisplaySecondaryServerPool();
    serverPoolPUW.bigResize.play();// serverPoolPUW.height = 602; //yes...i know i need to move thisserverPoolPUW.switchoverPolicyCB.selectedItem = newServerPool.SwitchOverPolicy;
    serverPoolPUW.switchoverThresholdTI.text = newServerPool.SwitchOverThreshold;
    ----------------------here's the code in teh popup window (popups.ServerPoolPopup.mxml)
    <mx:Resize id = "bigResize" heightFrom="506" heightTo="602" target="{this}" /> 
    <mx:Resize id = "littleResize" heightFrom="602" heightTo="506" target="{this}"/>
     public function DisplaySecondaryServerPool():void{
    //make the screen large if the secondary server checkbox is selected; otherwise small.  
    if (enableSSCheckBox.selected){
    //display secondary server pool tab, expand the screen 
    //note that we cannot attach a data provider to the data grid until the grid creation is  
    //completed. This is done in an event handler.secondaryPanel.enabled =
    true; switchoverPolicyCB.visible =
    true;switchoverThresholdTI.visible =
    true;thresholdFI.visible =
    true;policyFI.visible =
    true;bigResize.play();
    else
     <mx:CheckBox label="Enable a Secondary Server Pool" width="264" fontWeight="bold" click="DisplaySecondaryServerPool()" id="
    enableSSCheckBox" fontSize="12" x="83" y="40"/>

  • Calling web service request from PL/SQL

    I am trying to create Apex page with stock quote ticker - like what Yahoo has on their page. I have the right web service and have put together a page which works when you submit (created by the wizard). Instead of clicking submit to refresh the page I want to use Ajax to do this but for this purpose I need to know how to call web service from PL/SQL so I can do this in my on demand process. Any ideas?

    George,
    The documented way to call a web service using PL/SQL is to use UTL_DBWS package.
    Here are a couple of links that may be useful:
    http://www.oracle-base.com/articles/10g/utl_dbws10g.php
    http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm
    There is also an APEX package wwv_flow_web_services, but I couldn't find any documentation on it.
    Sima

Maybe you are looking for

  • Xcontrol project management

    I was hoping to get some advice or to be pointed in the direction where I can find out more info about managing an xcontrol "project" library. More specifically, I am curious as to what people do and what is considered best practice in the following

  • Sql developer install problem

    Hi, I'm on W'XP machine trying to make clean nstall Oracle SQL Developer, I did downloaded most recent version but it doesn't have as call "Connection tab" to make new connection ! My version is 2.1.1.64 for Windows 32b. FILE/NEW/CONNECTION/OK doesn'

  • Apache @ centos issue (hostname changed by mistake)?

    Hi there! I have a VPS and the hosting enterprise reboot it (don't know why), and i had configured apache correctly until this. Now, when i start apache theres an error: "Starting httpd: httpd: Could not reliably determine the server's fully qualifie

  • How do I uninstall anything running in background that I don't need?

    I am having problems (iMac OSX 10.6.8) with my searches being intercepted. Could this be caused by applications running in the background? If so, how do I uninstall anything running in background that I don't need?

  • Can't activate iphone after stupid botched unlock

    So, someone who shall remain nameless (no, not me but a relative) decided that they'd try to do an unlock on their iphone from overseas through one of those scummy unlock websites. After it didn't go well, he then tried to do a restore and now the ph