cancel
Showing results for 
Search instead for 
Did you mean: 

Get URL parameters of Web Dynpro Application using Floor plan manager

Former Member
0 Kudos

Hi Experts,

I have a web dynpro component using FPM. The default window of the application is FPM_WINDOW which is an interface view of component of FPM framework. so I cannot get the URL parameters in handledefault of a normal web dynpro app which is not using FPM. How do I get URL parameters in this case through FPM? Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I guess you might have created the application under FPM_OIF_COMPONENT/FPM_GAF_COMPONENT. For that add the pramaters to the PARAMTERS tab of teh application.

Now, you can use

 data lo fpm type ref to if_fpm.
lo_fpm = cl_fpm=> get_instance( ).
  CALL METHOD lo_fpm->mo_app_parameter->get_value
    EXPORTING
      iv_key   = 'PERNR'            "Application param name
    IMPORTING
      ev_value = lv_pernr.

Regards,

Lekha.

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks! I found it by myself before getting your answer.


*** get URL parameters
  data fpm type ref to if_fpm.
  data params type ref to if_fpm_parameter.
  fpm = cl_fpm_factory=>get_instance( ).
  params = fpm->mo_app_parameter.
  if params is not initial.

    params->get_value(
      exporting
        iv_key   = 'PARAM_HERE'
     importing
        ev_value = URL_PARAM
           ).
endif