Complete view of enhanced component is disapearing.

hi
we enhanced IUICMD sap component in one z*enhancement set. enhanced one view SearchAcciounts. added a new attribute PO_BOX from BuilStandardAddress BOL. After adding field in the configuration and running the web application.
!!!!! complete view is disapearing.
Kindly help thanks!

Hi,
I am interested to know how you added the fields. Did you use standard tools like AET or EEWB? Or you appended them manually. Also do you get any exception while running the application? Should see them in the messages area.
Regards
Prasenjit

Similar Messages

  • How to delete a view from a enhanced component?

    I wish to know the possibility of deleting a view from a enhanced component.
    I have two components IUICMD & IUICMRD. I have enhanced 4 views in the first component IUICMD using enhancement set ZCRM_ENHSET. There is no problem with that. But when i try to use the same enhancement set ZCRM_ENHSET for enhancing the second component IUICMRD, it's enhanceable in enhancement set. But 2 views IUICRMD/Meterreading & IUICMRD/MainVS is also copied to first component and available as enhanceable views in First component.
    I want to delete those views from the first component. Let me know How to delete a view from a enhanced component?
    Regards,
    Prabahar

    Hi Raju,
    If you do not need those enhancment views in any of the components ( ie IUICMD & IUICMRD ) , then open the BSP application in SE80 , under controller, there will be files with extension .do as yourviewname.do ...delete those !! These will not dele the Z classes....but just deletes their presence from the BSP...
    I would suggest following approch :
    1) go to SM34 , open BSPWDVC_CMP_EXT....Select you enhancement set and click on enhancement defination in leftside panel.
    2) now select the IUICMRD and CLICK ON CONTROLLER SUBSTITUTION...
    3) now you will see all the enhancement available for that component...Delete the entries for those two views from there...
    This is just deleting the entries...this does not delete any objects from the system.
    4)Now click on Back arrow, and delete the entry for IUICMRD...save.
    5) Now open BSPWD_CMP_WD for IUICMRD...you will get the enhance component button... You can now freshly enhance this component..
    6) We did not touch to the entries for IUICMD  in the BSPWDVC_CMP_EXT...So now if you open the component IUICMD in workbench with you enhancement set...you will see all the enhancement..including those two views which you wanted to delete from IUICMRD.
    7) If you want to delete the enhancement for these views...then right click on the enhance views and select Delete enhancement...You will get a popup listing IMPL, CTXT and CN classes, select all Z entries in the pop up and those all will be deleted physically from the system...and thus view enhancement will be rolled back...
    All the best !!
    Thanks & Regards,
    Suchita
    If you are not sure, you can create copy of IMPL, CTXT and CN classes in se80 and then proceed for deletion..You can also make copy of entire BSP in se 80 before deletion...

  • 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

  • Error while deleting enhanced component

    Hi,
    i have enhanced the component 'ICCMP_BP_CP' and the view 'ICCMP_BP_CP/BuPaContactPersonCreat'. When we enhanced the component, it throwed me the error message that user is not authorized for sicf transaction. after getting the authorization, i enhanced the component. But when we we enhanced the view, it was throwing view bind exception in Web UI. so, we deleted the enhanced view and when we are trying to delete the enhanced component 'ICCMP_BP_CP', its throwing the error that 'run time repositry could not be loaded',
    After I tried deleting the component enhancement, I can still open that component with enhancement set from BSP_WD_CMPWB but it doesn't show me any repository.xml. Also, I don't see any entry for the enhanced component in BSPWD_CMP_C_REPL.
    I am attaching the screen shots like how I am deleting the enhanced component. Could you please tell me how to delete it.
    Thanks & Regards,
    Kamesh Bathla

    Hello,
    Open table BSPWDV_COMP_EXT via SM30 and open it with the Enhancement Set in which you created the enhancement you want to delete. (or the view cluster BSPWDVC_CMP_EXT via SM34)
    Look for the component for which you want the enhancement to be deleted. Note down the "Runtime Rep. BSP application" and delete the record.
    Open the BSP application you noted down in SE80 and delete the (incorrect) enhancements, then delete the whole BSP application.
    Restart enhancing the component.
    Hope this helps,
    Joost

  • 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

  • Created  A view in standard Component.

    Hi All,
           I have created few view and view set In a standard component As per my requirement . This view and view set is created successfully .
    But when I want to add the view or view set In Runtime Resportiory it is not visible.
    For E.g. I want to add the view in Overview page but the view is not showing.
    Some where We have to append.
    Any pointer can help me.
    Thanks in Advance
    Thanks & Regards
    Rasmi Ranjan Pradhan

    Hi Rasmi,
    Are you searching the view in the enhanced component itself?. Usually people do a mistake that they give the standard component name and the view won't be visible. While giving the component name, give with Z.
    Thanks,
    Faisal

  • Enhancing component fails-Enhancement Set doesnt exist

    Hi All
       I am trying to enahce a component. I naviagted to the component. I clicked on the 'Enhance Component' button. I entered the name of a Enhancement Set which doesn't exist. The system throws an error 'Enahncement Set XYZ doesnt exist'. I created a Z Component in the BSP_WD_CMPWB transaction. I entered this value in the field for Enhancement Set and it still gives me the error message. What should I do? Search help returns no values.
    Thanks and regards,
    Sowmiya

    Hi,
    use the standard componet with the enhancement set .You can see all the views displayed(standard).
    Right click to enhance that.
    Then the standard view with name BT_HEAD/BPdetails(view) will be changed to (ZBT_HEAD/BPdetails) automatically.
    this will serve the copying purpose.
    This will happen, provided when u enhance the component u should have give the BSP application name as ZBT_HEAD.
    Hope this helps you.
    Thanks
    Jgds

  • Select-options are not destroyed while calling view of used component popup

    Hi Friends ,
    I'm facing a unique problem. I'm calling a view of a component within another component. the view that I'm calling has some select-options. When I close the popup window ( using close 'X' of popup ) and then try to reopen the popup system give me a dump. I debugged and found that select-options are not destroyed by system and once it tries to create the select-options again it dumps because they are already there.  
    This is the source code extract of that dump for your reference .
    1 method if_wd_select_options~add_selection_field.
    2
    3   data:
    4     lr_table_descr       type ref to cl_abap_tabledescr,
    5     lr_struct_descr      type ref to cl_abap_structdescr,
    6     lr_value_field_descr type ref to cl_abap_elemdescr,
    7     added_field          like line of mt_added_fields,
    8     dfies                type dfies,
    9     description          type string,
    10     complex_restrictions type if_wd_select_options=>t_complex_restrictions.
    11
    12   field-symbols:
    13     <it_result> type index table.
    14
    15 * check of someone wants to add a field that already exists
    16   read table mt_fields
    17        with key m_id = i_id
    18        transporting no fields.
    19   if sy-subrc = 0.
    20 *   might be deleted - recreating a field with different setting is of course allowed
    21     read table mt_all_removed_fields
    22          with key table_line = i_id
    23          transporting no fields.
    24     if sy-subrc <> 0.
    >>>       message x000(00).
    26     endif.
    27
    28 *   remove the existing field in order to avoid duplicates
    29     delete table mt_fields with table key m_id = i_id.
    30   endif.
    I've already tried using REMOVE_ALL_SEL_SCREEN_ITEMS( ) method of interface IF_WD_SELECT_OPTIONS before creating new elements ( select-options ). If any one can help me in this It would really help and I'll appreciate it.
    Thanks in advance,
    Laeeq

    I've sloved the problem

  • How to call specific view of used component

    Hi All,
    I have the following problem:
    I have component 1 which have two views: 1A and 1B. They are included in one window. Default view is 1A.
      Navigation between view 1A and 1B it made with buttons and plugs ("go to 1A", "go to 1B").
    I have main component 2 which uses component 1 (used component). Component 2 has view 2A and 2B. I have button "Z" in view 2A which calls method of component 1 and navigates to view 2B (where used component 1 is embedded).
    First time I press button I navigate to view 1A, its correct. Then I navigate to view 1B (within used component 1).
    when I go back (in main component 2) and press button "Z" again, the used component 1 is open with view 1B, not 1A (which is default). That is, used component 1 remember which view the navigation stayed on.
    I nee to always see view 1A first when I navigate with button "Z" (open used component).
    How I can do that?

    hi ,
    u must be using component usage ..
    in ur component2 , place the view 1B of ur used component in separate window
    pls refer this thread as well :
    How to call a Particular View from a View of Current Component
    regards,
    amit

  • 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

  • Day View in calendar Component showing the next at times not everytime!

    Day View in calendar Component showing the next at times not everytime! My question is when we go to Day view which day does it show? is it Server day where the application reside or the machine time zone day ?

    I think you want to know, days & time picked by which machine, locally or from server? It does take from server where the application is running.

  • Creating a new method in an enhanced component class implemetation

    Hello Experts,
    I am trying to create a new method in the enhanced component(BT115IT_SLSO) implementation class ( ZL_BT115IT__ITEMS_IMPL)to run our custom functionality. But somehow when I put a breakpoint and debug while I add a product to the sales order the method doesnt get trigerred.
    Is there some thing which I have to do  get this trigerred ? I just added a ned method and placed some custom code in it. Do I have to invoke it anywhere ?
    Pls help me out. I am new to Web UI.
    Thanks

    Hi Mavrick,
    As you are performing some action like item addition , there you need a method called as " event handler " to handle the event and perform the required actions.
    Place a break point in DO_HANDLE_EVENT method , and you will know the exact event handler method which is getting triggered . or if you are defining a new event ( by adding any new button) you should create a event handler method using wizard giving the same name which is defined on_click field of the button as it is case sensitive.
    Regards,
    Nithish

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

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

Maybe you are looking for