Hi,
In BT108H_LEA component, I want to add the assignment block of Planned Activites like we have in Opportunity screen. Planned activities is part of BTDOCFLOW. To achieve this, I did the following steps;
1- Created a Component Usage of BTDOCFLOW in BT108H_LEA.
2- Created Plugs
3- Added main window view to view set
4- In WD_USAGE_INITIALIZE method, written the following code
method WD_USAGE_INITIALIZE.
CALL METHOD SUPER->WD_USAGE_INITIALIZE
EXPORTING
IV_USAGE = IV_USAGE.
if iv_usage->usage_name EQ 'CUBTDocFlow_PA'.
iv_usage->bind_context_node( iv_controller_type = cl_bsp_wd_controller=>co_type_component
iv_target_node_name = 'BTADMINH'
iv_node_2_bind = 'PARENTNODE' ).
ENDIF.
endmethod.
5- Added the assignment block from available to displayed in configuration
Now when I open the Lead in Web UI, I can see the newly created assignment block, but it does not contain the activities data. I have created couple of activites for this lead which are coming in transcation history assignment block, but not in the one which I have created.
Could you please advise me if I am missing any step. Attached is the screenshot of Lead in Web UI.