After you create HANA live dashboards, you can share them with users. The link to the dashboards will then be available in the dashboard work centers of those users. However, the users have to be assigned either the Sales Professional (SALESPRO
) or the Marketing Professional (MARKETINGPRO
) business role. You use this procedure if you wish to extend this feature to other business roles.
Define generic outbound plug mappings after selecting the navigation bar profile in Customizing for Define Navigation Bar Profile
under
Choose New Entries
and enter the following information and choose Save
:
Object Type
: CRM_ANA_DB_RTC
Object Action
: Display
Target ID
: HLD_DISP
Use transaction BSP_WD_CMPWB
Enter the Component
where you would like to embed the link to the shared dashboard. For example, use WCC_SRV_HOME
if you wish to embed the link to the shared dashboard on the Home page.
Choose Display
. In the new screen, create a new inbound plug with the name DEFAULT (if an inbound plug DEFAULT
already exists, you do not have to create a new one). Save and activate the changes.
Note
No implementation is required.
Create a new outbound plug with the name GENERICLEAVE and enter this piece of code:
me->fire_outbound_plug( iv_outbound_plug = 'GENERICLEAVE' "#EC NOTEXT iv_data_collection = iv_data_collection ).
Save and activate the changes.
Choose Runtime Repository Editor
and then choose Edit
.
Under Windows
, add new inbound and outbound plugs by entering DEFAULT
as the InboundPlug
and GENERICLEAVE
as the OutboundPlug
.
Under ComponentUsages
, add component usage by entering the following details:
ID
: Dashboard (Example)
Used Component
: CRMCMP_DB_WC
Interface View
: CRMCMP_DB_WC/MainWindow
Switch Id
: CRM_EMBED_IR_ANA_UI
Save your changes.
To the newly added Interface View
(CRMCMP_DB_WC/MainWindow), enter GENERICLEAVE
as the Add Outbound Plug
. Now, choose Delegate to Window Outbound Plug
and enter GENERICLEAVE
.
Save your changes.
Under ViewSets
, select the viewset, choose Add View
. Now enter Dashboard.CRMCMP_DB_WC/MainWindow as the View
and CRM_EMBED_IR_ANA_UI as the Switch Id
.
Save your changes.
In the Configuration
tab, select the newly added view and add it to the desired visible column.
Enter a title for the view, for example, My Shared Dashboard.
Save your changes.
The newly added view will now be visible on the home page of the user with the relevant business role. Based on the examples used in the above-mentioned steps, My Shared Dashboard
view will be visible on the home page of the user with Service Professional business role.
Any dashboard shared by the Analytics Professional will now be visible under the My Shared Dashboard
view on the home page of the users with Service Professional business role.