Transportable stadard view using SALV_WD_TABLE component

Hi all,
Is it possible to make a stanard default view for all users of my WD appl. using SALV_WD_TABLE component? The standard view must be a subset of my context node.
Thanks,
Morten

Hi,
Yes you can create one view and you can display it for all users as default veiw.
Cheers,
Kris.

Similar Messages

  • Coloring each row  Dynamically in WebDynpro using SALV_WD_TABLE component

    Hi All,
      We have a requirement in WebDynpro  ABAP ,to display the ALV  table rows with different colors on the bases of come condition at runtime.
        We have checked but got only for column wise but not row wise.
    Can we archive it for Row wise also?
    Thanks in advance.
    CB

    Hi Saji,
    Please go through this...
    coloring  the rows of alv dnamically
    Color ALV column and rows
    Cell color change in ALV
    Cheers,
    Kris.

  • View of one component need to be used in another component.

    Hi Experts,
    I have created a view in component  BP_DATA . I want to use this view in component "BP_HEAD". Can anyone please help me with the steps needed to make the view available in  BP_DATA. Do i need to do any type of binding for this.

    Hello Ansal,
    For using BP_DATA/yourview in component BP_HEAD, first you will have to expose BP_DATA view in component interface. Then you can access that view in BP_HEAD by creating component usage. Once you add the view of BP_DATA in component usage of BP_HEAD, it will be available as a normal view in this component.
    -Regards

  • Custom component Search and Result view using value node :pls help

    Hi Experts,
    I am creating a Custom component with Search and Result view using value nodes.
    This is the code I wrote in the Search button event handler method.
    The data which gets in lv_search I need to put in lv_col .
    Can somebody guide me for this.
    Points will be awarded .
    METHOD eh_onsearch.
      DATA : lv_current TYPE REF TO if_bol_bo_property_access,
             lv_search  TYPE zcrm_orgstruct_search,     "Search value node structure
             lv_result  TYPE zcrm_orgstruct_result,         "Result value node structure
             lv_col     TYPE REF TO if_bol_bo_col.
      lv_current ?= me->typed_context->search->collection_wrapper->get_current( ).
      CALL METHOD lv_current->get_properties
        IMPORTING
          es_attributes = lv_search.
      me->typed_context->searchresult->collection_wrapper->set_collection( lv_col ).
      op_toresultview( ).
    ENDMETHOD.
    Regards,
    Lakshmi

    Hi Lakshmi,
    Could you please share with us how it was solved.
    "CALL METHOD lv_current->get_properties
    IMPORTING
    es_attributes = lv_search."
    Did you get any values in lv_search ?
    Because while using value nodes for search view (which inherits from advance search controller  class), the above method does not return any search values entered in the fields.
    Please let me know how did you solve it.
    Thanks & Regards
    Vidhya

  • Using only 1 view from a component ( usage )

    hi experts..
    I have a component C1 with 7 views...
    I have another componet C2 in ehich i want to use only 1 view of the component C1 rather than the entire component...
    How can i do that...
    jagruti

    Hi again.
    can u make it more simpler sascha..
    In the component controlelr of C1 create en event
    (mark as interface).
    Steps below r not clear.....
    Then in the actíon handler method of C1 fire this
    event.
    The action handler method assigned to the back button in the view you want to use in C2. Here you can use the wizzard to fire the event in the component controller. There should be a fire_... method in the component controller now.
    In the controller of view in C2 which contains the
    ViewUiContainerElement create an event handler method
    for the event of C1. In this handler you fire an
    outbound of the view which navigates to another view
    in C2.
    this is described in the above mention thread. In C2 you created a viuew with the ViewUiContainerElement which embedds the view with the back button of C1.
    Go to the attrib utes tab of this view and add the usage of C1 here.
    Then go to the methods tab of this view and create a method handleBackEvent and choose event handler. In the event columen make a F4 and select the event of the component usage C1. Hit enter.
    Create an outbound plug in this view which should be use to navigate to the view in C2 you want. Then go to the event handler method just created and fire the outbound plug.
    Do not forget to connect the outbound to the inbound of the view you want to navigate to.
    sorry for bugging u..
    No prob.
    jagruti..
    Cheers,
    Sascha
    Message was edited by:
            Sascha Dingeldey

  • Why do we use SALV_WD_TABLE in ALV?

    why do we use SALV_WD_TABLE in ALV? I was using this in Used Web Dynpro Components.

    The web dynpro component SALV_WD_TABLE is used for incorporating ALV into a web dynpro (screen).  You would declare it as a used component and then embed it into the container of the view that should use ALV.  I hope this helps.
    - April King

  • Create a new view under a component in IC Webclient UI

    Hi ,
    Can anyone tell how to create a new view under a component in IC Webclient UI.
    Regards,
    Sijo

    Depends what kind of view you are talking about. In any case first go to runtime repository on the left panel of the component and then click the edit button.
    If you are talking about interface view, right click the component interface and choose "Add interface view". The created view is added to the selected window in the runtime repository.
    If you want to add view to the window right click the windows component and select "Add view". 
    Select the view using the f4 help and save the runtime repository.

  • Reading the data from one component view into another component view

    Hi All,
    I have requirement to read the data from one component into another component while creating the service order. Here are the details.
    Main View for Service order: BT116H_SRVO in that we have two assignment blocks like Organizational data(BTORGSET) and amount allocation(BTAMNTALL).This two blocks are two different component which are associated with main component(BT116H_SRVO).
    I need to read the sales org data from component/View(BTORGSET/Orgsetdata) into Component/View(BTAMNTALL(HdrBillPlanDet) method DO_VALIDATE_INPUT.
    I searched in SDN but all the posts are related to the data exchange between two views in same component. But My scenario is different as explained above.
    Refer the attachments for the component link..
    Please let me know how we can achieve this one..
    Thanks,
    Sapsar.

    Finally I was able to fix my code...My Mistakes were need to read the parent node above three levels and need to use the relation entity name while reading the data..
    Below is the correction code
    IF iv_index IS NOT INITIAL.
         lr_iterator ?= collection_wrapper->get_iterator( ).
         lr_current ?= lr_iterator->get_by_index( iv_index ).
         lr_entity ?= lr_iterator->get_by_index( iv_index ).
       ELSE.
         lr_current = collection_wrapper->get_current( ).
       ENDIF.
    *loop back to root entity
             WHILE lr_entity->get_name( ) NE 'BTAdminH'.
               lr_entity = lr_entity->get_parent( ).
             ENDWHILE.
    *Get the related entity
             IF lr_entity IS BOUND.
               lr_collection ?= lr_entity->get_related_entities( iv_relation_name = 'BTHeaderOrgmanSet' ) .
               IF lr_collection IS BOUND.
                 lr_orgset_m = lr_collection->get_current( ).
    *            lr_orgset = lr_orgset_m->get_related_entity( iv_relation_name = 'BTOrgSet' ).
                 lr_orgset = lr_orgset_m->get_property_as_string( 'SALES_ORG' ).
               ENDIF.
             ENDIF.
    Thanks,
    Sapsar.

  • Creation of view in a component

    Hi ,
    may I have the step by step procedure  for the creation of view in a component.
    I have created the Enhancement set .
    then in BSP_WD_CMPWB I enter the component and say enhance it took me to the area where all views are in display mode and after I selected the views and started the wizard of view creation .
    I require info on the data to be given in the wizard and the procedures after that.
    plz provide some inputs ,
    Thanks and regards,
    Sree.

    Hi Sree,
    In your view.htm are you using the code to get the configuration?
    Example:
    <%@page language="abap"%><%@ extension name="htmlb" prefix="htmlb"%><%@ extension name="xhtmlb" prefix="xhtmlb"%><%@ extension name="crm_bsp_ic" prefix="crmic"%><%@ extension name="bsp" prefix="bsp"%>
    <%@extension name="chtmlb" prefix="chtmlb" %>
    <%
      data: lv_xml    type string.
      lv_xml    = controller->CONFIGURATION_DESCR->GET_CONFIG_DATA( ).
    %>
    <chtmlb:config xml  = "<%= lv_xml %>"
                   mode = "RUNTIME" />
    Best regards,
    Caíque Escaler

  • Adding a view in a component of BSP application

    Hi All,
    I want to create new component for a BSP and add a view to it.
    my scenario is : I have a problem in creating a pop-up view whenever a button in a WEB UI is clicked.
    I have added a button in the items tab of sales order creation(in WEB UI),so when that button is clicked a pop-up view has to be generated.
    the view i am creating is a ineractive view where the user can enter some data and press a button in the pop-up window so that the data is copied in the items tab.
    the pop-up contains a table grid where the user can enter the data and press the button in pop-up window.
    so could you please let me know how to create this type of pop-up window.
    Regarding this some one has send me a solution of creating a new component with a new view.but unfortunately i am not able to create a view because it is asking for nodes and BOL entity.
    so could you all provide me some input inorder to create the component and view.
    Thanks
    Tanveer

    Hi Tanveer,
    I have done the Similar Case.
    By now I hope you have Created a New Component.
    Ensure the Following Points before you Proceed.
    1. Create a Window/View Set and View.
    2. As you are saying yours is Table View while Creating View Specify it as Value Node and assign Corresponding Attributes to the Value Node.
    3. Specify Type of View is Table Type.
    4. Now in Runtime Repository Add the Created Window.
    5. Now add the Created ViewSet and View to the Window and Save.
    6. Create a New Interface View which is ( Window Name ) in Runtime Repository.
    7. Add Component Usage in Runtime Repository.( In Source Component where Button is Present )
        a. Give ID and Interface View for the Component Usage and give Used Component
            Name. If View is created in same component then give same name other wise
             Give another component name.
    8. After create View/Window/Component Interface/Component Usage Now to get the
       Table View in Popup Screen
       Modify the Standard Code similar to the Table View in HTML Page.
       For Reference:
    <chtmlb:tableExtension tableId = "Table"
                           layout  = "FIXED" >
      <chtmlb:configTable id              = "Table"
                          navigationMode  = "BYPAGE"
                          onRowSelection  = "select"
                          selectedRowIndex      = "<%= CONTEXTNODE->SELECTED_INDEX %>"
                          selectedRowIndexTable = "<%= CONTEXTNODE->->SELECTION_TAB %>"
                          selectionMode         = "<%= CONTEXTNODE->->SELECTION_MODE %>"
                          table           = "//CONTEXTNODE->/Table"
                          usage           = "SEARCHRESULT"
                          visibleRowCount = "10"
                          width           = "100%"
                          showNoMatchText = "FALSE"
    />
    </chtmlb:tableExtension>
    CONTEXTNODE is the Context Node in View.
    Now to get the Values in the Table View when popup gets displayed.
    Go to the Newly Created View and add Code to populate Values in Table View
    Method CL_BSP_WD_CONTEXT_NODE_TV - > IF_BSP_MODEL~INIT.
    Now,to Call the Created View as a popup from the New Component when Buton is Clicked
    Use the Following Code in the Event of Button Click.
    DATA: lr_popup TYPE REF TO if_bsp_wd_popup.
      IF lr_popup IS NOT BOUND.
        lr_popup = me->comp_controller->window_manager->create_popup( )
        (Specify Parameters Interface View,Component Usage and Title for Window in the above Method._
        lr_popup->set_display_mode( if_bsp_wd_popup=>c_display_mode_surrounded ).
      ENDIF.
    Set the callback event on the imported controller ( Specify Event Name which needs to get Triggered when Popup is Closed.)
      lr_popup->set_on_close_event( iv_event_name = "EVENT_NAME"
                                           iv_view = me ).
    *Set the width of the popup
      CALL METHOD lr_popup->set_window_width
        EXPORTING
          iv_width = 500.
    *Open the popup
      lr_popup->open( ).
    This will help in Getting a View as a Popup when Button is Clicked.

  • Three levels hierarachy - hierarchy viewer data visualization component

    I am not getting the third level when i am using the hierarchy viewer....any pointers will be a great help
    Edited by: Deepak Subramanian on Jan 22, 2010 5:34 AM

    oops sorry if i sounded vague....
    using jdev version 11g
    well I am trying to use the hierarchy viewer data visualization component to create a hierarchy which shows the managers and employees below them.
    am using a single query based VO which has two columns manager and employee.
    then created a self view link with that vo
    the data control looks something like
    manager(first level)
    ----manager or employee(first level)
    ---------employee(third level)
    I am dragging entire data control on the page so that the create hierarchy viewer option appears.
    from there I am stuck...
    when I am running the page, I am getting just two levels...the last level is not showing up :(.....
    Edited by: Deepak Subramanian on Jan 22, 2010 5:35 AM

  • Add View of one component in another component

    HI All,
    I need to show view "TextView" of component SRQM_NOTES in component BT116IT_SRVO.
    That is: i would like to show text for each Item of a particular order.
    How can I do that?
    Add View to a certain ViewSet / Change a configuration / add view to the Window... or what not???
    Please help here.. I need it.. THANKS, Johannes

    Hi there,
    Your requirement is simple though lenghty to implement. Following is the solution :
    You have not mentioned in which view you would like to get the text.Let it be.
    1. Add SRQM_NOTES as a component usage in BT116IT_SRVO. For this, first enhance BT116_SRVO. Then in its runtie repository, right click on component usage-> ADD . Lets name it UCSRQM_NOTES, then give compoent SRQM_NOTES and interface view ( use f4 ) SRQM_NOTES/MainWindow . Save the repository.
    2. right click on ViewSet BT116IT_SRVO/ItemTableVS  ( i assumed this. you do F2 on web ui to find out exact view and then proceed with this set in the viewset contating that view.
    Say Add Vieware. Lets name it ItemNotes. after view area is created, right click & say add view.Use F4 and select UCSRQM_NOTES.SRQM_NOTES/MainWindow . Save the repository.
    Repository work is over.
    3. Now go to BT116IT_SRVO/ItemTableVS  . click on config tab. do the configuration and add the newly created viewarea in the configuration. save the configuration.
    This completes adding the view from SRQM_NOTES to BT116IT_SRVO.
    4. Now, you will also need to see the text for the item selected. for this we will need to do the context node binding.
    For this, go to the component controller class of BT116IT_SRVO & redefine the method WD_USAGE_INITIALIZE.
    First give the call to super and later code following
    CASE iv_usage->usage_name.
        WHEN 'UCSRQM_NOTES'.
    * bind single item component usages
          iv_usage->bind_context_node( iv_controller_type  = cl_bsp_wd_controller=>co_type_component
                                       iv_target_node_name = 'BTADMINI'
                                       iv_node_2_bind      = 'BTADMINI' ).
      ENDCASE.
    Now you are ready to test on UI !!
    Hiope this helps.
    Thanks & Regards,
    Suchita

  • How to use MyFaces component with Java Creator 2

    Please advise for me the way to use Myfaces component with Java Creator 2. Thanks

    Apologies for the late reply, but currently what exists generally for MyFaces integration with Creator is on this blog:
    http://wiki.java.net/bin/view/Javatools/CustomComponentLibraries
    You might also want to post the same question on the nbusers alias on netbeans.org, referencing Visual Web Pack
    Regards,
    -Brad Mayer

  • How to create navigational links...and connect views of another component

    Hi...
    I am new to SAP CRM...
    I have a requirement where i need to navigate from the main window of a component to the view of a different component.
    Scenario:
    When i click on edit button after selecting a line item in the assignment block in the BT111H_OPPT/Details ,it should navigate to the details page of the line item which is the view of another component that has been created .say ZRP/PEL.
    How can i achieve this using the concept of inbound/outbound plugs and navigational links?
    I have got a vague idea on plugs from my search...that these are entry/exit points to views.
    But what is the procedure to follow to attain the functionality?
    How do we decide on which component needs which all plugs?
    Anyhelpful pointers would be rewarded.
    Also, an idea on what exactly does the inbound/outbound plugs do and how is the flow happening , how are navigational links working etc would be appreciated.
    Thanks..

    Steps to create navigational link:
    1.     Create an outbound plug in the component from where you want to navigate. Sometimes      
                    standard navigational links are already there.. you just need to identify it.
    2.     Create a Component usage in runtime repository for target component.
    3.     Add this component usage to the main window view in repository. 
    4.     Create navigation link between the transaction type and the target component view.
    5.     In the outbound plug, use the view manager to navigate to the target component. Ex: 
                    ME->FIRE_OUTBOUND_PLUG( IV_OUTBOUND_PLUG   = 'TO_OUTPLUG''
                              IV_DATA_COLLECTION = LR_COL ).
    6.     Pass the data through the data collection.

  • Transporting a View

    Hi Gurus,
    How to transport a Database View from DEV system to Quality system
    My basic doubt is how to collect a view in a transport request
    Please suggest
    Thank you

    Hi MSS,
           Sometimes transporting a view will be bit tricky as it may not get collected properly using object directory entry option.
    You can just append 1 to the description of the view and it will prompt for TR. collect it and again remove 1 in the description and activate it again.
    It will get successfully collected.
    PS: This is my personal experience. Many times for me, the view was collected as "R3TRTABLXXXXXX" when i use object directory entry
    Edited by: Sunny84 on Aug 12, 2009 9:41 AM

Maybe you are looking for

  • How do I import old FCP projects that have mysteriously changed to Linux Executable files?  Is it as simple as renaming the files with the.fcp extension?

    I had some FCP projects on an old G3 tower that I finally want to finish. I was able to grab everything, media, etc. to my macbook pro but all of the Final Cut Pro actual movies/projects have turned into "linux executable files" that FCP X won't impo

  • Need SM Bus Controller Driver for A75-S231

    Unfortunately I am without my system and backup disks and I am in desperate need of a driver for the SM Bus Controller. Problem surfaced after re-install of XP Home. I called Toshiba tech support to identify the motherboard chipset shipped with my un

  • Landed Costs in B1 2007 A

    Hi: In landed costs in 2005 we used to have a facility to allocate the landed costs and while passing a JV - we used to select the corresponding vendor to pass the necessary entry as an account by pressing shift tab.  The new version 2007 does not al

  • Watching youtube w/o flash

    I want to keep my new MBP flash free. Can't do many things of course (still have my old MBP), but I hope at least to be able to watch youtube videos. When I go to youtube, the first thing I see is - as expected - that I do need flash. When I click on

  • BADI ME32l

    i need to generate POPUP for tcode me32l, while processing items, i have to change price and quantity and changed value need to be updated. Similiar to POPUP_TO_CHANGE_LIST_FIELD is anything else available, so that after user gives new values to thes