Skip to Content
0
Former Member
Mar 10, 2010 at 11:26 PM

How to open a window in full screen mode using lf_fpm_navigation?

523 Views

Hi Guys

For the following applications

ESS Application: HAP_START_PAGE_POWL_UI_ESS

MSS Application: HAP_START_PAGE_POWL_UI_MSS

When the user clicks on the appraisal document name, a seperate window(not full screen) is generated to display the Appraisal docuemnt.

The code is as follows:

COMP: HAP_START_PAGE_POWL_UI

Object : COMPONENTCONTROLLER

Method: FOLLOWUP_POWL

  • Generate the URL to be called.

CALL METHOD cl_wd_utilities=>construct_wd_url

EXPORTING

application_name = 'HAP_MAIN_DOCUMENT'

in_parameters = lt_parameters

IMPORTING

out_local_url = l_url.

wd_this->url = l_url.

wd_this->display_document( ).

In Method: DISPLAY_DOCUMENT

lv_alias = 'EMPLOYEE_DOCUMENT_UI_OBN'.

use FPM navigation

ls_nav_key-key1 = 'HAP'.

ls_nav_key-key2 = 'HAP_GENERIC_UI'.

lr_fpm_navigation ?= lr_fpm->get_navigation( is_key = ls_nav_key iv_instance_sharing = abap_false ).

CALL METHOD lr_fpm_navigation->get_key_from_alias

EXPORTING

iv_alias = lv_alias

RECEIVING

rv_key = lv_key.

lr_fpm_navigation->modify_parameters(

EXPORTING

id_target_key = lv_key

it_application_parameter = lt_appl_param

it_business_parameter = lt_business_param ).

lr_fpm_navigation->navigate( lv_key ).

Any idea how to open this window in full screen?

Highly appreciate your help.

Thank and Regards

Pramod