Skip to Content
0
Former Member
Mar 02, 2011 at 04:21 PM

Requirement to open FACTSHEET in pop-up window

17 Views

Hi there,

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

EXPORTING

IV_INTERFACE_VIEW_NAME = 'ZAGRI_CRMCMP_GS/factsheet'

IV_USAGE_NAME = IF_BSP_WD_WINDOW_MANAGER=>CO_OWN_WINDOW

IV_TITLE = 'factsheet'

RECEIVING

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.

Thanks,

David.