cancel
Showing results for 
Search instead for 
Did you mean: 

Use "you can also" dynamically in FPM

Former Member
0 Kudos

Hi,

How do i implement "You can also " functionality using FPM dynamically.

The code snippet or any calss for reference will be helpful.

Thanks & regards,

Ronita

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Ronita,

You can use the interface, IF_FPM_NAVIGATE_TO to achieve any navigation feature dynamically. Though I have not used it myself, I'm sure this will solve your purpose.

Regards

Rohan

Former Member
0 Kudos

Hi,

create an attribute in component controller level mo_cnr_oif type ref to if_fpm_cnr_oif.

Get the reference to this mo_cnr_oif using following code.

wd_this->mo_cnr_oif ?= cl_fpm_service_manager=>get_service( cl_fpm_service_manager=>gc_key_cnr_oif ).

wd_this->mo_cnr_oif->DEFINE_YOU_CAN_ALSO.

pass the required parameters for this method.

Better you implement this part of coding in override_event method of component controller.

For reference see this example

FPM_TEST_DYNAMIC_CNR_OIF->DEFINE_MENUBAR METHOD