on 12-08-2006 4:52 PM
Hello Friends,
I have created a number of boxes using vertical and horizontal lines . Now How do i position texts exactly in the box where it needs to be ? I know there tabs but how do i position the y axis . Say i want some texts to enter in the first line of the boxes and then on the second line . Can you tell me how do i position them ?
THANKS ,
Hari
Hi Hari,
Yes, You can position in text in boxes with the help of POSITION command only.
You can position texts in scripts using only with the help of POSITION statement or by creating tabs in a paragraph format.
Thanks,
Vinay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here it is
<b>1) You can use WRITE AT</b>
<b>REPORT zkb_test2.
WRITE AT 20(10) 'Welcome'.</b>
<b>2) Same using WRITE</b>
I am displaying hard coded text in box using WRITE + data selected using queries.
REPORT zkb_test2 LINE-SIZE 50.
DATA: i_scarr TYPE TABLE OF scarr,
w_scarr TYPE scarr.
START-OF-SELECTION.
SELECT * FROM scarr INTO TABLE i_scarr.
<b> WRITE: /1 sy-vline , 3 'Cnt', 7 sy-vline, 9 'Id',
13 sy-vline, 15 'Carrier Name', 40 sy-vline , 42 'Currency', 50 sy-vline.</b>
uline.
LOOP AT i_scarr INTO w_scarr .
<b> WRITE: /1 sy-vline , 3 w_scarr-mandt, 7 sy-vline, 9 w_scarr-carrid,
13 sy-vline, 15 w_scarr-carrname, 40 sy-vline , 42 w_scarr-currcode, 50 sy-vline.</b> ULINE.
ENDLOOP.
Regards
Kathirvel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Youc can specify the position in the write statement,
REPORT zkb_test2.
DATA: i_scarr TYPE TABLE OF scarr,
w_scarr TYPE scarr.
START-OF-SELECTION.
SELECT * FROM scarr INTO TABLE i_scarr.
ULINE.
LOOP AT i_scarr INTO w_scarr .
<b> WRITE: /1 sy-vline , 3 w_scarr-carrid, 6 sy-vline.</b>
ULINE.
ENDLOOP.
Regards
Kathirvel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.