cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks

Former Member
0 Kudos

Hi Pramod,

This FPM navigation is achieved using settings made in Launchapd Customizing ( LPD_CUST ).

a) Execute Tran LPD_CUST

b) Go to Role HAP - Double Click to open it.

c) Open the second folder on the LHS menu - there you will find 2 entries

d) Click on second entry - in the entry setting you can see that it is configured for WD Application - HAP_MAIN_DOCUMENT

e) Click on button Show Advanced Parameters

f) There you will find a input box named as Window Features - here you can specify window features like

height=700,width=1100,position=center,menu=no,status=no,location=no,menubar=no,status=no,toolbar=no

save the settings come out and test ur app again.

change the height and width and other features as per ur req.

Regards

Manas Dua