Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

XY position

Former Member
0 Likes
1,121

Hi,

I have to put text in x y position.

For example I do write: 'x'.

but I want that it should be on X=20 and y=45 position on selection screen.

Regards,

Greg.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,004

Hi,

Check out thtis,

SELECTION-SCREEN COMMENT [/][pos](len)

{text|{[text] FOR FIELD sel}}

[VISIBLE LENGTH vlen]

[MODIF ID modid]

[ldb_additions].

Reward if useful1

Hi,

I have to put text in x y position.

For example I do write: 'x'.

but I want that it should be on X=20 and y=45 position on selection screen.

Regards,

Greg.

6 REPLIES 6
Read only

Former Member
0 Likes
1,004

Hi

I think You can only move the X position of the field on selection screen like

selection-screen begin of line.

parameters p_dens type c radiobutton group cust.

selection-screen comment<b> 3</b>(20) text-007 for field p_dens.

selection-screen end of line.

here the description starts from 3 rd character

if you change it to 5(15) it starts from 5th char

Reward points for useful Answers

Regards

Anji

Read only

Former Member
0 Likes
1,004

There is no such graphical system in SAP.

and for that matter you can not use write statement for selection screen.

You define selection screen by parameters and select options, radio buttons etc.

these variables comes one after one.

you can define the y position but no x position as such.

Read only

Former Member
0 Likes
1,005

Hi,

Check out thtis,

SELECTION-SCREEN COMMENT [/][pos](len)

{text|{[text] FOR FIELD sel}}

[VISIBLE LENGTH vlen]

[MODIF ID modid]

[ldb_additions].

Reward if useful1

Read only

Former Member
0 Likes
1,004

HI,

TRY THIS WAY

SKIP 20.

WRITE : /20 'HI'.

Read only

Former Member
0 Likes
1,004

hi,

try like this,

sy-curow = 45.

SY-CUCOL = 45.

write:/ x.

writes the value of x in 45th row and in 45th column.

if useful reward some points.

with regards,

Suresh.A

Read only

Former Member
0 Likes
1,004

Thnks for all,

now I have to I have to simulate moving text but after

pressing for example enter and after short delay

in selection screen.

Any ideas ? 😕

Regards,

Greg.