Skip to Content
0
Former Member
Jul 17, 2008 at 03:26 PM

Cross Component Data Transfer

29 Views

Hi,

I want to display the dates view in the interaction record in IC WEB CLIENT. For this I have uesd the component ICCMP_BT_INR , in which i had defined the component usage for component BTDATES , interface view BTDATES/MAINWINDOW . I am adding this view in the view set " InrNoteViewSet" in runtime repository and also defined the navigation link for the same . Then i had enhanced the component controller of ICCMP_BT_INR and added the following code

WHEN 'InrDates'. "#EC NOTEXT

TRY.

CALL METHOD iv_usage->bind_context_node

EXPORTING

iv_controller_type = cl_bsp_wd_controller=>co_type_custom

iv_name = 'ZICCMP_BT_INR/DateCuCo'

iv_target_node_name = 'BTDATE'

iv_node_2_bind = 'BTDATE'.

where InrDate is the name of the component usage.

Now when i am launching the IC WebClient , and click on the date link which is coming besides the note link , it is ging the following error

 

Cannot display view BTDATES/Dates

An exception has occurred Exception Class CX_SY_REF_IS_INITIAL - Dereferencing of the NULL reference

Method: CL_BTDATES_DATES0_IMPL=>DO_PREPARE_OUTPUT

Source Text Row: 32

.

Please let me know what could be the problem or do i have to do any other binding

Please help me

Manish

Edited by: Manish Mittal on Jul 17, 2008 5:58 PM