I have a requirement to open a Customer Factsheet (component BSP_DLC_FS) in a pop-up window, when the user clicks on an icon (in a seperate component - Daily Appointments(CRMCMP_GS_WC) ).
I am using the following code:
call method COMP_CONTROLLER->WINDOW_MANAGER->CREATE_POPUP
IV_INTERFACE_VIEW_NAME = 'ZAGRI_CRMCMP_GS/factsheet'
IV_USAGE_NAME = IF_BSP_WD_WINDOW_MANAGER=>CO_OWN_WINDOW
IV_TITLE = 'factsheet'
RV_RESULT = LR_POPUP.
This code opens the popup correctly, but with nothing displayed.
How can I display the component BSP_DLC_FS in this window?
I think the key is with the IV_USAGE_NAME field, but despite many attempts to
set this up in the Runtime Repository Editor, I can't get it to work.
I created a window called 'ZAGRI_CRMCMP_GS/factsheet', but don't know how to
link this (via the Component Usage) to the required component.
Any help would be greatly appreciated.