Under line in Sap Script

Hi Experts,
can body let me know how can we underline for word or sentence in sap script out put?
Regards

hi,
for undeline u can do it two ways.
    1. create a  character format and enable underline option and use it where u require
                          or
    2. u can use keyword ULINE in coding part of script as
/: ULINE
IF HELPFUL REWARD SOME POINTS.
WITH REGARDS,
SURESH ALURI.

Similar Messages

  • How to delete a line in SAP Script

    Hi,
         How to delete a line in SAP Script.
    Cheers
    S Kumar

    Okay.if still you are looking the option of deleting line there is one solution.
    Just delete the all contents of perticuler(which needs to deleted) line including the tag column(Where you are /*) and save.if you see again than line would not be seen as blank,you will found it has been deleted.

  • Print data at new line in SAP Scripts

    Hi,
    Is there any way that i can print data at new line in sap scripts. I am looping my data and its printing in the same line but i need to print it at new line. Is there any formating options or any command to do that.
    Thanks

    Than you must take all the values from the internal table into the different variables and than print them.
    In program:
    READ TABLE ITAB INTO WA_TAB INDEX 1.
    IF SY-SUBRC = 0.
      VAR1 = WA_TAB-FIELD1.
    ENDIF.
    * read all the lines and fill the VAR variables
    In SAPScript:
    /E LINE_VAR
    /P &VAR1&
    /P &VAR2&
    /P &VAR3&
    /P &VAR4&
    Regards,
    Naimesh Patel

  • I  want to write data in 10th line or 20th line in sap scripts

    i  want to write data in 10th line or 20th line in sap scripts,how can write it

    Give 10 line feeds in your Paragraph Formats
    then write your Data there &DATA1&
    again give 10 line feeds and write your data2 there
    Reward Points if helpful .
    Regards,
    Ismail

  • Dotted vertical line in sap script

    Hi all,
      Can anyone help me drawing dotted vertical line in sap script?
    Thanks in advance.
    bipen

    hi,
    u can use
    for a horizontal line---
    &ULINE(71)&
    for a vertical line---
    &vline&
    regards,
    krishna

  • Get no. of lines in sap script

    I am using Command  'Address / End address' in sap script for printing address.
    How do I get the Number of Lines we get from this command.

    /: ADDRESS [DELIVERY] [TYPE t] [PARAGRAPH a] [PRIORITY p] [LINES l]
    /: ENDADDRESS
    LINES
    This specifies how many lines may be used for formatting the address.
    If there are too few lines available to allow all the address data to be formatted,
    then the data specified in the PRIORITY parameter are omitted.
    If there is no LINES parameter and if this command is in a layout set window of
    a type other than MAIN, then the number of lines available for formatting
    the address are automatically calculated based on the current output position
    and the size of the window.

  • BOX command does not print vertical/horizontal lines in SAP Script

    Dear all,
    in sap script we are using the BOX command to draw some boxes. DUring the print preview, all the boxes look
    just fine including horizontal and vertial lines. But, when we print the output, I get the output minus
    the vertical lines and some horizontal lines.
    Regards,
    rukku
    Edited by: Rukmangada Reddy Ramala on Mar 23, 2010 2:23 PM

    Hi rukku,
    Which device type are you using?
    Please have a look at SAP notes:
    77976, 19807 and 183948.
    Regards,
    David

  • Blank line in SAP-Script Address

    Hi all,
    I'm desparatly seaching for a way to leave a blank line in a SAP-Script Address (sender Germany, address Germany) between the street (or PO-BOX) and the postcode - town line.
    I'm using the SAP-Script address command:
    /: ADDRESS
    /: ENDADDRESS
    In OY01 address-format for Germay is "015".
    Everything I tried leaves to:
    "Name
    Straße
    PLZ Ort"
    but my customer wants:
    "Name
    Straße
    PLZ Ort"
    Help is appreciated.
    Thanks.

    Hi Norman,
    Ok. I got it . It is my mistake I though you need blank lines.
    OK, in ADDRESS formating .
    Please try command "/" or 'add a default paragraph Example : TD "  between your entries.
    Lanka

  • Counting lines in SAP script

    Hi Gurus,
    Can someone help me count the number of lines in a sap script in a page.
    Thanks in advance!

    Hi rajbans..
    Try with this  code....
    /: DEFINE &COUNTER& = &Counter& + 1.
    /: DEFINE &SAPSCRIPT-COUNTER_9& = 0
    /: &SAPSCRIPT-COUNTER_9(+)&
    I hope this will work but am not sure.
    Thanks & Regards
    Gopal.B

  • How to break the command line in SAP scripts

    Hi,
      Can any one Please guide me how to continue the command line( /: ) of SAP SCPRIPT into multiple lines.
    Regards
    Kiran

    Hi Kiran,
    U can continue in the same line itself by pressing SHIFT+F8
    If u want it in the next line then u can give space in the tag column.
    Thanks,
    Vinod.

  • How to avoid word cut when switching to next line in sap scripts

    Hi,
    i have long text in my sap transaction, i am fetching using READ_TXT, it contains 5 lines like below
    Which is the output length of one line of text in the program
    for theobject list print Text length equal to exactly 132 characters.
    Which isthe output length of one line of text in the program for the object list print
    Text length equal to exactly 132 characters.Which isthe output length of one line of text i
    n the program for the object list print Text length equal to exactly 132 characters.
    my script output line length is 132 chars., now i need to print  in script without cutting the words when switching to new line.
    how to achieve this functionality.
    Thanks
    Srini

    Hi Srinivas,
    You can use RKD_WORD_WRAP or TEXT_SPLIT FM to split the string into N character with out word break.
    Regards,
    Pavan

  • Problem in changing the space between the lines in sap script

    Hi,
    I am working on a sapscript in which i have to decrease the widht of 2 columns but i am not able to understand how to do it. i go to the info part of script saw d coding like his:-
    /E           FINAL
    C1           &i_final-count_c(3Z)& &i_final-text_c(24)& &i_final-result_c(8)&
               &i_final-count_m(3)& &i_final-text_m(22)& &i_final-result_m(8)&
               &i_final-nonconfirm_m(10)&  &i_final-count_mi(3)& &i_final-text_mi(25)&
    =            &i_final-result_mi(8)& &i_final-nonconfirm_mi&
    /*           **** CHANGE THE NAME OF VARIABLE C, M AND MI RESPECTIVELY
    /*           FOR CRITICAL PROPERTIES
    /:           IF &I_FINAL-TEXT_C+24(16)& NE '                '
    C1               &i_final-text_c+24(16)&,,,,&i_final-result_c+8(8)&,,
                  &i_final-text_m+22(18)&,,   &i_final-result_m+8(8)&,,,,,,,,
               &i_final-text_mi+25(15)&,,,, &i_final-result_mi+8(8)&
    /:           ELSEIF &I_FINAL-RESULT_C+8(8)& NE '        '.
               &temp(40)&   &i_final-result_c+8(8)&,,  &i_final-text_m+22(18)&
    =           ,,  &i_final-result_m+8(8)&,,,,,,,, &i_final-text_mi+25(15)&,,
    =           &i_final-result_mi+8(8)&
    /*           FOR MAJOR
    /:           ELSEIF &I_FINAL-TEXT_M+22(18)& NE '                  '
    C1               &i_final-text_c+24(16)&,,,,&i_final-result_c+8(8)&,,
                  &i_final-text_m+22(18)&,,  &i_final-result_m+8(8)&,,,,,,,,
               &i_final-text_mi+25(15)&,,,,  &i_final-result_mi+8(8)&
    /:           ELSEIF &I_FINAL-RESULT_M+8(8)& NE '        '
    C1               &i_final-text_c+24(16)&,,,,&i_final-result_c+8(8)&,,
                  &i_final-text_m+22(18)&,,  &i_final-result_m+8(8)&,,,,,,,,
               &i_final-text_mi+25(15)&,,,,  &i_final-result_mi+8(8)&
    /:           ELSEIF &I_FINAL-TEXT_MI+25(15)& NE '               '
    C1               &i_final-text_c+24(16)&,,,,&i_final-result_c+8(8)&,,
                  &i_final-text_m+22(18)&,,  &i_final-result_m+8(8)&,,,,,,,,
               &i_final-text_mi+25(15)&,,,,  &i_final-result_mi+8(8)&
    /:           ELSEIF &I_FINAL-RESULT_MI+8(8)& NE '        '
    C1               &i_final-text_c+24(16)&,,,,&i_final-result_c+8(8)&,,
                  &i_final-text_m+22(18)&,,  &i_final-result_m+8(8)&,,,,,,,,
               &i_final-text_mi+25(15)&,,,,  &i_final-result_mi+8(8)&
    /:           ENDIF.
    /E           BREAK
    /:           NEW-PAGE
    Please provide me guidlines where i can make the changes to decrease the width of the lines.
    Edited by: ricx .s on Apr 30, 2009 11:29 AM

    Hi,
    You can make changes in the offsets if it is not harming the display of the data...
    for example
    &i_final-text_c+24(16)&,,,,&i_final-result_c+8(8)&,,        " in this line you can reduce +24(16) to +24(10)
    " or to something else where the display of data is not harmed
    &i_final-text_m+22(18)&,,  &i_final-result_m+8(8)&,,,,,,,,    " and also in this line +22(18) to +22(10 or 12) or
    " something
    &i_final-text_mi+25(15)&,,,,  &i_final-result_mi+8(8)&   " in this line  + 25(15) to   +25(10 or 12)
    " or something
    and also in the line just after the final text element
    &i_final-count_c(3Z)& &i_final-text_c(24)& &i_final-result_c(8)&        " you can change the offsets
    " which are there in the brackets where the display of the data is not harmed
    &i_final-count_m(3)& &i_final-text_m(22)& &i_final-result_m(8)&
    &i_final-nonconfirm_m(10)&  &i_final-count_mi(3)& &i_final-text_mi(25)&
    &i_final-result_mi(8)& &i_final-nonconfirm_mi&
    Regards,
    Siddarth

  • Horizontal line in sap script o/p

    how to get a horizontal
    line at any desirep position in the output of sap script

    suppose if my main window dimensions are 
    height 3cm
    length  3 cm
    width 3 cm
    if i want horizonatl lin  at xpos = o yposition= 2cm

  • SAP Script - Logical expression in multi lines

    Hi Friends,
    How can I write logical expression in more than one lines in SAP script editor?
    Case:
    I have to write:
    IF &J_1BPRNFHD-DIRECT& = '1' AND &J_1BPRNFHD-MANUAL& = 'X' AND &J_1BPRNFHD-SHPUNT& = ' '
    I am writing in first line
    /:  IF &J_1BPRNFHD-DIRECT& = '1' AND &J_1BPRNFHD-MANUAL& = 'X' AND
    and &J_1BPRNFHD-SHPUNT& = ' ' is not coming in the same line. How to write it in more than one line?
    What I mean is that:
    Can I write like:
    /:  IF &J_1BPRNFHD-DIRECT& = '1' AND &J_1BPRNFHD-MANUAL& = 'X' AND
    /:     &J_1BPRNFHD-SHPUNT& = ' '
    In fact, above is not working. Please help.
    Regards,
    Surya
    but the rest of the things, that is, &J_1BPRNFHD-SHPUNT& = ' '

    I'm not an SAP script expert but this is just a suggestion.
    Write 2 seperate conditions.
    You can replace this:
    IF &J_1BPRNFHD-DIRECT& = '1' AND &J_1BPRNFHD-MANUAL& = 'X' AND &J_1BPRNFHD-SHPUNT& = ' '.
    ENDIF.
    by this:
    IF &J_1BPRNFHD-DIRECT& = '1' AND &J_1BPRNFHD-MANUAL& = 'X'.
    IF &J_1BPRNFHD-SHPUNT& = ' '.
    ENDIF.
    ENDIF.

  • How to Draw diagonal lines in a SAP Script

    Hi All,
    I got a requirement to strike out a box with diagonal lines in SAP Script. My client is not interested in just shading out the box. He want atleast 3 or 4 diagonal lines to make feel the customer that the box is striken off.
    How can we do this ?
    Thanks & Regards,
    Bhupal

    Hi B,
    as u have the dimension of  the box..so create a box in paint as bmp.....with digonals as u required.....
    upload this image thru SE78...and call it in ur script.......
    and superimpose that graphic on the text box....
    hopefully this will solve ur problem...
    thnx
    rohit

Maybe you are looking for