New Tableview context node class

Hi all,
does anyone have any specifics on CL_BSP_WD_CONTEXT_NODE_TV2?
Saw some nifty coding in the cellerator that made me curious.
cheers Carsten

After some extensive research by me and a disappointing answer I recieved per email I am giving up.
It seems to be the prestage of an ALV grid for WebClient that has not made it into the current shipment. According to the email this functionality will most likely not be developed any further.
Maybe someone got some spare time and interest to have a look at component UIF_BP_SAMPLE and try their luck. I would be more than happy to hear positive news from anyone who got this example running.
The mentioned z_chtmlb tag is nowhere in the CRM 7 EHP1, but the CHTMLB:CELLERATOR got a variable GV_IS_ALV.
cheers Carsten

Similar Messages

  • Extending Context Node class in Component BT111S_OPPT

    Can anybody tell me the steps to add this field on BT111S_OPPT/result?
    I have enhanced BT111S_OPPT and the result, now i think that i have to add the field to the result but i don't exactly know how to proceed.
    Thanks
    Edited by: Jon Azkorra Olano on May 26, 2010 9:27 AM

    Jon,
    Here are few threads for ur reference.
    http://www.crm246.com/crm-search-in-the-crm-web-ui-is-not-enhanced-by-the-eew-193.htm
    Re: Add feild in result list
    Regards,
    Amar.

  • How to call a method in IMPL class from one context node

    Hi, I´ve been only study the posibility to access a method in the IMPL class  from one context node class...CN## without using events, is there a way to call it ??? I don´t have it as requierement just learning thanks !.

    Hi,
    Try this by following this you can get the custom controller instacne in the view context nodes, for your requirement you can keep the view implementation class instance instead of cuco..
    To get the custom controller instance in Context node getter/setter method:
    1. Declare Cuco instance reference variable in ctxt class..
    2. Set this cuco ref. in the Create context node method of ctxt class:
    try.
    gr_cucoadminh ?= owner->get_custom_controller( 'ICCMP_BTSHEAD/cucoadminh' ). "#EC NOTEXT
    catch cx_root.
    endtry.
    you can avoid this step as this is not needed in case of view isntance
    3. Assign this instance to the respective context node Create method using:
    BTStatusH->gr_cuco ?= gr_cucoadminh.  " here assign the view implementation ref. " me" instead of gr_cucoadminh
    Here gr_cuco is the ref. variable of custom controller in the respective context node for eg. BtstatusH
    Sample implementation of this can be found in
    ICCMP_BTSHEAD/BTSHeader ->context node BTACTIVITYH-> attr ->GR_CUCO(instance of cuco)
    Cheers,
    Sumit Mittal

  • Context node deleted

    Hi Gurus,
    Am new to the Web UI developmoent.
    When i was working on the requirement of getting an existing view from a Zcomponent A to Zcomponent B ,
    the steps which i followed after going through many threads on sdn , was
    u2022Add View to Window: Open the Window node, find your window,
    right click on it and choose Add View.
    u2022Add Component Usage: Open the Component Usages node,
    right click on Component Usage and choose Add Interface View.
    u2022 Added the code in ' WD_USAGE_INITIALIZE ' method.
    No am facing 2 major issues :
    1) when i added the the view in the configuration part, it is throwing an exception which tells -
    Exception Class  CX_BSP_WD_INCORRECT_IMPLEMENT - There is no node text 'BTORDER' in controller ''. 
    Method:  CL_BSP_WD_CONTROLLER=>DO_CONTEXT_NODE_BINDING 
    Source Text Row:  39
    Initialization of view ZTOP_OPPORT/MyOpptResult of UI Component WCC_SLS_HOME failed
    An exception has occurred Exception Class  CX_BSP_WD_INCORRECT_IMPLEMENT - There is no node text 'BTORDER' in controller ''. 
    Method:  CL_BSP_WD_CONTROLLER=>DO_CONTEXT_NODE_BINDING 
    Source Text Row:  39
    Cannot display view WCC_SLS_HOME/SalesHome of UI Component WCC_SLS_HOME
    An exception has occurred Exception Class  CX_BSP_WD_INCORRECT_IMPLEMENT - There is no node text 'BTORDER' in controller ''. 
    Method:  CL_BSP_WD_CONTROLLER=>DO_CONTEXT_NODE_BINDING 
    Source Text Row:  39
    Window MainWindow of UI Component WCC_SLS_HOME cannot be displayed
    An exception has occurred Exception Class  CX_BSP_WD_RUNTIME_ERROR - View ZTOP_OPPORT/MyOpptResult in component WCC_SLS_HOME could not be bound 
    Method:  CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW 
    2) secondly i tried re-creating the existing view which i added in the std Component B window.
    But when i deleted the view n created again it , now i see that the context node of that view in the z component is deleted.
    Deletion of the context node-  is it because i tried deleting the view in the window of the standard component which i added????
    Please let me how do i go about this..

    Hi seema rajjot
    Please check the CTXT class variables , there is a possibility of existing the context node that you created delete that entry manually from there.
    After deleting from there go to CREATE_CONTEXT_NODES method there you will see entry for context node class creation with name CREATE_YOUR CONTEXT NODE NAME, delete that entry manually.
    process to delete the component enhancement.
    Step 1
    First delete the View enahncement, select your view right click on it select delete, while deleting you must be bit catious a pop up will come with standard classes and Z classess there you have to select only Z classes.
    Step 2
    Once View enhancement is deleted delete the Component enahncement.
    if you created any Runtime repository entires or View configuration with your custom fields then first you have to delete those view and runtime repository configuration and then perform the above two steps
    Thanks & Regards
    Raj

  • Error while genetrating gettter method on Context node attribute

    Hi,
    I am working in SAP CRM 7.0 Ehp1.Now I need to create get_p_a and set_p_a method
    on context node attribute.But while selecting attribute and clicking on right and selecting
    on generate P-Getter,getting an error (error message - View not copied or enhanced with wizard; processing not possible).
    This is a custom context node attribute and need to create gettter,setter method.
    Kindly assist on this or suggest is there any way to create method on required context node attribute.
    Regards
    Viren

    Hi there,
    Creation of Getter  Setter is not possible for the AET Generated Views and Components.
    It seems your view is generated using AET Table enhancement feature of Ehp1 and the context node is thus a based on a Z BOL object created by a feature of AET of Ehp1
    For such context node, generation of getter setters is not  possible with right click.
    If you need any of GET_ , SET_, GET_P_ or GET_V , then you need to copy the GET_P_XYZ etc method you find on context node class.
    Hope this helps
    Thanks & Regards
    Suchita

  • How to read the value of a field belonging to a different context node in GET_I method during runtime

    I want the read the value of a field,'LCSTATUS' belonging to context node 'BTADMINH' in the GET_I method of the field, 'ZZFLD000008' belonging to context node,'ZBTACTIVITYH'.
    In the context node class of context node 'ZBTACTIVITYH',I have created an instance attribute,GR_OWNER type ref to context class.
    I get the following error in the line - lv_act_status = Lr_entity->if_bol_bo_property_access~GET_PROPERTY_AS_STRING( 'LCSTATUS' ).
    'An exception (CX_CRM_CIC_PARAMETER_ERROR) occurred Message no. TPDA430'
    I have used the below code.
    method GET_I_ZZFLD000008.
         DATA: current TYPE REF TO if_bol_bo_property_access,
               lv_act_status TYPE string.
         DATA:lr_entity TYPE REF TO cl_crm_bol_entity,
               lr_current TYPE REF TO if_bol_bo_property_access,
              lr_parent TYPE REF TO cl_crm_bol_entity.
         rv_disabled = 'TRUE'.
         if iterator is bound.
           current = iterator->get_current( ).
         else.
           current = collection_wrapper->get_current( ).
         endif.
    CHECK gr_owner IS BOUND.
    lr_entity ?= gr_owner->btadminh->collection_wrapper->get_current( ).
    CHECK  lr_entity  IS BOUND.
    lv_act_status = Lr_entity->if_bol_bo_property_access~GET_PROPERTY_AS_STRING( 'LCSTATUS' ). "error states that lcstatus can't be used here.
       TRY.
             IF current->is_property_readonly(
                           'ZZFLD000008' ) = abap_false. "#EC NOTEXT
               rv_disabled = 'FALSE'.
             ENDIF.
         CATCH cx_sy_ref_is_initial cx_sy_move_cast_error
               cx_crm_genil_model_error.
           RETURN.
       ENDTRY.
    endmethod.

    Hi,
    LCSTATUS is not an attribute of the BTADMINH structure. It is read using the relation to the status object
    BTADMINH-> BTHeaderStatusSet-> BTStatusHCurrent-> ACT_STATUS.
    Try reading the ACT_STATUS of object BTStatus as given below.
            data: coll   type ref to if_bol_entity_col.
           data: entity type ref to cl_crm_bol_entity,
                         lv_act_status TYPE string.
           entity ?= current.                                                               "BTADMINH entity.
           coll = entity->get_related_entities(
                    iv_relation_name = 'BTHeaderStatusSet' ).    "#EC NOTEXT
           current = coll->get_current( ).
            entity ?= current.
           coll = entity->get_related_entities(
                    iv_relation_name = 'BTStatusHCurrent' ).     "#EC NOTEXT
           current = coll->get_current( ).
            try.
           lv_act_status = current->if_bol_bo_property_access~GET_PROPERTY_AS_STRING(  'ACT_STATUS' ).
             catch cx_crm_cic_parameter_error.
           endtry.
    Regards JP

  • How to read the value from one context node in other in the same view.

    Hi,
    I am working on enhanced component ICCMP_BP_CP/BuPaContactPersonCreate ,  i need to read the partner_guid from Customer context node in  contactpersonaddress context node.
    Could you please guid me how to achieve this? if possible, please explain me with some sample code.
    i am trying this code in GET_FAXFAX method of contactpersonaddress-faxfax, but it is throwing me the type cast exception.
    data: lr_entity type ref to cl_crm_bol_entity.
    data: lv_test type string.
    lr_entity ?= collection_wrapper->get_current( ).
    lr_entity = lr_entity->get_related_entity( 'BuilContactPersonAddressRel' ).
    Thanks in advance.
    Regards,
    Kamesh Bathla
    Edited by: Kamesh Bathla on Jun 25, 2009 7:46 PM

    problem solved by writing the code in context node class CREATE_CONTPERSADDRESSVALNODE method
      coll_wrapper = customer->get_collection_wrapper( ).
      TRY.
          entity ?= coll_wrapper->get_current( ).
        CATCH cx_sy_move_cast_error.
      ENDTRY.
      IF entity IS BOUND.
    CONTPERSADDRESSVALNODE->on_new_focus( focus_bo = entity ).
        DATA: lr_collection TYPE REF TO cl_crm_bol_entity,
              lv_fax TYPE string,
              lv_fax_ext TYPE string,
              lv_tel TYPE string,
              lv_tel_ext TYPE string,
              entity_addr TYPE REF TO if_bol_bo_property_access, "#EC *
              coll_wrapper1 TYPE REF TO cl_bsp_wd_collection_wrapper.
         lr_parrent type
        lr_collection = entity->get_related_entity( 'BuilStandardAddressRel' )."'BuilContactPersonAddressRel' ).
        IF lr_collection IS BOUND.
          coll_wrapper1 = contpersaddressvalnode->get_collection_wrapper( ).
          TRY.
              entity_addr ?= coll_wrapper1->get_current( ).
            CATCH cx_sy_move_cast_error.
          ENDTRY.
    getting fax number
          CALL METHOD lr_collection->if_bol_bo_property_access~get_property_as_value
            EXPORTING
              iv_attr_name = 'FAXFAX'
            IMPORTING
              ev_result    = lv_fax.
    ***setting fax number
          CALL METHOD entity_addr->set_property
            EXPORTING
              iv_attr_name = 'FAXFAX'
              iv_value     = lv_fax.

  • Error on enhancing context node of component CRMCMP_CAWB

    Hi Experts,
    I am trying to enhance the context node SEARCHQUERY of view creditwbsearchview component CRMCMP_CAWB. While doing the generated context node class is having 1 error.
    This is also causing dump. Can you all please help me how to remove this error. This is bit urgent.

    Might need to raise OSS, cause error is in the standard class.
    Regards,
    Sumeet

  • How to populate context node of component controller

    Dear People,
    Is there any way i could access my custom context node of component controller in the context node class of my custom controller.
    I am navigating from one component to another, Upon initial launch everything is working fine, however if i go to home page and come back. the assignment block is coming empty.
    In WD_USAGE_INITIALIZE i m binding my custom controllers context node with the component controller's context node of the other component and it works fine when i load the UI. however if i go to home page and come back. the assignment block is coming empty.
    Following code is in method of DO_VIEW_INIT_ON_ACTIVATION of the other componenet.
    METHOD do_view_init_on_activation.
      DATA:   lv_btstatus_parent TYPE REF TO cl_crm_bol_entity,
            lv_comp_ctrl      TYPE REF TO cl_btstatus_bspwdcomponen_impl.
      CONSTANTS:
            lc_us_header      TYPE crmt_relation_name VALUE 'BTStatusHUserAll',
            lc_us_item        TYPE crmt_relation_name VALUE 'BTStatusIUserAll'.
      lv_comp_ctrl ?= me->comp_controller.
    check if relationname has been passed from outside
        gc_relation_name = lv_comp_ctrl->get_relation_name( ).
      IF gc_relation_name IS INITIAL.
      check type of parent to determine relationname
        *lv_btstatus_parent ?= lv_comp_ctrl->typed_context->btstatusparent->collection_wrapper->get_current( ).*
       check lv_btstatus_parent is bound.
        CASE lv_btstatus_parent->get_name( ).
            WHEN 'BTStatusH'.
              gc_relation_name = lc_us_header.
            WHEN 'BTStatusI'.
              gc_relation_name = lc_us_item.
        ENDCASE.
      ENDIF.
    CALL METHOD super->do_view_init_on_activation.
    ENDMETHOD.
    Here lv_btstatus_parent is bound during initial launch, however after navigating back to the same page, its blank leading to exception.
    any suggestions would be helpful.
    regards,
    pradeep

    solved myself

  • Creating context node with dynamic type

    When we are creating context node thru wizard,  Dictionary type must be filled. I'm trying to create Context node manually.Did any one tried created Context node class with Dynamic type.

    Hi Prasad,
    I have a similar requirement.
    Can you please share with me how did you create context node with dynamic table data?
    Thanks
    Vicky

  • IC Webclient - Creating new context node

    I am trying to add a new Myfavorites functionality in AUISearch.htm (Inbox Search View). While creating a new context node under SearchAuiItems using the Wizard the following attributes have been entered:
    Attrib. Name - FavoriteName
    BOL Entity - BTQueryAUI
    BOL Attrib - FAVNAME
    and after confirming I get a popup for entering the 'Name of the Derived Class'. When I enter a class (ZXXXX) which isnt existing I get a short dump.
    The current ABAP program "CL_BSP_WD_ENHANCEMENT_API=====CP" had to be terminated because one of the statements could not be executed. 
    My questions are:
    1. Is this the right way of creating a new context node under an existing standard view?
    2. Has anyone come across a similar short dump?

    It sounds like when it askes for a derived class, that the it wants a class that inherits from some SAP class.  I would assume that this derivied class is something you must create to handle the processing of your additional nodes.

  • Generic Java class for working with Context Nodes

    Hi,all
    I would like to write generic Java class for working with Context Nodes:
    populating node,
    add element to node,
    update node element,
    remove node element
    Any ideas how can I do it?

    Hi,Armin
    Thanks for your answer.
    I have many nodes with the same structure,but different data.
    I don't want to work with each one of them individually.
    This is the main reason.
    Regards,
    Michael
    Any ideas?

  • Read Implementation class attribute from context node

    Hello all,
    I have a global atttribute in my Implementation class. How can I access this attribute from the getter setter method of an attribute in my Context node?
    Regards,
    Debolina

    hi ,
    I discovered that we cannot access the child nodes from parent class,so instead I am using custom controllers

  • New context node doesn't appear

    Hi,
    I added a new context node using 'Create node' wizard into the ICCMP_BP_DETAIL component for the view ICCMP_BP_DETAIL/BuPaCreate for add to the BP creation the tax number information.
    When I access vía tcode BSP_WD_CMPWB to the view and go to the configuration, the node appears. But when we access to the configuration of the view via Ic Webclient the context node not appears, and it`s not possible to add the field.
    If the field is assigned vía tcode BSP_WD_CMPWB to the view, when we access vía IC Web Client to the view return a short dump.
    The GEt SET methods are also created on the new field but i can't see this field in UI config. I need to use this new field in RESULT list. I have tried using 'Assign to design layer' but it didn't work.
    What could be the problem?

    Hi David,
    You want to add one field right. if this is the case why your creating context node. instead of that create one value attribute under any context node. any how that context node is visible in config level and that field too. you can use that field in your config.
    go through the below doc in that step 1 will explain how to add value attribute under context node.
    http://scn.sap.com/docs/DOC-54345
    Thanks & Regards,
    Srinivas.

  • Read attribute of implementation class from context node

    hi experts,
    I need to access the implementation class from the context node,in component seged_tg/eltargetgroupitem. Node is targetgroupitem.
    Also if I can either access the component controller from the context node,I need to know how to instantiate the class.
    please help.
    regards
    Anu

    hi ,
    I discovered that we cannot access the child nodes from parent class,so instead I am using custom controllers

Maybe you are looking for

  • Error: File does not exist (while trying to get Petstore and demos to run)

    Hi all, I have been trying in vain to get the Petstore demo and other servlet demo HelloWorld to run. It seems to install okay cause it creates the directories and extracts the .ear or .war files. My problem is connecting to the application. When I r

  • Trouble syncing photos

    got new computer (old one crashed completely) tried to get my photos on my Itouch while syncing but it comes up with "syncing of photos blocked because cannot locate "AGING file". I did locate an AGING file with my photos on my computer. What do I do

  • Top 10 PSa table thorugh DB02 in BI 7.0

    Hi All, Is there anyway to find out Top 10 PSA by size by DB02 transaction in BI7.0. I know it can be done through old DB02(3.5X),but unable to find out in BI 7.0 I tried to find out through already posted threads,but bad luck. Any help ? regards, Ya

  • Inactive sessions  accumulate exceed the max session

    Hi All, once i checked the v$session, always find lots of inactive session.nearly after two month it will exceed the max session value in the init.ora profile. I have check the sqlnet.ora profile and the value of expire_time is 10 minuter, while not

  • V570 Bios update (Windows 8)

    Can I use this Bios update file for the v570 in Windows 8? It only lists up to Windows 7 in operating systems. http://support.lenovo.com/en_US/downloads/detail.p​age?DocID=DS027341 Also is this the correct MD5 for the Bios update: A67CD81FC9340D98C9C