cancel
Showing results for 
Search instead for 
Did you mean: 

Navigation from FPM_OVP_COMPONENT doesnt work?

Former Member
0 Kudos

Hello guros and simple sap people!

I am trying to add navigation in a standard SAP component configuration HRESS_CC_CORRECTION that uses FPM_OVP_COMPONENT.

i added a button and assigned it to an event.

now from there im trying to navigate to another application.

I added post-exit modification on PROCCESS_EVENT in the component controller of the application in question (hress_c_corrections) and tried using both IF_FPM_NAVIGATION (using launchpad) and if_fpm_navigate_To api but both dont result in anything.

please note that i tried adding the same configuration to a OIF component i made on my own and this worked perfectly.

what could i be missing?

thanks alo!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Eli Eren,

Please try this...this will definitly work......

Data : 

lo_fpm                     TYPE REF TO   if_fpm,

lo_fpm_navigate            TYPE REF TO   IF_FPM_NAVIGATE_TO,

**-- Logic to open new webdynpro abap application in external window

      lo_fpm ?= cl_fpm_factory=>GET_INSTANCE( ).

      lo_fpm->GET_NAVIGATE_TO(

        exporting

          IV_INSTANCE_SHARING          = ABAP_TRUE    " Allows instance sharing (singleton)

          IV_OBN_USE_USER_SET_OF_ROLES = ABAP_FALSE    " Set the resolving mode to USER_SET_OF_ROLES

        receiving

          RO_NAVIGATE_TO               = lo_fpm_navigate  " Navigation API without Launchpad customizing

      ).

lo_fpm_navigate->LAUNCH_WEBDYNPRO_ABAP(

        exporting

          IS_WEBDYNPRO_FIELDS      = ls_launch_webdynpro    " Fields to launch a WebDynpro Java application

          IS_ADDITIONAL_PARAMETERS = ls_wd_param

*        importing

*          ET_MESSAGES              =     " Messages

*          EV_ERROR                 =     " Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')

      ).

Note : Please fill all the necessary parameter of lanuch_webdynpr_abap.

Thanks & Regards

PraveenGupta

Former Member
0 Kudos

hello,

thank you for trying to help.

i've stated already that the same navigation works in FPM_OIF .

and i've obviously used LAUNCH_WEBDYNPRO_ABAP method in this navigation.

the same command, the same navigation, simply doesnt work for me in the OVP.

Eli.