cancel
Showing results for 
Search instead for 
Did you mean: 

Custom WDA/WDJ application in FPM WDA ESS

Former Member
0 Kudos

Hi All,

We are currently implementing ESS in Ehp5. Hence, we are using FPM for WDA.

We already have some custom WDJ/WDA applications developed for ESS. We would like to embedd/call through hyperlink these applications in FPM.

eg. In the Personal profile application, I would like to navigate to my custom application when i click on a bizcard/link .

Please let me know if this is possible.

Thanks,

Pris.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The issue is resolved. I created a custom WDA application containing the link .Then i created a UIBB element with the configuration of this custom WDA and then embedded the UIBB block in the personal information application.

Thanks,

Pris.

Answers (1)

Answers (1)

ashish_shah
Contributor
0 Kudos

Hi,

You will need to use FPM Navigation.

Create a link to action UI Element in personal profile application.

On Click of a link , write this code:

CONSTANTS : c_zcust_app  TYPE string VALUE 'ZCust_Application'. "This will be name of your custom application
 
DATA appl_name                TYPE wdy_application_name.
 
DATA o2applname               TYPE o2applname.
 
DATA namespace                TYPE string.
 
DATA mod_applname             TYPE string.
 
DATA absolute_url             TYPE string.
 
DATA lo_fpm                   TYPE REF TO if_fpm.
 
DATA lo_fpm_navigate_to       TYPE REF TO if_fpm_navigate_to.
  DATA:is_url_fields           
TYPE fpm_s_launch_url,
       lt_messages             
TYPE fpm_t_t100_messages,
       ls_messages             
LIKE LINE OF lt_messages,
       lf_error                
TYPE boole_d.

  o2applname = c_zerzcust_app.

 
CALL METHOD cl_o2_helper=>split_applname
   
EXPORTING
      p_applname     = o2applname
   
IMPORTING
      p_namespace    = namespace
      p_mod_applname = mod_applname.

 
CALL METHOD cl_wd_utilities=>construct_wd_url
   
EXPORTING
      application_name = mod_applname
      namespace        = namespace
   
IMPORTING
      out_absolute_url = absolute_url.

  lo_fpm = cl_fpm_factory=>get_instance( ).
  lo_fpm_navigate_to = lo_fpm->get_navigate_to( ).
  is_url_fields-header_text =
'Call Bisnuss card Application'.
  is_url_fields-url = absolute_url.

 
CALL METHOD lo_fpm_navigate_to->launch_url   "WEBDYNPRO_ABAP
   
EXPORTING
      is_url_fields       = is_url_fields
   
IMPORTING
      et_messages         = lt_messages
      ev_error            = lf_error.

Regards,

Ashish Shah