
Embedded SAPUI5 App in WebClient UI
For example, you can see demo class CL_WCF_UI5_EMBED_PARAM_TEST. Implement methods as documented in SAP help link by passing the navigation information.
The navigation descriptor parameters are used for navigation to SAPUI5 App. You can also redirect the navigation actions from SAPUI5 to WebClient UI Apps by mapping it to the WebClient Target ID using parameters.
METHOD IF_UI_LINK_PARAMETER_CLASS~CREATE_PARAMETER_OBJECT.
DATA: lr_nav_object TYPE REF TO if_crm_ui_navigation_object,
lr_nav_descriptor TYPE REF TO cl_wcf_flp_nav_descriptor,
lt_parameters TYPE tihttpnvp,
lt_param TYPE ihttpnvp,
lv_application_hash TYPE string.
"Mandatory parameter
lt_param-name = 'sap-ui-app-id'.
lt_param-value = 'sap.ui.demoapps.rta.fiorielements'.
APPEND lt_param TO lt_parameters.
lv_application_hash = '#Action-toRtaFioriElementsDemoApp'.
CREATE OBJECT lr_nav_descriptor
EXPORTING
iv_navigation_object = lr_nav_object
iv_semantic_object = ''
iv_semantic_action = ''
iv_local_field_name = ''
iv_application_hash = lv_application_hash
it_parameters = lt_parameters.
rv_result ?= lr_nav_descriptor.
ENDMETHOD.
Work Center
Business Role
Assign Work Center to Navigation Bar Profile
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
7 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 | |
4 | |
4 |