Hello need vertical  lines in the script

Dear ABAP GURUS,
     I need to draw verticle lines in the script as a tabel, i have drawn the horizontal lines. I heard that there is the the function module to draw the verticle lines but how is that possible to use in the script. Plwase help me out in drawing the vericle lines, i Have tried using the vline but no use.

Hi Soni,
  Its very easy to draw the vertical lines in a script.  Use BOX statement to draw the same.  Check out the syntax for BOX statement.  Give the 'Y' coordinate only and do not mention 'X' coordinate.  So that the box will appear as a vertical line.  Check it.
Boxes, Lines, Shading: BOX, POSITION, SIZE
The BOX, POSITION and SIZE commands for drawing boxes, lines and shadowing can be used for specifying that within a layout set particular windows or passages of text within a window are to be output in a frame or with shadowing.
The SAP printer drivers that are based on page-oriented printers (the HP LaserJet driver HPL2, the Postscript driver POST, the Kyocera Prescribe driver PRES) employ these commands when outputting. Line printers and page-oriented printers not supported in the standard ignore these commands. The resulting printer output may be viewed in the SAPscript print previewer.
Syntax:
1. /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
2. /: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
3. /: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
BOX Command
Syntax
/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
Effect: draws a box of the specified size at the specified position.
Parameters: For each of XPOS, YPOS, WIDTH, HEIGHT and FRAME both a measurement and a unit of measurement must be specified. The INTENSITY parameter should be specified as a percentage between 0 and 100.
1. XPOS, YPOS: Upper left corner of the box, relative to the values of the POSITION command.
Default: Values specified in the POSITION command.
The following calculation is performed internally to determine the absolute output position of a box on the page:
X(abs) = XORIGIN + XPOS
Y(abs) = YORIGIN + YPOS
2. WIDTH: Width of the box. Default: WIDTH value of the SIZE command.
3. HEIGHT: Height of the box. Default: HEIGHT value of the SIZE command.
4. FRAME: Thickness of frame.
Default: 0 (no frame).
5. INTENSITY: Grayscale of box contents as % .
Default: 100 (full black)
Measurements: Decimal numbers must be specified as literal values (like ABAP numeric constants) by being enclosed in inverted commas. The period should be used as the decimal point character. See also the examples listed below.
Units of measurement: The following units of measurement may be used:
• TW (twip)
• PT (point)
• IN (inch)
• MM (millimeter)
• CM (centimeter)
• LN (line)
• CH (character).
The following conversion factors apply:
• 1 TW = 1/20 PT
• 1 PT = 1/72 IN
• 1 IN = 2.54 CM
• 1 CM = 10 MM
• 1 CH = height of a character relative to the CPI specification in the layout set header
• 1 LN = height of a line relative to the LPI specification in the layout set header
/: BOX FRAME 10 TW
Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).
/: BOX INTENSITY 10
Fills the window background with shadowing having a gray scale of 10 %.
/: BOX HEIGHT 0 TW FRAME 10 TW
Draws a horizontal line across the complete top edge of the window.
/: BOX WIDTH 0 TW FRAME 10 TW
Draws a vertical line along the complete height of the left hand edge of the window.
/: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
/: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW
/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.
POSITION Command
Syntax
/: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
Effect: Sets the origin for the coordinate system used by the XPOS and YPOS parameters of the BOX command. When a window is first started the POSITION value is set to refer to the upper left corner of the window (default setting).
Parameters: If a parameter value does not have a leading sign, then its value is interpreted as an absolute value, in other words as a value which specifies an offset from the upper left corner of the output page. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value. If one of the parameter specifications is missing, then no change is made to this parameter.
1. XORIGIN, YORIGIN: Origin of the coordinate system.
2. WINDOW: Sets the values for the left and upper edges to be the same of those of the current window (default setting).
3. PAGE: Sets the values for the left and upper edges to be the same of those of the current output page (XORIGIN = 0 cm, YORIGIN = 0 cm).
/: POSITION WINDOW
Sets the origin for the coordinate system to the upper left corner of the window.
/: POSITION XORIGIN 2 CM YORIGIN '2.5 CM'
Sets the origin for the coordinate system to a point 2 cm from the left edge and 2.5 cm from the upper edge of the output page.
/: POSITION XORIGIN '-1.5' CM YORIGIN -1 CM
Shifts the origin for the coordinates 1.5 cm to the left and 1 cm up.
SIZE Command
Syntax
/: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
Effect: Sets the values of the WIDTH and HEIGHT parameters used in the BOX command. When a window is first started the SIZE value is set to the same values as the window itself (default setting).
Parameters: If one of the parameter specifications is missing, then no change is made to the current value of this parameter. If a parameter value does not have a leading sign, then its value is interpreted as an absolute value. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value.
1. WIDTH, HEIGHT: Dimensions of the rectangle or line.
2. WINDOW: Sets the values for the width and height to the values of the current window (default setting).
3. PAGE: Sets the values for the width and height to the values of the current output page.
/: SIZE WINDOW
Sets WIDTH and HEIGHT to the current window dimensions.
/: SIZE WIDTH '3.5' CM HEIGHT '7.6' CM
Sets WIDTH to 3.5 cm and HEIGHT to 7.6 cm.
/: POSITION WINDOW
/: POSITION XORIGIN -20 TW YORIGIN -20 TW
/: SIZE WIDTH +40 TW HEIGHT +40 TW
/: BOX FRAME 10 TW
A frame is added to the current window. The edges of the frame extend beyond the edges of the window itself, so as to avoid obscuring the leading and trailing text characters.
Thanks & regards
Kishore Kumar Maram

Similar Messages

  • Hello' I am having an issue with my iPhone 5 display. 2 days before i've noticed some horizontal and vertical lines on the display. Minor but noticeable. Specially in dark wallpapers and on full brightness. Is it normal?? Please Help!!!

    Hello' I am having an issue with my iPhone 5 display. 2 days before i've noticed some horizontal and vertical lines on the display. Minor but noticeable. Specially in dark wallpapers and on full brightness. Is it normal?? Is this a software bug or Hardware problem?? Please Help!!!

    Hello,
    No, it is not normal. Follow this article:
    http://support.apple.com/kb/ht1414
    If this doesnt solve the issue your iPhone will need service.
    Burcu

  • So, I dropped my phone today on the cement, it works...with minor annoying glitches, has nasty bluish vertical lines and the picture is a tad distorted as well. :/ Does this mean I need to spend tons of money to get this fixed? Ahhhh! Help!

    So, I dropped my phone today on the cement, it works...with minor annoying glitches, has nasty bluish vertical lines and the picture is a tad distorted as well. :/ Does this mean I need to spend tons of money to get this fixed? Ahhhh! Help!

    Hi Rahhh829, 
    Welcome to the Apple Support Communities!
    It sounds like you may want to get your iPhone evaluated for repair. Please review the following web link for information on the iPhone repair pricing and process. 
    iPhone Repair and Service - Apple Support
    Regards, 
    Joe

  • I have a IMac - Mac OSX version 10.4 and présently i see only verticals lines on my dashboard and my mouse still mouving but with a little square with vertical lines at the right. This appen when i was talking with a friend on Skype. I need help to unlook

    I have a IMac - Mac OSX version 10.4 and présently i see only verticals lines on my desktop and my mouse, i mean the arrow and still mouving but with a little square with vertical lines at the right. This appened when i was talking with a friend on Skype, by error i did click on the video and slowly the vertical lines appeared and covered all ma desktop. Since then, it still there and the only things i see it is the vertical lines and the arrow with the little square.
    How can i fix this problem ?
    En français: j'ai un IMac - Mac OSX version 10.4 et présentement je vois seulement des lignes verticales sur mon bureau et ma souris c'est-à-dire la flèche, bouge mais il y a un petit carré avec aussi des lignes verticales à sa droite. Je pense que ce bug est survenu lorsque j'étais sur Skype avec une amie et que par erreur j'ai cliqué sur l'image de la vidéo et peu à peu les lignes sont appurues et tout l'écran est envahie par ces lignes.
    Comment corriger le problème ? Merci à l'avance.
    Réjeanne Blouin

    Hello, sounds like Video card  and/or heat problems.
    Have you blown the dust out lately? Let it cool for an hour or so.
    Get Temperature Monitor to see if it's heat related...
    http://www.macupdate.com/info.php/id/12381/temperature-monitor
    iStat Menus...
    http://bjango.com/mac/istatmenus/
    And/or iStat Pro...
    http://www.islayer.com/apps/istatpro/
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for problem in Safe Mode...
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
    Reboot, test again.
    If it only does it in Regular Boot, then it could be some hardware problem like Video card, (Quartz is turned off in Safe Mode).

  • Why are there 2 thin red vertical lines on the screen of my MBP 15" retina which is only 2 months old!

    I would just like to understand why there a two thin red vertical lines on the screen
    I suspect I need to bring into an apple store for diagnostics but is anyone aware of the likely cause?
    thanks v much!

    It could be a GPU issue, a display issue or a display connection issue.  The genius bar technician will offer you a definitive answer and should fix it under the warranty provisions.
    Ciao.

  • I have a red vertical line on the right side of my screen and it will not go away tried restarting my computer and that didn't help at all, please help me with this problem it is kind of annoying

    I have a red vertical line on the right side of my screen and it will not go away tried restarting my computer and that didn't help at all, please help me with this problem it is kind of annoying

    If it's a thin 1 pixel wide vertical line it's highly likely it could be caused by a defective LCD.
    One quick basic way to check is to note the position of the line. Then go to System Preferences, Displays, and lower the resolution. If ther line moves it's on the video and the logic board or video card if fitted is likely to be defective. If the line stays in the same position it's likely to be an LCD fault. Either way to have it repaired you'll need to visit an Apple store or AASP.
    The worst offender for this problem is the Late 2006 17" iMac. FOC replacement of the LCD used to be covered by a quality program, but it's now ended.
    Steve

  • I have a white vertical line down the right side of my internal brand new macbook pro 13" display

    I have a white vertical line down the right side of my internal brand new macbook pro 13" display. I've done the following:
    -Shutdown the computer, and restarted in Safe Mode by pressing the Shift key after the restart tone
    -Shutdown the computer, and restarted by pressing Command, Option, P & R after the restart tone
    -Checked display resolution, Best for Retina
    -Hooked it up to a Dell external monitor and via projection to screen. There are no lines on the external or secondary screens
    -Just curious, I ran a color utility which can not repair 4 items, maybe this is another issue.
    This is a brand new Macbook Pro, just out of the box. It was fine for two days without any issues, fine last night while in use, opened it up this morning with the line.
    Anyone now how I can fix this on my own?
    Details atta
    <Edited by Host>

    If you are within the first 14 days from the date of purchase, return the MBP for a refund or an exchange.  If you are after the first 14 days of the date of purchase, have the MBP repaired under the warranty provisions.
    Ciao.

  • When I print a picture and send it to my HP e-mail address I get vertical lines in the picture?

    I would like to know how to get rid of the vertical lines in the pictures when I send a picture to my HP e-mail address that came with my new printer also I seen in the HP E printer settings that there is no 4/6 option to select
    the 5510 Smart printer that I have I was disappointed to find out that the fandango app is not compatible with this printer
    and I was wondering when it would be available for my printer.
    how to fix that problem with the E print feature on my printer.
    thank you for any assistance that you could give me
    This question was solved.
    View Solution.

    Hi Shiba,
    I understand that your printer is not printing picures as expected.  I know you stated that you had tried troubleshooting steps above.  Where you able to take a look at this document?  Are you printing from a mobile device or computer?
    Hope this helps.
    **If you find this helpful or want to say thanks make sure to click the white star under my name to give me Kudos. **

  • I inadvertantly dropped my iphone 3 and now have a white screen with green vertical lines to the right.  It won't sync with itunes due to an error. What can I do?

    I inadvertantly dropped my iphone 3 and now have a white screen with green vertical lines to the right of the screen.  It won't sync with itunes due to an error. What can I do?

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved.
    If it does not resolve the issue, the device is permanently damaged and will require replacement.

  • I am trying to create a PDF document that calculates Gains and Losses in Mutual Funds. The calculation scripts are repetitive from line to line. The scripts work well until I reach the line 32. Script stops calculating...

    I am trying to create a PDF document that calculates Gains and Losses in Mutual Funds. The calculation scripts are repetitive from line to line. The scripts work well until I reach the line 32. Although I am using the same script as the fields above in the columm, the script eventually stops calculating and I can't figure out why. Is there a limit of how many calculation scripts you can enter? I will attempt to attach my pdf as soon as I figure out how. Thanks.

    For e31 :
    var e30 = +getField("e30").value ;
    var c31 = +getField("c31").value ;
    if ( (e30 !== 0) && (c31 !== 0) ) event.value = e30 + c31 ;
    else event.value = "";
    for e32 :
    var e31 = +getField("e31").value ;
    var c32 = +getField("c32").value ;
    if ( (e31 !== 0) && (c32 !== 0) ) event.value = e31 + c32 ;
    else event.value = "";
    for e33 :
    var e32 = +getField("e32").value ;
    var c33 = +getField("c33").value ;
    if ( (e32 !== 0) && (c33 !== 0) ) event.value = e32 + c33 ;
    else event.value = "";
    Java console doesn't show any error... That's why I am wondering if it's not a limitation issue... or memory issue, because they are maybe too many rows or something....
    The c value is not calculated.

  • T400s vertical line down the screen - outside of warranty

    Hi
    I've had a T400s for just a 2 bit over 2 years now and was always happy with it. I used it mostly with my docking station and have never travelled with it. Now out of the blue one day half the screen was black with a few pixel problems right in the middle with a clear vertical line down the screen. I was perplexed because I was sure no damage whatsoever happened to the notebook.
    I googled and it seems to be a common problem:
    A link among others:
    "We have about 1200 T400s systems deployed and there has been a higher than normal failure rate with them compared to X301 and T61 systems. Our issues are LCD failure with a vertical line down the screen (very common), Speaker/Audio issues, and DoA systems."
    http://forum.thinkpads.com/viewtopic.php?f=45&t=89​101
    The problem seems to be known:
    http://support.lenovo.com/en_US/detail.page?Legacy​DocID=MIGR-76367
    But since the notebook is outside of warranty but it's obviously a manufacturing problem on a (very) expensive notebook, how could I approach Lenovo service center to repair it for me? I have shelled out well over 2'500 Euro for the latest model back then and am a bit disappointed to be honest..
    Thanks for any advice on how to approach this!
    Simon

    lead_org wrote:
    @tripplec, i don't understand how a Chinese company affects the outcome of the OP's problem? Would IBM do it differently?
    Yes, I spent 3 years at a Toronto Bank who bought say 500 systems or so plus notebooks. ThinkPad's and Think Center product. I supported did the warranty work while there. When the warranty was up it was up!! Even if a  lowly optical mouse fail and a number of them did. Too bad nor replacement.
    I've delt with IBM, Compaq and HP. There customer relations is entirely at at different level and would and did on  may occasions provide one time post warranty repair even for catestophic issues well after warranty was over. This is a case by case basis. You could reach them and talk to them (locally) and not haveway around the world having no sense of what significance your case it.
    There is a difference as was the turn around time  48hrs max and not weeks.
    T520 Model 4239 Intel(R) Core(TM) i7-2860QM CPU @ 2.50GHz
    Intel Sandy Bridge & Nvidia NVS 4200M graphics Intel N 6300 Wi-Fi adapter
    Windows 7 Home Prem - 64bit w/8GB DDR3

  • Why would I get a bright green vertical line down the center of my screen after playing a game?

    Why would I get a bright green vertical line down the middle of my screen after playing a game?

    Hi @DustMidnight85 
    Welcome to the HP Forums!
    It is a wonderful  place to find answers and  information!
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    I grasp that you are having an issue with the display but if you adjust the position of the display it disappears.
    Here is a link to Display Quality Issues that may help.
    As you stated it goes away when you reposition the display the connection cable may have become  loose or damaged from opening and closing the display.
    Here is a link to the  HP Pavilion 14 Notebook PC, HP Pavilion 14 Touchsmart Notebook PC, HP Pavilion 14 Touchsmart Ultrabo.... Chapter 4 page 36 has removal instructions that may assist you in checking for that problem.
    If your notebook is in warranty or you would like help please contact HP support for assistance.
    Please call our technical support at 800 474 6836. If you live outside the US/Canada Region, please click the link below to get a support number for your region.
    World Wide Phone Support
    Best of Luck!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • I experience strange vertical lines over the text

    I experience strange vertical lines over the text. i belive it started when i updated my firefox to it's latest version
    i tried synchronizing me clear view, but it didn't help

    it's not the display driver. it's firefox. only happens in this program and only started after F4 and doesn't happen all the time. it's a bug.

  • My macbook pro keeps freezing with vertical lines on the screen

    I have a 2010 macbook pro that has worked wonderfully until now.  As of late it keeps freezing with vertical lines across the screen.  To me this indicates a hardware problem, but I ran a diagnostic (restarted while holding D) and it didn't find any errors.  It seems that it happens when I move or bump my macbook, leading me to think it may possibly be a disk problem, but I'm not sure how to check this.  Anybody else ever have this problem or could suggest a fix for it?

    You can try a pram reset, which might help with the display, but the bumoing thing is what concerns me.
    PRAM reset:
    Power down, power back up and hold the following keys before the start up chime.
    option, command, P, R,(no commas) continue to hold these keys till you hear the start up chime 2 times then release.
    Reboot see if this helps, the bumping part scares me.
    Hope this helps

  • Macbook Pro Retina 13" late 2013 My screen has developed vertical lines down the left hand side and they are multiplying

    Macbook Pro Retina 13"late 2013   2.4GHz Intel Core i5  8 GB 1600 MHz  DDR3  Intel Iris 1536MB  251 GB Flash.
    My screen has developed vertical lines down the left hand side yesterdays photo there is more today.

    You'd better make Genius Bar appointment to show them the problem.

Maybe you are looking for