I am creating BSP application in ERP system which is similar to integrated marketing calendar in CRM system. My problem is with binding the data with swf files. In CRM system SAP is using below logic to bind the data.
lr_property_access ?= me->typed_context->ganttdata->collection_wrapper->get_first( ).
IF lr_property_access IS NOT INITIAL.
lr_property_access->set_property( iv_attr_name = 'GANTT_ID' iv_value = 'CoreGantt' ).
lr_property_access->set_property( iv_attr_name = 'CONTEXT_MENUS_XML' iv_value = lv_contextmenu_xml ).
In ERP system i replicated upto typed_context variable. in my case ganttdata reference is always empty. Can any one help me where i need to create this reference in BSP flow to pass data into swf file.