cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the position of Pop up Window?

former_member645692
Participant
0 Kudos

Hi All,

i have a small requirement.

i want to change the position of a pop up window. Though i have used SET_WINDOW_POSITION method its not changing.

i have passed the constant CO_CENTRE into the position parameter of the method SET_WINDOW_POSITION,still it is not working

Please help me in this.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

i think you are trying to position your pop up window in center of the screen .

so for this follow this thread

it may help you

regards,

anand

former_member645692
Participant
0 Kudos

Hi Anand,

i am using CREATE_WINDOW method in that there is no parameter as WINDOW_POSITION.

i didn find any solution in that thread.

Please suggest some other solution

Former Member
0 Kudos

hello ,

refer to SAP online help :

http://help.sap.com/saphelp_nwmobile71/helpdata/en/47/b9487601602fe2e10000000a42189d/content.htm

It is not yet possible to change the size or position of a dialog box in the program code.

The following methods therefore do not have any effect:

IF_WD_WINDOW~SET_WINDOW_POSITION

IF_WD_WINDOW~SET_WINDOW_POSITION_CONTROL

IF_WD_WINDOW~SET_WINDOW_SIZE

Aside from this, the following parameters of the IF_WD_WINDOW_MANAGER~CREATE_POPUP_TO_CONFIRM method also do not have any effect:

WINDOW_LEFT_POSITION

WINDOW_TOP_POSITION

WINDOW_POSITION

WINDOW_WIDTH

WINDOW_HEIGHT

Also refer to thomas' reply in the thread , I pointed earlier.

rgds,

amit

Former Member
0 Kudos

Hi

set_window_position method doesn,t work properly.

refer [sap note 1003826|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_wd/~form/handler]

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

refer the thread :