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

SAP Script -Inserting line

Former Member
0 Likes
593

Hi Group,

I want to insert a horizontal line in the exactly middle of the window,I inserted the BOX command in the text editor,but its not working ,can any body suggest me

5 REPLIES 5
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
560

Try this code....



 /:   POSITION PAGE                                                
 /:   POSITION XORIGIN '2.0' CH YORIGIN '35' LN                  
 /:   SIZE WIDTH '75.2' CH HEIGHT '0' LN                           
 /:   BOX FRAME 10 TW                                                                                

Regards,

Rich Heilman

Read only

Former Member
0 Likes
560

Hi Rich Heilman ,

I have included your given code,and after that I activated the script but it is not showing line in

the Layout,can you please suggest

Read only

0 Likes
560

Hi,

Try this ...

/: BOX HEIGHT xx TW FRAME 10 TW

xx-->give half the values of total height of the window.

Read only

0 Likes
560

HI Phani,

Sorry I am new to SAP script ,after inserting this code I saved and activated the form but it is not showing the

line in my layout window,can you please suggest

Read only

0 Likes
560

Hi,

Just try this code..

/: BOX YPOS <'22'> LN HEIGHT 0 TW FRAME 10 TW

< >----> The value here should be exactly half of the total height of the window.& also the units...I used LN(Line),use what ever you used for your window.