Skipping first view of a Web Dynpro Application

Hi,
I have an entrance screen to a WebDynpro Component on which the user has to enter a value for an input field and select one of the processing modes( Create, Delete, Change) for this object. There are some input checks and some data are filled for the second screen when the user fills in the input field and presses one of the buttons on the screen. Now i want to open this functionality with an API to a SAPGUI based application and I would like to skip the first screen when the user gives the value of the input field and the processing  mode(Display, Create or Change) on the screen. Is it possible to program a kind of CALL TRANSACTION ...  SKIP FIRST SCREEN with WebDynpro applications and navigate to the second screen automatically with triggering the filling of data and checks on first screen with displayigng it?Thanks.
Regards,
Sukru

Hi,
It is possible.
I have some parameters in the at the WD application level. In the WDDOINIT of the view, im using these parameters based on
these values i'm skipping the 1st view and going to 2nd view directly.
In my 1st view, I have a input field and some button with an action to it.
for ex:
i read application parameter into some variable lv_var.
and EXECUTE is the action attached to the button where im firin my plug to second view.
lv_var = wdr_task=>client_window->get_parameter( 'VAR' ).
if lv_var eq 'X'.  "Skip screen
***Set the values to the Input field here
    CREATE OBJECT lref_event
      EXPORTING
        name = 'EXECUTE'.
    wd_this->ONACTIONEXECUTE( wdevent = lref_event ).
  ENDIF.
endif.
In the button handler, i have my coding....
Hope this is clear.
Regards,
Lekha.

Similar Messages

  • How to execute a BI query/view from a web dynpro application?

    Hi all,
    I am trying to connect to a BI system from a Web Dynpro application. I have to execute a view/query and process the output in my application. Please guide me about how to establish the connection to the BI system from my web dynpro application and then execute the query/view.
    I have tried executing/modelling the BI query/view using Visual Composer but I get an error saying 'QueryView Instantiation failed' when I try to drag the view/query on to the design board.
    Please guide me and help me achieve this.
    Thanks & Regards,
    Kishan

    Hi Kishan,
    Define system for BI in portal and define JCo destination, then from WDJ application use can query BI.
    Create the Technical System and connect with JCO Destinations
    or
    Connecting through the BI Connecters (ex: XMLA Connecter)
    Refer below link:-
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60f35908-ecd4-2910-6c89-e75e1054d9d1?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60f35908-ecd4-2910-6c89-e75e1054d9d1
    In this document you will get details related to connector and other admin activity.
    Hope this may help you.
    Deepak!!!

  • Passing parameters between views in different Web Dynpro applications

    Hi everyone,
    I would like to pass the value of one parameter between one view in a webdynpro application and another view that is in other webdynpro application. How can I do this in a secure way?

    Hi,
    Check below links for passing parameters between two applications:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b083f76a-708c-2b10-559b-e07c36dc5440
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/91b6ad90-0201-0010-efa3-9626d2685b6e
    Re: Pass parameters via POST in WDPortalNavigation.navigateAbsolute method
    Regards,
    Anagha

  • First Web Dynpro application error

    Hi,
    I'm new to SAP portal development, when I tried to deploy my first web dynpro application, I getting the below error.  I have followed exactly the same procedure described in the tutorials.  I'm using NW Sneak preview.  What is DC mean?
    An error has occurred:
    "Failed to process the request."
    Please contact your system administrator.
    Hide details
    Web Dynpro client:
    HTML Client
    Web Dynpro client capabilities:
    User agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0, version: null, DOM version: null, client type: ns7, client type profile: nn7, ActiveX: disabled, Cookies: enabled, Frames: enabled, Java applets: enabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
    Web Dynpro runtime:
    Vendor: SAP, Build ID: 6.4009.00.0000.20041104173322.0000 (release=630_REL, buildtime=2004-11-18:22:17:10[UTC], changelist=298578, host=PWDFM027)
    Web Dynpro code generators of DC local/Welcome:
    SapDictionaryGenerationCore: 6.4010.00.0000.20040910101802.0000 (release=630_VAL_REL, buildtime=2004-12-13:22:15:29[UTC], changelist=280522, host=PWDFM026.wdf.sap.corp)
    SapMetamodelWebDynpro: 6.4010.00.0000.20041213121535.0000 (release=630_VAL_REL, buildtime=2004-12-13:22:19:39[UTC], changelist=312712, host=PWDFM026.wdf.sap.corp)
    SapMetamodelCore: 6.4010.00.0000.20041126121122.0000 (release=630_VAL_REL, buildtime=2004-12-13:22:08:55[UTC], changelist=306364, host=PWDFM026.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 6.4010.00.0000.20041209081817.0000 (release=630_VAL_REL, buildtime=2004-12-13:22:37:37[UTC], changelist=311488, host=PWDFM026)
    SapWebDynproGenerationCTemplates: 6.4010.00.0000.20041209081817.0000 (release=630_VAL_REL, buildtime=2004-12-13:22:37:37[UTC], changelist=311488, host=PWDFM026)
    SapGenerationFrameworkCore: 6.4010.00.0000.20041104141254.0000 (release=630_VAL_REL, buildtime=2004-12-13:22:07:58[UTC], changelist=298452, host=PWDFM026.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 6.4010.00.0000.20041104141931.0000 (release=630_VAL_REL, buildtime=2004-12-13:22:24:21[UTC], changelist=298465, host=PWDFM026.wdf.sap.corp)
    SapMetamodelDictionary: 6.4010.00.0000.20040609163924.0000 (release=630_VAL_REL, buildtime=2004-12-13:22:12:38[UTC], changelist=253570, host=PWDFM026.wdf.sap.corp)
    SapMetamodelCommon: 6.4010.00.0000.20041126121122.0000 (release=630_VAL_REL, buildtime=2004-12-13:22:09:08[UTC], changelist=306364, host=PWDFM026.wdf.sap.corp)
    SapWebDynproGenerationCore: 6.4010.00.0000.20041104141931.0000 (release=630_VAL_REL, buildtime=2004-12-13:22:24:53[UTC], changelist=298465, host=PWDFM026.wdf.sap.corp)
    SapDictionaryGenerationTemplates: (unknown)
    Web Dynpro code generators of DC sap.com/tcwddispwda:
    No information available
    Web Dynpro code generators of DC sap.com/tcwdcorecomp:
    No information available
    J2EE Engine:
    No information available
    Java VM:
    Java HotSpot(TM) Server VM, version: 1.4.2_07-b05, vendor: Sun Microsystems Inc.
    Operating system:
    Windows XP, version: 5.1, architecture: x86
    Error stacktrace:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for view com.sap.examples.welcome.StartView. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.<init>(DelegatingView.java:41)
    Caused by: java.lang.NoSuchMethodError: com.sap.tc.webdynpro.progmodel.gci.GCIContext.createMappedAttribute(Ljava/lang/String;Ljava/lang/String;Z)Lcom/sap/tc/webdynpro/progmodel/gci/IGCIAttributeInfo;
         at com.sap.examples.welcome.wdp.InternalStartView.<init>(InternalStartView.java:43)
         ... 36 more

    Hi Siva,
    to my understanding - your problem has nothing to do with J2EE server configuration - your application is already deployed on the server and running (brings error though):
    at com.sap.examples.welcome.wdp.InternalStartView.<init>(InternalStartView.java:43)
    so your class is already called.
    DC = Development Component, but if you created a "simple" WebDynpro project - you should read the hint as "are you sure your project is properly deployed?"
    I got similar messages (see your quota about NoSuchMethodException - I'm not really sure I was getting NSME, but definitely "Failed to create delegate for view") in case a Java-type context attribute was not initialized (e.g. you create context attribute of type java.util.Properties, do not put any object there, and request the attribute value). Check if you properly initialize context attributes.
    Another thing - I presume you're running DevStudio of the same version as your server. DevStudios of different versions generates different sources - there could be problems in run-time when out of synchronization.
    Best regards,
    Nick

  • Exiting a Web Dynpro Application by pressing a button on a Web Dynpro View

    Hi all,
    I want to exit a Web Dynpro application when the user presses an Exit button on the screen. Is there an API for closing the current browser window and exiting the application?Thanks.
    Sukru

    hi,
    For closing Main Window, use Exit Plug in Windows:
    Do the following steps :
    -> Make an Outbound Plug to the Window.
    ->Make the type of Outbound plug to Exit Type.
    ->Add CLOSE_WINDOW of type wdy_boolean as a parameter to the outbound plug of Window.
    ->Do remember to add Component Name in the Properties Tab of View ( othervs Calling Outbound plug of window from view wont be possible ).
    ->Fire the outbound plug with close_window as X in the onAction of Exit Button .
    Refer SAP online help on using Exit plug to close a window:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/content.htm
    method ONACTIONGO_EXIT .
    data: L_REF_MAIN_WINDOW type ref to IG_MAIN_WINDOW .  
    L_REF_MAIN_WINDOW =   WD_THIS->GET_MAIN_WINDOW_CTR( ). 
    L_REF_MAIN_WINDOW->FIRE_MY_EXIT_PLUG_PLG(     CLOSE_WINDOW =   'X' ).
    endmethod.
    here Main_window is the window which needs to be closed.
    I hope it is clear.

  • Clear/refresh(F5) fields in web dynpro application view

    How to clear or refresh(F5) fields in web dynpro application abap while redirecting to another view? I have tried using "context_node->invalidate()" but it's not working for all the fields, some are getting initialised and some not. Is there any other method to refresh all the fields in the view all at once. Please guide.

    Hi,
    For the Context node( to which the drop down is bound) create a supply function as shown below:
    Now populate the drop down in supply function method instead of WDDOINIT method.
    Go to methods tab and write the below code in supply function method:
    DATA lo_nd_drop TYPE REF TO if_wd_context_node.
        DATA lt_drop TYPE wd_this->elements_drop.
        DATA ls_drop TYPE wd_this->element_drop.
    *Fill Drop down
        ls_drop-val = 'ABC'.
        APPEND ls_drop to lt_drop.
        ls_drop-val = 'DEF'.
        APPEND ls_drop to lt_drop.
    * bind all the elements
       node->bind_table(
         new_items            =  lt_drop
         set_initial_elements = abap_true ).
    Now once you call invalidate( ) the drop down will automatically be initialized( since the supply function will be called again) And you don't have to write the code again to populate the drop down.
    hope it's clear now.
    Regards,
    Kiran

  • View KM document in Web Dynpro application

    Hello - Does anyone have any tips for accessing KM documents in a web dynpro application?  I have tried some of the examples found here but several of the methods were deprecated.  Any help would be appreciated.  Thank you.

    Hi
    Refer this sample code. unfortunately that page is not opening directly.
    public void getAllStores( )
        //@@begin getAllStores()
         String prefix = "/documents/Public Documents/Store Data/";
         wdContext.nodeStoreTable().invalidate();
         IPrivateDocManageView.IStoreTableElement contentElement;
         try {
              IWDClientUser wdClientUser = WDClientUser.getCurrentUser();
              com.sap.security.api.IUser sapUser = wdClientUser.getSAPUser();
              com.sapportals.portal.security.usermanagement.IUser ep5user =
                             WPUMFactory.getUserFactory().getEP5User(sapUser);
              IResourceContext resourceontext = new ResourceContext(ep5user);
              IResourceFactory resourcefactory =
                             com.sapportals.wcm.repository.ResourceFactory.getInstance();
              RID pathRID = RID.getRID(prefix);
              com.sapportals.wcm.repository.IResource resource =
                             resourcefactory.getResource(pathRID, resourceontext);
              ICollection collection = (ICollection) resource;
              IResourceList resoucelist = collection.getChildren();
              IResourceListIterator resourelistiterator =
                             resoucelist.listIterator();
              while (resourelistiterator.hasNext()) {
                   String store = null;
                   com.sapportals.wcm.repository.IResource tempresouce =
                                  resourelistiterator.next();
                   if (tempresouce.getName().equals(
                             wdContext.currentFilterDataElement().getFromStore())) {
                        contentElement = wdContext.createStoreTableElement();
                        contentElement.setObjectName(
                                       prefix + tempresouce.getName());
                        wdContext.nodeStoreTable().addElement(contentElement);
                        tempresouce = resourelistiterator.next();
                        while (!tempresouce.getName().equals(
                                  wdContext.currentFilterDataElement().getToStore())) {
                             contentElement = wdContext.createStoreTableElement();
                             contentElement.setObjectName(
                                            prefix + tempresouce.getName());
                             wdContext.nodeStoreTable().addElement(contentElement);
                             tempresouce = resourelistiterator.next();
                        tempresouce = resourelistiterator.next();
                        break;
              } // while iterate
         } catch (Exception e) {
                        e.printStackTrace();
    Mandeep Virk

  • Howto replace an embedded FPM-Instance within a Web DynPro Application?

    Hi,
    I have to build a Web DynPro application that displays an Navigation menu on the left side. On the right side within a UIViewContainer an embedded FPM Instance should be displayed depending on which entry I pressed on the Navigation menu. (Similiar to the Cockpit)
    For Test purposes I have 2 buttons in the navigation menu. One to add the fpm and one to remove the fpm.
    When I start the WD Application I first hit the addfpm button. And a new FPM Application is displayed within the UIViewElementContainer. When I hit the delfpm button the FPM will disappear. When I will the addfpm button again I get
    a dump[1]
    I have absolutely no idea why I get this dump.
    Do I have to reset the FPM application remove removing it? Or is it possible to load a new FPM configuration in the FPM without removing it first?
    Here are the Methods that I use to remove/add the FPM-Instance:
    method ONACTIONADDFPM .
      DATA: L_VIEW_CONTROLLER_API TYPE REF TO IF_WD_VIEW_CONTROLLER.
      DATA: L_COMPONENT_USAGE TYPE REF TO IF_WD_COMPONENT_USAGE.
      DATA: lf_conf_key TYPE WDY_CONFIG_KEY.
      L_VIEW_CONTROLLER_API = wd_this->WD_GET_API( ).
      "Wenn die Komponente-Usage noch nicht vorhanden ist dann erstelle Sie:
      L_COMPONENT_USAGE = wd_this->WD_CPUSE_FPM( ).
      IF L_COMPONENT_USAGE->HAS_ACTIVE_COMPONENT( ) IS INITIAL.
        lf_conf_key-CONFIG_ID = '/PLMU/WDC_MAT_OIF_CFG'.
        L_COMPONENT_USAGE->CREATE_COMPONENT( EXPORTING COMPONENT_NAME = 'FPM_OIF_COMPONENT'
                                                       CONFIGURATION_ID = lf_conf_key ).
        "Komponente mit der View verknüpfen:
        L_VIEW_CONTROLLER_API->PREPARE_DYNAMIC_NAVIGATION(
          SOURCE_WINDOW_NAME = 'WINDOW'
          SOURCE_VUSAGE_NAME = 'MAIN_USAGE_0' "MAIN_USAGE1/UIVIEW_VCA_1'
          SOURCE_PLUG_NAME   = 'TO_FPM'
          TARGET_COMPONENT_NAME = 'FPM_OIF_COMPONENT'
          TARGET_COMPONENT_USAGE = 'FPM'
          TARGET_VIEW_NAME = 'FPM_WINDOW'
          TARGET_PLUG_NAME = 'DEFAULT'
          TARGET_EMBEDDING_POSITION = 'MAIN/FPMVIEW' "'MAIN_USAGE_0/UIVIEW_VCA_1'
        WD_THIS->FIRE_TO_FPM_PLG( ).
      ENDIF.
    endmethod.
    And then remove the FPM using this button action:
    method ONACTIONDELFPM .
      DATA: L_VIEW_CONTROLLER_API TYPE REF TO IF_WD_VIEW_CONTROLLER.
      DATA: L_COMPONENT_USAGE TYPE REF TO IF_WD_COMPONENT_USAGE.
      L_VIEW_CONTROLLER_API = wd_this->WD_GET_API( ).
      "Wenn die Komponente-Usage vorhanden ist dann lösche sie:
      L_COMPONENT_USAGE = wd_this->WD_CPUSE_FPM( ).
      DATA: lo_event TYPE REF TO cl_fpm_event.
      lo_event = cl_fpm_event=>create_by_id( iv_event_id   = cl_fpm_event=>GC_EVENT_CLOSE  ).
      DATA: iwci_fpm TYPE REF TO IWCI_FPM_OIF_COMPONENT.
      iwci_fpm = wd_this->WD_CPIFC_FPM( ).
      CALL METHOD IWCI_FPM->CLOSE_DIALOG
        EXPORTING
          IO_EVENT        =  lo_event
          IV_EVENT_FAILED =  ABAP_FALSE
      IF L_COMPONENT_USAGE->HAS_ACTIVE_COMPONENT( ) IS NOT INITIAL.
        L_COMPONENT_USAGE->DELETE_COMPONENT( ).
        "FPM Ref holen und Exit-Event schicken:
        DATA: lo_fpm TYPE REF TO IF_FPM.
        lo_fpm = cl_fpm_factory=>get_instance( ).
       CHECK NOT lo_fpm IS INITIAL.
       DATA: lf_event        TYPE FPM_EVENT_ID.
       lf_event = cl_fpm_event=>GC_EVENT_CLOSE.
       lo_fpm->RAISE_EVENT_BY_ID( lf_event ).
      ENDIF.
    endmethod.
    The dump  says:
    Access via 'NULL' object reference not possible.
    The ABAP call hierarchy was:
    Method: /PLMU/IWCI_WDI_FRW_OIF~OVERRIDE_EVENT of program /1BCWDY/0O2TST5VUWTCOBML1BE7==CP
    Method: /PLMU/IF_FRW_CALLBACK_PROXY~OVERRIDE_EVENT of program /PLMU/CL_FRW_F_CALLBACK_PROXY=CP
    Method: OVERRIDE_EVENT of program /PLMU/CL_FRW_CALLBACK_PROXY===CP
    Method: OVERRIDE_EVENT_OIF of program /PLMU/CL_FRW_APPL_CNTRL_ASSISTCP
    Method: OVERRIDE_EVENT_OIF of program /1BCWDY/0O2TST5VUWTCNOS8226Y==CP
    Method: IWCI_IF_FPM_OIF_CONF_EXIT~OVERRIDE_EVENT_OIF of program /1BCWDY/0O2TST5VUWTCNOS8226Y==CP
    Method: GET_UIBBS_FOR_EVENT of program /1BCWDY/0O2TST5VUWTCNAR83UZE==CP
    Method: IWCI_IF_FPM_FLOORPLAN_COMP~GET_UIBBS_FOR_EVENT of program /1BCWDY/0O2TST5VUWTCNAR83UZE==CP
    Method: IF_FPM_FLOORPLAN~GET_UIBBS_FOR_EVENT of program CL_FPM_OIF_INTERNAL===========CP
    Method: GET_NEXT_UIBBS of program CL_FPM========================CP
    Thanks
    Sebastian

    Chris yes you are right, there is some special logic in the nav app,
    that I can't do with NWBC.
    If I would use a Portal to display the FPM within an Iframe.
    What happends when I replace the FPM in the Iframe with a new
    FPM/URl. Will the old FPM in the Iframe just disappear or will
    the FPM shutdown and release all the acquired locks?
    I already did a simliar thing where I just used URLs
    to display an FPM application within an IView/IFrame.
    But when I replace the URL of the IView/IFrame with a new URL/FPM,
    the old FPM only just disappered but no locks where released.
    So displaying the same FPM again, gives me a message that the Object is already
    locked.
    Thanks
    Sebastian

  • Basic question on a web dynpro application

    Hi All,
    I am new to NWDS 2004 and I just executed my first web dynpro application that is on https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/a-c/creating your first web dynpro application.pdf
    I have couple of questions
    1. when i click the back button the text that was entered in the Start view is visible even after I hit the back button in the result view. Can you tell me how to keep the input field empty in the start view after hitting back button?
    2. After deploying the Web Dynpro application, where from the Portal, can i assign this web dynpro application to a user .
    Thank you
    Regards
    Luke

    Try putting adding this code to your onActionBack method.
    public void <b>onActionBack</b>(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionBack(ServerEvent)
    <b>String headerText = " ";
    wdContext.currentContextElement().setHeaderText(headerText);</b>
    wdThis.wdFirePlugToStartView();
    //@@end
    REgards,
    RIch Heilman

  • How to Debug a BAPI from a Web Dynpro application

    I have a Web Dynpro application calling a BAPI, and I would very much like to see what data the Web Dynpro application is passing into the BAPI, and then debug the BAPI.
    Is there a way to do this? I'm wondering if it is possible to somehow set up the ABAP stack so that on receipt of the BAPI call, it appears on the tRFC queue waiting for execution.
    However it is done, I need a way to step through the BAPI on the ABAP stack.
    BR,
    Tony.

    Hi Anthony,
    The ABAP runtime environment contains various tools that you can use for analysis purposes, such as for debugging source code. All source code written for Web Dynpro applications in ABAP can normally be tested using the debugger.
    To allow it to test other Web Dynpro-specific program entities too, the debugger has been equipped with a special enhancement. In the phase model in the active application, you can typically see the following information at various points in time:
    -The structure of the content of the current controller,
    -The properties of the UI elements in the layout of the current view
    -The currently instantiated component usages
    Starting the Debugger
    The functions for debugging Web Dynpro entities are embedded in the new debugger. You therefore need to have selected the new debugger in your Workbench settings.
    Selecting the New Debugger
    1. In the menu, choose Utilities -> Settings.
    2. A dialog box now appears that contains two nested tab page areas. Choose the “parent” tab page ABAP Editor.
    3. The settings for ABAP Editor always open with the content of the child tab page Editor. Here, select Front End Editor (New).
    4. Now switch to the Debugging tab page in the ABAP Editor settings and select New Debugger.
    5. Save your changes and close the dialog.
    Starting the Debugging Process
    To run an application in debugging mode, you first need to set an external breakpoint in display mode in one of the methods in the component.
    Now start a test run of the application from ABAP Workbench as usual.
    The method in which you set the breakpoint depends on the purpose of the test run. To debug a view, for example, it is best to set the breakpoint in method WDDOMODIFYVIEW. Provided that the context of the view controller is not filled using a supply method, the view is fully instantiated in the phase model at this point in time.
    Selecting the Web Dynpro Tool in the New Debugger
    When you start the application, another session opens automatically for the debugger. If you have not yet saved any personal settings with regard to the layout of the debugger, the Editor tool will now appear on the left, with the Display Variables tool on the right.
    1. Select one of the three desktops in order to reconfigure it for debugging the Web Dynpro application (see Designing Work Areas).
    2. The right-hand edge of the debugger window has a bar of function icons. Choose the Replace Tools icon:
    3. In the next dialog box (New Tool) open the lowest node (Special Tools) and choose Web Dynpro.
    4. Confirm the dialog box.
    On the right of the debugger desktop, you will see that the previous tool has now been replaced by the Web Dynpro debugger. You can save this setting for future debugging activities. To do this, choose Save Layout In the debugger’s general toolbar.
    Thankyou,
    Ramganesh.

  • Web Dynpro application connecting to oracle

    Hi all,
    i want to create a web Dynpro application which will fetch data from oracle database.
    Can anyboby guide me with some documents.
    Thanks in advance.

    Thanks for your quick reply!
      I am trying in another way.I've created a WD application and in custom controller I've put the code for connection, copying the retrived data into context and trying to display the data in one view.
    CODE:
    DriverManager.registerDriver(
                  new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection(               "jdbc:oracle:thin:@oracle server ip:port:sid",
         "user name",
         "password");
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("select * from table");
    if (rs != null)
      while ( rs.next() )                     
         //code for copying data into context
    stmt.close();
    conn.close();
    Error(No class defination found) is at first line i.e. new oracle.jdbc.driver.OracleDriver().
    I've put classes.zip in lib and build path as well.
    Regards,
    Sarika.

  • Navigation Error in Web Dynpro Application

    Hi All,
    I developed a web dynpro application with 2 views.
    I implemented the navigation paths(in and outbound plugs). I have a Next button in the first view and when
    I clicked the next button it opened the second view.
    It was working fine until, i created custom controller
    and defined model node and model binding by calling RFC.
    In the first view, i created a model node corresponding to the custom controller model  node and defined the context mapping between the first view and the custom controller.
    When I run the application (the first view displays data calling RFC) once I clicked the next button i got this error message.
    com.sap.tc.webdynpro.progmodel.context.ContextException: Path null does not point to an attribute, but to com.sap.tc.webdynpro.progmodel.generation.DelegatingView@8fc86f
         at com.sap.tc.webdynpro.progmodel.context.Paths.createAttributePointer(Paths.java:94)
         at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.AbstractInputField.getValue(AbstractInputField.java:1050)
         at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.AbstractInputField.getValue(AbstractInputField.java:1098)
         at com.sap.tc.webdynpro.clientimpl.html.uielib.standard.uradapter.InputFieldAdapter.getValue(InputFieldAdapter.java:550)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.InputFieldRenderer.render(InputFieldRenderer.java:41)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:269)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:95)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutCellFragment(GridLayoutRenderer.java:626)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutRowFragment(GridLayoutRenderer.java:330)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutFragment(GridLayoutRenderer.java:261)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.render(GridLayoutRenderer.java:57)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:269)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:95)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GroupRenderer.renderGroupFragment(GroupRenderer.java:1030)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GroupRenderer.render(GroupRenderer.java:49)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:269)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:95)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.FlowLayoutRenderer.renderFlowLayoutItemFragment(FlowLayoutRenderer.java:177)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.FlowLayoutRenderer.renderFlowLayoutFragment(FlowLayoutRenderer.java:148)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.FlowLayoutRenderer.render(FlowLayoutRenderer.java:33)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:269)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:95)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:344)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:41)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:269)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:95)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.UiWindowRenderer.render(UiWindowRenderer.java:43)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:269)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:95)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendHtml(HtmlClient.java:522)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:351)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:251)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:204)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:669)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         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.doPost(DispatcherServlet.java:55)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         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:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Can anyone please tell me what is the reason for this?
    and how to fix it?
    Thanks

    Hi
    Are you having any inputfields in your next view?If yes then check if you have bound the context attribute to it.
    I think you haven't done that.
    Regards,
    Ajay

  • URGENT: Strange behaviour by Web Dynpro applications

    Hi,
    We are running NW04s SP8 Portal and WAS and we are developing all our applications with Web Dynpro JAVA.
    As our most of the applications are with multiple views, we are keeping one Web Dynpro view as default.
    The applications run perfectly for a while. But, after running the same application for 5-6 times, the Web Dynpro application will start opening the "non-default" view as the first view. If we re-deploy the same application, it would work for a while and again the problem will start coming.
    I have been working with Web Dynpro JAVA since 2.5 yrs, I havent come across this kind of error. I mean, it is the basic thing in Web Dynpro to set the default view for starting the application.
    Can anyone please throw some light on this behaviour? or Is it related to some bug in Web Dynpro framework?
    Thanks and Regards,
    Mausam

    hi,
    I have never faced or heard anything like that, it is really strange.
    But can you just check if it has anything to take with cache, i mean like what often happens  in internet explorer.
    May be it is storing non-default views in cache and picking up those..
    It may be like babbling but whats wrong in trying.
    regards,
    abhijeet

  • Create iView for Web Dynpro Application

    Hi guys,
    I've created a Web Dynpro Application via NWDI and deployed to the j2ee server. Now, I'm trying to create an iView to link to that application. The steps I've done are:
    1. Create iView for Web Dynpro Application
    2. Select "Create iView from each application View"
    3. Select my application.
    That's when the error occurs at step 3. I select my application and click next, but an error msg keeps appearing telling me to "To continue, select at least one application" despite having already done so. Can anyone enlighten me on this? Thanks!
    ZHenmin

    Hi,
      First make sure the applications runs fine standalone. Also the versions for WAS and EP are maintained correctly. Actually, this error seems to be occur for many users. Check this thread too.
    Open new Web Dynpro iView in EP7
    If nothing works, restart the server and try creating the iView again.
    Regards,
    Harini S

  • Error - Creating a Web Dynpro Application Accessing ABAP Functions

    Dear All,
    we are trying to implement a web dynpro application with accessing ABAP functions.
    Previous tasks:
    -     insert the ABAP system into the SLD from the NWDI System (Transaction RZ70; the ABAP system is correctly insert into the SLD => technical systems)
    -     equipped the JCO connections with the web dynpro content manager (ping and test = OK)
    It’s the standard tutorial out of the SDN called “Creating a Web Dynpro Application Accessing ABAP Functions”.
    Some hints:
    -     There are no errors after the implementation and the “rebuild” of the project in the NWDS
    -     The auto deployment works fine to the development runtime system. The application is shown in the Web Dynpro content manager
    -     The In the build log I found these entries:
    System.err] [Invoked from  com.sap.s2x.tools.GUID.getnodeaddress(GUID.java:585)]
    [System.err] java.net.UnknownHostException: FRASAPP562: FRASAPP562
    [System.err]      at java.net.InetAddress.getLocalHost(InetAddress.java:1191)
    [System.err]      at com.sap.s2x.tools.GUID.getnodeaddress(GUID.java:575)
    [System.err]      at com.sap.s2x.tools.GUID.<clinit>(GUID.java:179)
    [System.err]      at com.sap.s2x.tools.S2XGUID.getGUID(S2XGUID.java:19)
    [System.err]      at com.sap.ide.metamodel.core.i18n.LanguageState.createS2XID(LanguageState.java:191)
    [System.err]      at com.sap.ide.metamodel.core.i18n.S2XLanguageUnmarshaller.unmarshal(S2XLanguageUnmarshaller.java:52)
    [System.err]      at com.sap.ide.metamodel.core.i18n.TextPoolProxy.loadLanguageState(TextPoolProxy.java:703)
    [System.err]      at com.sap.ide.metamodel.core.i18n.TextPoolProxy.prepareLanguageForRead(TextPoolProxy.java:646)
    [System.err]      at com.sap.ide.metamodel.core.i18n.TextPoolProxy.isEmpty(TextPoolProxy.java:222)
    [System.err]      at com.sap.ide.webdynpro.checklayer.MDOChecker.check(MDOChecker.java:23)
    [System.err]      at com.sap.ide.webdynpro.checklayer.view.ViewChecker.check(ViewChecker.java:52)
    [System.err]      at com.sap.ide.webdynpro.checklayer.controller.ViewControllerChecker.check(ViewControllerChecker.java:96)
    [System.err]      at com.sap.ide.webdynpro.checklayer.controller.ControllerChecker.check(ControllerChecker.java:119)
    [System.err]      at com.sap.ide.webdynpro.checklayer.controller.ControllerChecker.check(ControllerChecker.java:56)
    [System.err]      at com.sap.ide.webdynpro.checklayer.component.ComponentChecker.check(ComponentChecker.java:181)
    [System.err]      at com.sap.ide.webdynpro.checklayer.component.ComponentChecker.check(ComponentChecker.java:56)
    [System.err]      at com.sap.ide.webdynpro.generation.Generation.check(Generation.java:2039)
    [System.err]      at com.sap.ide.webdynpro.generation.Generation.generatePersistentComponent(Generation.java:1296)
    [System.err]      at com.sap.ide.webdynpro.generation.console.GenerationConsole.generate(GenerationConsole.java:175)
    [System.err]      at com.sap.webdynpro.generation.ant.GenerationAnt.main(GenerationAnt.java:50)
    [System.err]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [System.err]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [System.err]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [System.err]      at java.lang.reflect.Method.invoke(Method.java:324)
    [System.err]      at com.sap.webdynpro.generation.ant.WDGenAntTask.execute(WDGenAntTask.java:219)
    [System.err]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [System.err]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [System.err]      at org.apache.tools.ant.Target.execute(Target.java:341)
    [System.err]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [System.err]      at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    [System.err]      at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:112)
    [System.err]      at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:61)
    [System.err]      at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:213)
    [System.err]      at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:190)
    [System.err]      at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
    [System.err]      at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
    [System.err]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [System.err]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [System.err]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [System.err]      at java.lang.reflect.Method.invoke(Method.java:324)
    [System.err]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
    [System.err]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:102)
    [System.err]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:76)
    [System.err]      at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:58)
    [System.err]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1723)
    [System.err]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1495)
    [System.err]      at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:727)
    [System.err]      at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:503)
    [System.err]      at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:442)
    [System.err]      at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:314)
    [System.err]      at com.sap.tc.buildcontroller.CBSBuildController.exec(CBSBuildController.java:252)
    [System.err]      at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:207)
    -     I’m able to start the application out of the Web Dynpro content manager with “run” => only the user interface is displayed without any functionality
    -     The “normal” start over the NWDS fails => error text
    “com.sap.tc.webdynpro.services.sal.core.DispatcherException: The requested deployable object 'local/J08_Flugdat_Daventdcflight~xxx.com' and application 'FlightListApp' are not deployed on the server. Please check the used URL for typos.”
    There two different URLs in use.
    Start via NWDS:
    http://frasapp562:50000/webdynpro/dispatcher/J08_Flugdat_Daventdcflight~xxx.com/FlightListApp
    Start via web dynpro content manager:
    http://frasapp562:50000/webdynpro/dispatcher/xxx.com/aventdc~flight/FlightListApp
    For test purposes, we started the BAPI (BAPI_Flight_Getlist) on the ABAP system directly. It works.
    Any ideas about the system behaviours (different URLs and missing functionality)?
    Thanks a lot in advanced!
    Best regards
    Christoph

    The Error has been solved – The implementation of a method was missing....
    Thx
    Christoph

Maybe you are looking for

  • Pages loses text in Word import

    I'm importing a word document, and Pages is leaving out text that TextEdit does not. Specifically the following data: HYPERLINK \l "_Toc190168203" Application Configuration Settings PAGEREF _Toc190168203 \h 33 HYPERLINK \l "_Toc190168204" Application

  • .pic files will not open

    I use Snow Leopard and have a bunch of .pic files. I believe they were photos taken with and old Apple Camera back in 1997. Can anyone help me open them? Thanks

  • Multiple Email Notifications

    I've looked at all 192 "suggestions" for this problem when I enter the subject...none of them fix it, but do confirm I'm not the only one having the issue.  I have only one email account (Google Apps) on my iPhone 4S and up until recently, everything

  • Does ms office 2010 support in windows server 2008r2

    Hi I required the information regarding that does ms office 2010 support in  windows server 2008r2 edition & if support then how can i down load the office service pack for the same.

  • GLWand for Financial Reporting

    HI, Can anyone Help me in using GLWand reporting an Excel Based Application Tool via ABAP Thankx in Advance Regards Priyanka M