Sap script layout

in sap script layoyt how can i draw a <b>vertical line</b> to separate the different colums?? what shoud be the commands to draw a vertical lines??

Hi Biswajit,
use &ULINE(80)& or &ULINE&.
Regards, Dieter
Sorry, i describe horizontal Line.
Use BOX etc as mentioned
Message was edited by: Dieter Gröhn

Similar Messages

  • How to create the Sap script & Layout Set (wants sample code)

    Hi All ,
    Can you please provide me the step by step procedure
    to create the Sap script & Layout Set .(please provide sample
    code/links /docs for layout & print program).
    Regards
    Rahul

    hi,
    go through the following links  what i found to create sap script.
    http://www.thespot4sap.com/Articles/SAPscript_Introduction.asp
    http://abapliveinfo.blogspot.com/2008/01/free-sapscript-made-easy-46-book.html
    http://www.thespot4sap.com/articles/SAPscript_example_code.asp
    http://idocs.de/www3/cookbooks/sapscript/sapscript_1/docu.htm
    http://idocguru.com/www5/cookbooks/sapscript/sapscript_1/example.htm
    www.geocities.com/wardaguilar25/sapscript-tutorial.html
    http://logosworld.de/www3/cookbooks/sapscript/sapscript_8/docu.htm
    how to create a  scripts?give steps?
    https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=2969311
    https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=2902391
    https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=3205653
    https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=3111402
    http://www.sap-img.com/sapscripts.htm
    http://sappoint.com/abap/
    http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
    http://help.sap.com/saphelp_crm40/helpdata/en/16/c832857cc111d686e0000086568e5f/content.htm
    http://www.sap-basis-abap.com/sapabap01.htm
    http://www.sap-img.com/sapscripts.htm
    http://searchsap.techtarget.com/tip/1,289483,sid21_gci943419,00.html
    http://sap.ittoolbox.com/topics/t.asp?t=303&p=452&h2=452&h1=303
    http://www.sapgenie.com/phpBB2/viewtopic.php?t=14007&sid=09eec5147a0dbeee1b5edd21af8ebc6a
    Other Links

  • Worked on the SAP-Script layout sets in MM modules.

    sir,
    Like to know How would  Worked on the SAP-Script layout sets in MM modules.

    Hi,
    First of all what are we trying to achieve?
    I understand that changes where made to standard SAP SAPscript RVINVOICE01 and you where asked to make further changes.
    In SAP configuration you need to see what is the driver program for your SAPscript and what is the SAPscript name (transaction VOK2->Output->Processing Programs->Billing Documents) or via table TNAPR.
    This will allow you to see what is the driver program for your SAPscripr (this is the program that prepares data to be formatted by your SAPscript layour set).
    Once data is derived by an ABAP program, a sapscript is called from driver ABAP to print this data.
    You may need to make changes to driver ABAP (in case changes to data are required) or to SAPscript if changes to layout and window positioning are requested.
    Try not to modify standard SAP programs (copy to Z versions)...
    Hope it is of some help...
    Michael

  • Work on the SAP-Script layout sets in SD modules

    Hi,
         How to Work on the SAP-Script layout sets in SD modules. The documents modified were RVINVOICE01 as per the client’s requirements.

    Hi,
    First of all what are we trying to achieve?
    I understand that changes where made to standard SAP SAPscript RVINVOICE01 and you where asked to make further changes.
    In SAP configuration you need to see what is the driver program for your SAPscript and what is the SAPscript name (transaction VOK2->Output->Processing Programs->Billing Documents) or via table TNAPR.
    This will allow you to see what is the driver program for your SAPscripr (this is the program that prepares data to be formatted by your SAPscript layour set).
    Once data is derived by an ABAP program, a sapscript is called from driver ABAP to print this data.
    You may need to make changes to driver ABAP (in case changes to data are required) or to SAPscript if changes to layout and window positioning are requested.
    Try not to modify standard SAP programs (copy to Z versions)...
    Hope it is of some help...
    Michael

  • Spool - restrict multiple sap script  layouts into a single spool

    Hi Experts,
    I am writing a Sap SCRIPT print program for multiple number of customers with different layouts. But i am getting seperate spools for different customers. There fore i need to print out all customers in a single spool.
    Can some one help me how to do this?
    Thanks
    Dany

    OPEN_FORM and CLOSE_FORM function module are used to open and close spool. When you have single form to create document then we specify form_name in OPEN_FORM function module itself. However when we have multiple forms or same form needs to be called multiple times and all document needed in same spool then we use START_FORM and END_FORM to explicitly open and close form.
    Call function module in this sequence
    OPEN_FORM "without specifying any form name, this will open spool
    START_FORM " with form name
    END_FORM
    START_FORM "with (some other) form name
    END_FORM
    CLOSE_FORM "close spool request

  • SAP Scripts Layout download to Excel format

    Hi Friends,
    I have requirement of downloading the SAP Layout to excel format when we select the Output type option.Could you please give any solutions.
    Regards
    Dinesh

    U can;t download Script output to Excel.
    U can download Script output to PDF format and also u can send it via  e mail.
    Narendra

  • How to print the Totals in SAP Scripts..?

    Hi,
    I have an SAP Script layout. Currently I am displaying the Line items in the layout. The new requirement has come up to display the TOTAL of the amount value in the layout at the end of the line items. Can someone tell me how to display the Sum of the Amount value at the end of the Line items in an SAP Script.
    The Print program for this layout is standard program. Can this be handled within the layout..? Someone please provide me some sample code if available.
    Thanks in advance.
    Best regards,
    Paddu.

    Hi,
    Thank you for your reply.
    My Standard print program doesn't provide the total value.  Could you please tell me where exactly we need to write the logic in the Layout. I mean, do we need to write under separate element..? and in the External subroutine, how would be the logic. It would be greatful if you provide some sample code.
    Thanks & Regards,
    Paddu.

  • How to create table in the sap script

    Hi,
    How to create a table in the  sap script layout, i Have to use table in the main window with  7 columns. can any one send sample code.
    How to calculate the number of line items which are displaying in the main window, if the number of line items are exceed in the main window then the amount has to be calculate and print as "BALANCE FORWARD" and the next page had to be displayed as "CARRY FORWARD" that amount. if this is the last page not subsequent page the amount had to be calculated the carry forward amount and total amount and print as "TOTAL AMOUNT". i am creating the new layout and the program is the standrad driver program i have to use and i have to use the standard Text elements only, can any one help me on this issue

    hi
    good
    there is no "pattern" option in SAPscript. All you have at your disposal are the following SAPscript commands: BOX, POSITION and SIZE. Not only are these commands both confusing and tedious to implement, they also are limited in what they can achieve. For instance, although you can suppress a box during printout (by making it conditional), there is no simple way to adjust it dynamically instead. Thus, to divide sequential line items, you may wish to use an underline (ULINE) or simply white space.
    thanks
    mrutyun

  • Trying to re-size the windows in Z SAP Script!!

    Hello,
    Am looking  to do some modifications to the custom SAP Script Layout-set, mainly re-sizing the windows, including the MAIN window.
    So, SE71>Change mode>Graphical Form Paiter checked, then, opened the Windows layout in graphical manner.........but, am unable to edit/move/re-size/modify the sizes of the windows with the help of mouse (pointer) movements!!
    And also am unable to edit the left side dimensions numericals of these windows, bcoz, those (dimensions numericals) fields are GREYED OUT!!
    I also tried by selecting the radio button of PAGE WINDOWS ........here also the dimensions numericals fields are GREYED OUT!!
    So, pls. let me know the options for editing/re-sizing the windows of SAP Script. I prefer to re-size them by changing the dimension numerical digits, instead of graphically changing with mouse pointer.
    Thank you

    logged-off and logged-in.......its worked
    Thank you

  • Sap script payment remittance advice email doubt

    i have to send mail to vendor of sap script layout . the FM which is configured in the business transaction events of accounts recievable and payable. can any one this code u can explain me
    regards
    sarath

    A very strange idea from my point of view.
    you had used the clerks internet field (company code view) for financial communication in the past,
    this was changed to the standard communication
    and since you need a different mail address for POs you consider to use the clerks internet field in the company code view.
    Undoing the change for the payment remittance advice would be more logical, as then at least Financial communication would pick its email from a financial data source, which is more logical than pulling the data from financial data source for purchasing activities.
    In general you can create a PO long before a company code view is needed, this speeds up the procurement process, as the company code view is needed when you do goods or invoice receipt.  So you are slowing down the process.
    Using the clerks internet field would be really confusing for the users, both FI and purchasing, and it can conflict with your authorization settings too. In our system a buyer has no access to company code data.
    I would eventually consider to use the Remark field in the email address to indicate for what purpose this email address is used. If you do this e.g.with a leading number 1 for finance , 2 for purchasing, then you could have a exit check on that and determine the right email address .

  • Conversion of QC21 sap script to pdf

    Hello Experts
    I was working on QC21 sap script layout,got guidance from u guys & i managed to finish.
    now can anyone tell me how to convert the sap script to pdf format?
    Kash

    Hi,
    if u wish to automate the process, then u can write the following code...
    DATA: V_PRINT_PARMS LIKE PRI_PARAMS.
    DATA: V_PDFSPOOLID TYPE TSP01-RQIDENT,
              V_RQIDENT TYPE TSP01-RQIDENT.
    DATA: V_RQ2NAME TYPE STRING.
    DATA: T_PDF LIKE TLINE OCCURS 0 WITH HEADER LINE.
    DATA: T_RSPAR TYPE STANDARD TABLE OF RSPARAMS.
    To Setup The Print Parameters
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
        AUTHORITY   = SPACE
        COPIES    = '1'
        COVER_PAGE    = SPACE
        DATA_SET     = SPACE
        DEPARTMENT      = SPACE
        DESTINATION    = SPACE
        EXPIRATION     = '1'
        IMMEDIATELY     = SPACE
        LAYOUT     = SPACE
        MODE       = SPACE
        NEW_LIST_ID    = 'X'
        NO_DIALOG      = 'X'
        USER     = SY-UNAME
      IMPORTING
        OUT_PARAMETERS     = V_PRINT_PARMS.
    IF SY-SUBRC EQ 0.
    Submit Program & Store Spool ID Into Memory
    CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
        EXPORTING
          CURR_REPORT     = 'RQCAAP01'
        TABLES
          SELECTION_TABLE = T_RSPAR.
    ENDIF.
    SUBMIT RQCAAP01 VIA SELECTION-SCREEN TO SAP-SPOOL WITHOUT SPOOL DYNPRO
               SPOOL PARAMETERS V_PRINT_PARMS
               WITH SELECTION-TABLE T_RSPAR
               AND RETURN.
    Retrieving Spool ID From TSP01 Table
    CONCATENATE V_RQ2NAME SY-UNAME INTO V_RQ2NAME.
    SELECT * FROM TSP01
    WHERE RQ2NAME EQ V_RQ2NAME ORDER BY RQCRETIME DESCENDING.
      V_RQIDENT = TSP01-RQIDENT.
      EXIT.
    ENDSELECT.
    IF SY-SUBRC NE 0.
      CLEAR V_RQIDENT.
    ENDIF.
    To Convert Spool ID To PDF Format
    CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
      EXPORTING
        SRC_SPOOLID              = V_RQIDENT
      TABLES
        PDF                      = T_PDF.
    IF SY-SUBRC EQ 0.
    To Download The File In PDF Format
    to get file name and location for saving
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG
        EXPORTING
          WINDOW_TITLE         = 'Select The Path Where The PDF Should Be Saved'
          DEFAULT_FILE_NAME    = 'Certificate Of Analysis.PDF'
        CHANGING
          FILENAME             = v_filename
          PATH                 = v_filepath
          FULLPATH             = v_fullpath.
    To download the PDF file
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          FILENAME                = v_fullpath
          FILETYPE                = 'BIN'
        TABLES
          DATA_TAB                = T_PDF.
    ENDIF.
    I hope this resolves ur issue...
    Regards,
    Radhika

  • Physical Inventory Sap script to Smart Form conversion

    Hi to all experts,
    there is standard print program RM07IDRU (tcode mi21) .This print is assigned to customized sapscript (zmm_phys_inv) for printing . Now the problem is that we have print barcode using this script on a different printer .For scripts the bar code printing takes a lot of effort .The users want the sap script to be converted to smart forms . what is the best approach for this............................need u r feedbacks

    Hi Mohammed
    The users want the sap script to be converted to smart forms . what is the best approach for this
    For this refer the similar kind of thread.
    how to convert sap script layout into smartforms?
    regards
    s@chin

  • ABAP SAP script unable to see push buttons

    Dear friends,
      I am new to ABAP and I am trying to create SAP script layout, but I created new form, I did not see Pages, Windows and Page Windows push buttons.
    I could not figure out why I am unable see those windows? Please, can somebody help?  I don't see even on first page where I can create new Form name.  
    I really appreciated  your help.
    Shailesh

    Hi,
    In script go to SETTING---> there select  PC EDITOR check box , uncheck graphic editor.
    U will get it.

  • Sap Script - LVSLABELS error

    Hi All,
    I tried to print data through LVSLABELS but nothing print .
    Is someone have idea about the SAP SCRIPT LAYOUT used in this .
    Any Suggestions welcome,
    Thanks,

    Hi All,
    I tried to print data through LVSLABELS but nothing print .
    Is someone have idea about the SAP SCRIPT LAYOUT used in this .
    Any Suggestions welcome,
    Thanks,

  • Quantity Field Display in Sap Scripts

    Hi,
    I am displaying the quantity field in the sap script layout.But in the quantity field having 3 decimal places.
    Ex: 3.400 is there i want to display 3.4
    3.000 only i want to display 3
    3.740 -
    3.74 like that i want.
    I want to omit the zeros after decimal places.
    Please give me the solution.
    Regards,
    Jenny

    As it is quantity field, it will print even the decimal points...U can try this...move the value to a char variable and use truncating to remove zeros by deleting them and use this value in ur script to print the value.

Maybe you are looking for