Web Dynpro Tabstrip

Hi
I have a Tabstrip which contains a ViewContinerUIelement.
I have embedded an interface view from another web dynpro component to the tabstrips ViewContinerUIelement.
The interface view is a view set with 2 cells.
cell(1,1) has one view (navigationview)
cell(1,2) has two views - view1 and view2
view one is the default view.But based on a Button event on view1 I navigated to view2.
so now cell(1,1) has navigationview
and cell(1,2) has view2.
When I click on Tabstrip , I want to go to the original
configuration.
cell(1,1) - navigationview
and cell(1,2) - view1.
Not sure how to achieve this. I was thinking is it possible to reload the interface view, so that it takes view1 as default view or Is it possible to change the view of cell(1,2) dynamically.
Regards
Bhanu

Hi
I have a Tabstrip which contains a different  ViewContinerUIelement on two different tabs(same tabstrip).I have embedded an VendorView,DetailsView to the tabstrips ViewContinerUIelement.
In VendorView i have table contains list of vendors, by clicking one of the vendor in table, i want to navigate to details tab which contains Detailsview.
This my requirement, wht i have done is in the "onLeadSelect" event of Table , i written the following code ..
public void onActionShowVendorDetails(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionShowVendorDetails(ServerEvent)
          wdThis.wdFirePlugToGeneralData();   
    //@@end
but it is not navigating to DetailView
Please help me in this context.
Regards,
Davood

Similar Messages

  • Web Dynpro TabStrip - Adding a new tab

    Hi Gurus,
    Please let me know how to add new tab to existing SAP web dynpro component? Any kind of example would be great. Appreciate all your help.
    Thanks,
    GSM

    Hi all,
    Maybe now we have somebody who can answer this question.
    i have also this problem. I want to add in SRM in a View on a shopping cart on item level, 1 additional tab strip. How it is possible ? Are there any BADIs that can be used.
    But also it musst be done without changing from standard SAP objects.
    thanx for your help.
    greetings
    christian

  • Identifying selected tab of Java Web Dynpro Tabstrip

    Hi all,
    I want to identify the selected Tab in the "onSelect" Event of a Tabstrip view element. The event handler has a parameter of type IWDCustomEvent.
    I assume this parameter can tell me more about the view element which has fired the event, e.g. wich tab is selected. IWDCustomEvent has any get<type>() methods but I can't find informations about the meaning. Can anybody tell me more about this event class?
    Alternativly is it possible to access view elements and their properties (like selected tab) in view source code directly?
    Michael

    Hi Michael,
    You need to do Parameter Mapping in wdDoModifyView
    if (firstTime) {
      // Get a reference to the checkbox UI element
      IWDTabStrip ts =
        (IWDTabStrip)view.getElement("<id TabSTrip>");
      // Link the client-side event parameter ‘tab’ to
      // the server-side action parameter ‘tabName’
      ts.mappingOfOnSelect().addSourceMapping("tab",
                                              "tabName");
    Define another event parameter "tabName" of type String on your action.
    The tabName would be populated when the action is called.
    Thanks and Regards,
    Rohit Jaiswal

  • Adding an ABAP Web Dynpro application to a Java Web Dynpro screen

    Hey fellow SAPers
    This is an interesting one .........
    We have developed a bespoke ABAP Web Dynpro screen that we want to include into a tabstrip in a Java Web Wynpro application. We have managed to do this by inserting an iFrame into the tabstrip, and then passing the UWL of the ABAP Web Dynpro app. This works. However, life is never that easy and of course whenever the screen is refreshed, the ABAP WD app is called again and so any changes to the data on the ABAP screen are lost as the data in the ABAP app is re-selected and the data returns to it's original state.
    Does anyone know:
    - of another way to incorporate an ABAP WD screen into a Java WD screen (as a tabstrip)
    - how to de-activate a Java view so that the view containing the ABAP WD app is refreshed (i.e. the window is refreshed), the view is not refreshed and the ABAP app is not re-called .....
    - any other ideas ....
    of course, we could re-develop the same screen in Javam, but that would be too easy
    Looking forward to your responses
    Jon

    >
    > Hi Jon,
    >
    > First of all Iframe is not officially supported until 7.01 version.
    I believe it is deprecated in 7.01 and re-supported in 7.02
    [7.01 IFrame Help|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/15/c07941601b1d09e10000000a155106/frameset.htm]
    [7.02 IFrame help|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/15/c07941601b1d09e10000000a155106/frameset.htm]
    >
    > Would you not use Portal for that and incorporate two iViews in a Page?
    I'm guessing you want to show this within the WDJ app not above, below to the left, right...
    This is a very very difficult thing to do - I'm guessing that you are not actively passing data into the URL of the WDJ IFrame, but just have "decorated" the WDJ app with the a statically linked IFrame. In this case the only thing you have to tie the two together is the user id that you are using - and potentially the time the app was launched. You could in theory use a shared memory area (watch out for multi app server environments) to store the state of the app in case it got refreshed... but this is not a simple thing to do...
    Consider if it is absolutely necessary to enhance the WDJ in place - hopefully you can just replace it with a WDA when you install EhP5
    Good luck,
    Chris

  • Error using tabs in Web Dynpro application

    Hi all,
    I am working on a web Dynpro application where I want to use "tabs" to display different vendor details, basically I need two tabs one for header data, one for address data. What I did is I created a group and there created the element for the user to enter the vendor number and also created a button and binded it with the BAPI, now I created a tab using tabstrip and then inserting the tab and adding the element to the tab (in my case i m using the table type), once I finish this and try to do the syntax chek i am getting this error:  "ACC: Element "TAB" does not have a header"
    Can you please help me with this?
    Thanks,
    Rajat

    Looks like i was missing some step... I deleted everything and then re created and this time it works.

  • Calling one Web-Dynpro program into Another

    Hi All,
    I'm currently working on a Web-Dynpro program in which I am display 3 tabs(Using TabStrip) and in each tab I have a ViewContainer.  
    I want to be able to execute other Web-Dynpro programs within the Viewcontainers of the Tabs. 
    If the End-User goes from tab to tab, I want to pass a select number of parameters between tabs.   
    Is this possible to do and if so, how can I set this up?
    Thanking you in advance.

    Hello Lisa,
    I'm not sure what you really want...
    If you want to share data between several views of one webdynpro component, you should use the [context|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/444941db42f423e10000000a155106/frameset.htm] of your [component controller|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e2/434941db42f423e10000000a155106/frameset.htm].
    If you mean by "execute other Web-Dynpro programs within the Viewcontainers" to embed another webdynpro component you should have a look at [Cross-Component Programming|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/a7/1d8b412bb5b35fe10000000a1550b0/frameset.htm].
    Regards,
    Alej

  • Issues witn portal integration of Web dynpro for ABAP application

    Hi,
    I have the following issues when i integrate a Web Dynpro for ABAP application with portal.
    1. the iview does not contain some images, such as table scroll button images, maximize and close buttons of popups etc.
    2. the iview loads properly, but there is an error in the status bar that says "Access denied"
    3. is it possible to do absolute navigation from
       role1->folder1->iview1 to role1->folder2->iview2?
       when i fire this navigation from the webdynpro
       application, the navigation does not happen in the
       portal.
    thanks,
    Kavitha

    Hi,
    Use a Transparaent container (TCO) inside it use the tabstrip and make it as matrixheader as per rootUI.
    You can also set the layout for TCO as matrix and do the necessary changes.
    Regards,
    Lekha.

  • Web Dynpro ALV is not really shown in an iview

    Hello,
    I have a web dynpro application with an ALV. When I test my application in SE80 everything is fine. I get the list I want to have, but when I have implemented the web dynpro application into a web dynpro iview in the portal, the ALV is empty. I can't see any content. I can only see, that some rows are selected, but I can't see them. It's a little bit strange.
    Can somebody helps me?
    Thanks, Markus

    Hi markus there are certain special object like `ALV, tabstrip pop ups etc etc which find it difficult to render on portal....
    open up a OSS message with SAP, hope they suggest some note to rectify the same.
    one other wild thought to it we can attach a transaction to it and then create a WinGui Transaction ivew of the same (but will work for only those who have SAP Gui in there m/c).
    Cheers!!
    SJ.

  • Web Dynpro Error Messages

    Hi Guys,
    I have the ff scenario:
    1. I have a web dynpro with a tabstrip.
    2. I have a save button.
    My problems are:
    1. When I raise error message via lo_message_manager->report_attribute_error_message, the error message is raised and the field in error is highlighted but when I navigate to another tab, the error message disappears.
    I want the error to show even when I navigate to another tab.
    2. When I click the 'save' button, i tried to read the error message via lo_message_manager->get_messages( ), but there's no data returned. There's an error and yet it executes the save button.
    I want the error to show until all the issues were solved before it can actually proceed with the saving.
    How can I achieve this?

    Hi Deepankar,
    I guess putting all the validations in WDDOBEFOREACTION is okay if I have few views and fields.
    But I have a lot.
    I cannot do all my validations in WDDOBEFOREACTION.
    It is important that I do my validation in ONACTION events on each fields.
    So that when the user hits enter or click a dropdown list or click a checkbox, the error would then be raised right away if there's any.
    Because I have so many tabs and dropdowns and checkbox and validations on enter, WDDOBEFOREACTION will get triggered so many times.
    I can't activate is_permanent also because it sometimes prevents the user in doing any action. I have non-editable fields that are dependent on other fields for entry. When I tried correcting the field that it's depending to, it won't trigger the onaction event, thus the screen seems not responding which in fact it just want the context attribute to be corrected.
    Is there no other way to catch the errors when the user clicks the button?
    I noticed that I can only read the messages in WDDOBEFORENAVIGATION and not in any other places, but this WDDOBEFORENAVIGATION is executed after ONACTION event of the button. My processing is already executed before I had the chance to read the error.
    Please advice.

  • Dynamic table columns in web dynpro abap

    Hi,
    In my current project I have got a requirement whose solution I am not able to figure out.
    My requirement is this:
    I will have a table containig budget owners name(since its compensation management in HR).There will be a table popin inside this table on the click of the personal number of the budget owner. Now the table popin will have another table with all employees name under that particular budget owner.
    The problem is that the table inside the popin will not be having fixed columns.Actually the columns will be coming from a standard java web dynpro application (say in the form of an internal table).
    My requirement is this how can this be handled?Can we include all the possible columns in the node(which i bind to the child table) and make them visible/invisible during runtime? or create a dynamic node and assign it to the table(but in this case a node needs to be bound to the table during design time,what to bind?)  ?
    Can u please help along with code snippets.
    Thanks and Regards,
    Saikat.

    Thnx for the input.
    I am abke to make the table columns inside the popin visible/invisible.
    I have a tabstrip.Indise one of the tabs is my main table and inside one of the columns is the popin.Inside that a transparent container and finally the table inside that.
    This is the code that worked for me.
    METHOD wddomodifyview .
      DATA lr_root_container TYPE REF TO cl_wd_uielement_container.
      DATA lr_table_popin TYPE REF TO cl_wd_table_popin.
      DATA lr_transparent_container TYPE REF TO cl_wd_transparent_container.
      DATA lr_table TYPE REF TO cl_wd_table.
      DATA lr_table_column TYPE REF TO cl_wd_table_column.
      DATA lr_table_in_table_popin TYPE REF TO cl_wd_table.
      DATA lr_node_header_node TYPE REF TO if_wd_context_node.
      DATA lr_node_item_node TYPE REF TO if_wd_context_node.
      DATA lr_tabstrip TYPE REF TO cl_wd_tabstrip.
      DATA lr_tab TYPE REF TO cl_wd_tab.
      data lr_tc type ref to CL_WD_TRANSPARENT_CONTAINER.
      data lr_table2 type ref to cl_wd_table.
      DATA lr_table2_column TYPE REF TO cl_wd_table_column.
      IF first_time = abap_false.
        lr_root_container ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
        lr_tabstrip ?= lr_root_container->get_child( id = 'TABSTRIP1' ).        "GETTING THE TABSTRIP
        lr_tab      ?= lr_tabstrip->get_tab( id = 'TAB1' ).        "GETTING THE TAB INSIDE TABSTRIP
        lr_table    ?= lr_tab->GET_CONTENT( ).      "GETTING THE CONTENT(TABLE IN THIS CASE) INSIDE TABSTRIP
        lr_table_column ?= lr_table->get_grouped_column( id = 'TABLE_MAIN_PERNR' ).   "GETTING THE COLUMN INSIDE THE TABLE
        "Table popin
        lr_table_popin ?=  lr_table_column->GET_POPIN( ).   "GETTING THE POPIN INSIDE THE TABLE
        lr_tc  ?= lr_table_popin->GET_CONTENT( ).   "GETTING THE CONTENT(TRANSPARENT CONTAINER IN THIS CASE)INSIDE THE TABLE
        lr_table2 ?= lr_tc->get_child( id = 'TABLE_EMPLOYEE' ).        "GETTING THE EMPLOYEE TABLE INSIDE THE TRANSPARENT CONTAINER
        lr_table2_column ?= lr_table2->get_grouped_column( id = 'TABLE_EMPLOYEE_PERNR' ).   "GETTING THE COLUMN INSIDE THE TABLE
        lr_table2_column->SET_VISIBLE( '02' ).  "SETTING VISIBILITY FOR THE COLUMN
      ENDIF.
    ENDMETHOD.
    But I'm still considering the dynamic node concept.Lets see if this works out or not.If not then I'll have to go for the dynamic node thing.
    Thanks,
    Saikat

  • Coding standards for Web dynpro ABAP

    Hello all,
    Can anybody please help me by providing the code review checklist for Web dynpro ABAP?
    Thanks and Regards,
    Rohini Shankar

    Hello friend,
    WebDynpro     *
    1     Do not implement Data intensive operations in UI layer     
    2     Avoid database selects in the WebDynpro code.Use the corresponding BAPIs ,Methods     
    3     Are ABAP OO Classes like Assistance class are being used for application coding ?     
    4     Are Windows/Views only used for the sole purpose of hosting views and context?     
    5     Are a reasonable number of views put in a single WD Component instead of creating multiple WD Components ?     
    6     Unneccessary usage of dynamic programming and dynamic component avoided      
    7     Are singleton nodes used in case of nesting in the context ?     
    8     Is deep nesting of containers, Groups and Tabstrips avoided ?     
    9     Is the UI element TreeByKey or TreeByTableNestingColumn used instead of the Tree UI element ?     
    10     Is the checkbox "Accessibility Checks Active" ticked in the WD Component properties     
    11     Are the WD Component Instances deleted when no longer needed (IF_WD_COMPONENT_USAGE=>DELETE_COMPONENT)     
    12     Are the OTR texts defined  for all the labels, texts(where ever appropriate) in properties of all the UI elements      
    13     Has the Generation limit been checked for all the components developed     
    14     Sufficients commets are written at the beginning of every major block to explain the processing logic.     
    *Error Handling     *
    1     Is SY-SUBRC checked after CALL function modules      
    2     Use Assertions if you face unexpected errors which usually never ever occur!     
    Extended Check and Clean Up
    1     Have following been removed :     
         ·      Unused variables                       
         ·      Unused text elements                   
         ·      Unused tables from TABLES statement     
         ·      Commented out parts of the code     
         ·      Code segments which do nothing     
    2     Is extended program check completed  and all errors/warnings removed      
    These are the things which i used for my project.
    Thanks,
    Sri Hari

  • Embedding SAP standard iviews in Tab controls with Web Dynpro

    Hi,
    I would like to develop a Web Dynpro application using TabStrip control. I have to display SAP standard iViiw(ex: KM navingation iView, expore iView) in each Tab. How can I embed iViews in each Tab in Web Dynpro.
    Thanks
    Tats

    Hi,
    using the IFrame UI element to display an iView inside a WD application will not work in general as the iFrame is reloaded after each request executed for the embedding WD application. In case that the iView is "stateless" this restriction is perhaps not so hard but you should nevertheless make sure that the ongoing reloading of the iFrame does NOT create new sessions again and again on the server-side for the iView running in the iFrame.
    With the next NetWeaver release we will provide a capability to define page layouts using WD components. Doing this it will be easily possible to define a page layout showing several iViews in different tabs of a tab strip.
    Best regards
    Jochen

  • Reg Printing Web Dynpro form

    Hi All,
    I have a View which has Tabstrip UI. The TabStrip contains 4 tabs and each tab has a view in it.
    I want to print the View.
    I was going through a few threads on Web Dynpro form printing. One of options available is using createExternalWindow method. Can anyone tell me what can be the URL of View 1 which is embedded in Window1.
    Regards
    Nikhil Bansal

    Hi Nikhil,
                 If it is default View, then the URL is your apllication URL [what you get in the browser after <i>deployment and run</i>].
    regards,
    Siva

  • Error While Deploying A Web Dynpro Appln thru NWDS

    HI,
    I am getting an error while deploying a Web Dynpro Application through NWDS.Following is the Exception
    Aborted: development component '<ComponentName>'/'local'/'LOKAL'/'0.2006.07.26.15.06.05':Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [sapsbx28] with user name: [J2EE_ADMIN] Check your login information. Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user.] (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    When i give a request for deployment it asks for the SDM password. I enter a valid SDM pwd. If i enter  a invalid SDM pwd i get  some other exception. So the pwd SDM entered by me is correct.
    can any one help me in solving this
    regards
    Nilesh Taunk

    Hi Nilesh,
           Try opening Visual Admin if your not able to login with username(administrator) and password. Problem with NWD2004s do the following steps.
    C:\usr\sap\J2E\JC01\j2ee\configtool->configtool.bat->open it
    1. Click on Secure store
    2. Right you will find :
    admin/password/J2E->retype your admin passowrd which you gave during installation=>SAVE properly
    Restart the server and try login visual admin
           Deploy now...Other wise see this thread same error solved:
    Re: An Deploy Problem about Credentials.
    Regards
    Suresh

  • Open and close a PO in web dynpro in SRM 7.0 screen .

    Hi All ,
    I am creating a PO in SRM 7.0 by using excel upload via web dynpro screen .
    After the upload , I see that there are some problems with the PO in web dynpro .
    For example , when i click on the line item it dumps and there are some other similar problems .
    When I save the PO close it and reopen it , the problem goes away . May be the system handles them in some way
    So , is there a way in which I can close and reopen the po through coding ?
    I know there are buttons at the top that close the PO , but some how I could not get the code for that .
    I will really appreciate the help here .
    Thanks in advance ,
    Ambar Patil.

    Hi...
    By first instance, i think that problem may be with uploading from excel. because sometimes excel data conversion will not done properly. So due to incorrect values, PO may go into dump..  that is my thought.
    if not lets wait for others answers
    Regards
    Srinivas

Maybe you are looking for

  • My s key does not work on my keyboard.

    Nothing I do will get my s key to work. Have replaced the keyboard, ran disk utility, fcsk/sbin -fy in safe mode, zapped the pram, reset smc, re-installed OS 10.6.7 and updated. Only way I can get an s is to copy one from a doc and paste it in as I h

  • Breadcrumbs Look Different on Certain Pages

    I noticed something weird about some of the apex themes (such as Theme 15 and Theme 18). The breadcrumbs of the pages that were made when the Application was made (pages defined during the application creation wizard) look different than the breadcru

  • Archiving purchase orders of a specific order-type

    hello, does anyone have a simple-doc or plan for archiving purchase orders. archiving for dummy's as I have never done this? points to be taken into consideration: - order of a specific type (ZRL0) - order must be older then 10 days thanks,

  • Transaction Code SPROXY

    Can any one please differentiate the use of Transaction Code SPROXY in R/3 and SPROXY in XI? We have been using Transaction SPROXY in R/3 to Create and Generate PROXIES. We never used SPROXY in XI. Your reply will really help me to understand the sub

  • Rename column name

    Can i rename column name of a table. If so how to do it????