Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Re: Adding attachment block from the standard | collection is not filled

$
0
0

Hi Daniel,

You need bind your custom component controller Context nodes from GS_CM using component controller class CL_GS_CM_BSPWDCOMPONENT_IMPL (Enhance it) method WD_USAGE_INITIALIZE for your component usage . Check this method you will get some idea.

 

    WHEN 'CMTemplCmp'.

      CALL METHOD iv_usage->bind_context_node

        EXPORTING

          iv_controller_type  = cl_bsp_wd_controller=>co_type_component

          iv_name             = iv_usage->usage_name  "Component Usage Name

          iv_target_node_name = 'CMBUSOBJ'            "Name of Node in this CompController

          iv_node_2_bind      = 'CMBO'.               "Name of Node in used component CRM_OI_TEMPL_RT

      CALL METHOD iv_usage->bind_context_node

        EXPORTING

          iv_controller_type  = cl_bsp_wd_controller=>co_type_component

          iv_name             = iv_usage->usage_name  "Component Usage Name

          iv_target_node_name = 'WSBO'                "Name of Node in this CompController

          iv_node_2_bind      = 'WSBO'.               "Name of Node in used component CRM_OI_TEMPL_RT

      CALL METHOD iv_usage->bind_context_node

        EXPORTING

          iv_controller_type  = cl_bsp_wd_controller=>co_type_component

          iv_name             = iv_usage->usage_name  "Component Usage Name

          iv_target_node_name = 'ATTRIBUTES'          "Name of Node in this CompController

          iv_node_2_bind      = 'ATTRIBUTES'.         "Name of Node in used component CRM_OI_TEMPL_RT

 

Regards,

Deepika C.


Viewing all articles
Browse latest Browse all 7775

Trending Articles