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

lines on main window

Former Member
0 Likes
632

posnr matnr description quantity unit price amount

10 ch-1000 sap 10.0 25 250

20 ch-100 sap 1 30 30

this is my main window i need to draw lines in format as below

-


posnr matnr description quantity unit price amount

-


10 ch-1000 sap 10.0 25 250

20 ch-100 sap 1 30 30

-


..

how can we acheive this

posnr matnr description quantity unit price amount

10 ch-1000 sap 10.0 25 250

20 ch-100 sap 1 30 30

this is my main window i need to draw lines in format as below

-


posnr matnr description quantity unit price amount

-


10 ch-1000 sap 10.0 25 250

20 ch-100 sap 1 30 30

-


..

how can we acheive this

3 REPLIES 3
Read only

rainer_hbenthal
Active Contributor
0 Likes
610

use uline in your wrtie statement

Read only

Former Member
0 Likes
610

Hi,


ULINE /(40).
WRITE :/ sy-vline,
         (18) 'Material',
         20 sy-vline,
         (10) 'Quantity' ,
         40 sy-vline.
ULINE /(40).

LOOP AT itab.
  WRITE :/ sy-vline,
     2  itab-matnr CENTERED,
     20 sy-vline,
     21 itab-menge DECIMALS 0,
     40 sy-vline.
ENDLOOP.
ULINE /(40).

Read only

Former Member
0 Likes
610

Hi..

Try this code.

/:BOX WIDTH '17.5' CM HEIGHT 2 MM FRAME 10 TW INTENSITY 15

*posnr matnr description quantity unit price amount

/:BOX WIDTH '17.5' CM HEIGHT 2 MM FRAME 10 TW INTENSITY 15

***Your Datas

/:BOX WIDTH '17.5' CM HEIGHT 2 MM FRAME 10 TW INTENSITY 15

Regards

Bala..