How to leave half line space in SAP Script

Actually , I have a doubt regarding half line spacing on SAP Script ..
I am working on Cheque Printing with  fbz5
Now the issue in  the date, there are 8 box for the date in cheque .
i.e  0 2 0 7 2 0 1 4
Currently the date is comming on the cheque box ..like half up the box and half inside
IF I give one space in cheque  window of my script with  /   its taking complete 1 space
and result is ,it going down ..with one space
I want to leave exact half line space ..so date is  adjusted  in the middle .
I also tried moving my cheque  window from  upper margin in all format(CH , CM , MM  IN ..) above
But it is taking exact one space .

Hi Darshit,
While creating the tab position, you have a option of line spacing.
make it to 0.5 lines, to make exact half line.
And also another way out, you can check by moving the 8 box created for the date up by 0.5 lines.
Regards,
Ganesh Lathi.

Similar Messages

  • 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

  • Leaving one line space before starting the text in smartforms

    Hi,
    I want to leave one line space before starting a text.
    i LEFT one line space on the text node but it's not working.
    eg: i need to print "Header text". Before printing this i need one line space. Created a blank node for space still not working. Can anyone help me on this.
    Thanks,
    Rose.

    Hi Rose,
                Enter a Line Feed in the Smartform Editor.
    in the editor type as ,
      "Header text"
    where / is Line feed and * is a Default Paragraph Format.
    Regards,
    Balakumar.G.

  • Find line no in sap script page

    In sap script there are five pages to be printed
    I want to check in each page the first line exists or not.
    as well as to identify the first line of each page.
    How to get a line number for each page in Sap script
    Please revert back asap
    Thanks

    hi ,
    there is no specific field for this you have to put a counter for that check these links
    Link for SAP Scripts (step by step procedure)
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Create_A_SAPSCRIPT_Form/How_to_Create_SAPSCRIPT.html
    SAPScripts
    http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
    http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
    http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
    http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
    http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
    http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
    SAP SCRIPT FIELDS
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/8033ea454211d189710000e8322d00/content.htm
    scripts easy material
    http://www.allsaplinks.com/sap_script_made_easy.html
    regards,
    venkat.

  • Can anybody tell me how many text elements are there in sap scripts?

    hi all,
    can anybody tell me how many text elements are there in sap scripts?

    Hi,
    Do you mean that you want to know how many Text-elements are there in a specific Script or you want to know how many max Text-Elements a script can have?
    I believe there is no limit on this......
    To know all the Text Elements in a Script......goto SE71....press F4 Help on Script Name....Choose Last option for Custom developed Scripts.....and you can open the complete Script details & Code in a Line Editor...After that you can serach/look for the text elements

  • How to change the font dynamically in SAP script

    Hello,
    There are three fields for a line item to be printed in SAP form (Through Script). The font of one field has to be bigger than rest of the two.
    Can anybody tell me how to change the font of a specific field in a line of an SAP-script?
    Regards
    Kiran

    Hi,
    Its like any other character format. you can have any field with a character format.
    --Ragu

  • How to add a report into the SAP-SCRIPT .using PERFORM ......ENDPERFORM

    My question is that How to add a report into the SAP-SCRIPT .
    by using PERFORM ......ENDPERFORM
    I don't know how to used it .

    Hi Sandeep,
    Please check this link
    http://help.sap.com/saphelp_40b/helpdata/en/d1/803279454211d189710000e8322d00/content.htm
    http://www.allinterview.com/showanswers/37425.html
    Calling ABAP Subroutines: PERFORM
    You can use the PERFORM command to call an ABAP subroutine (form) from any program, subject to the normal ABAP runtime authorization checking. You can use such calls to subroutines for carrying out calculations, for obtaining data from the database that is needed at display or print time, for formatting data, and so on.
    PERFORM commands, like all control commands, are executed when a document is formatted for display or printing. Communication between a subroutine that you call and the document is by way of symbols whose values are set in the subroutine.
    Syntax in a form window:
    /: PERFORM <form> IN PROGRAM <prog>
    /: USING &INVAR1&
    /: USING &INVAR2&
    /: CHANGING &OUTVAR1&
    /: CHANGING &OUTVAR2&
    /: ENDPERFORM
    INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
    OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
    The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:
    FORM <form> TABLES IN_TAB STRUCTURE ITCSY
    OUT_TAB STRUCTURE ITCSY.
    ENDFORM.
    The values of the SAPscript symbols passed with /: USING... are now stored in the internal table IN_TAB . Note that the system passes the values as character string to the subroutine, since the field Feld VALUE in structure ITCSY has the domain TDSYMVALUE (CHAR 80). See the example below on how to access the variables.
    The internal table OUT_TAB contains names and values of the CHANGING parameters in the PERFORM statement. These parameters are local text symbols, that is, character fields. See the example below on how to return the variables within the subroutine.
    From within a SAPscript form, a subroutine GET_BARCODE in the ABAP program QCJPERFO is called. Then the simple barcode contained there (u2018First pageu2019, u2018Next pageu2019, u2018Last pageu2019) is printed as local variable symbol.
    Definition in the SAPscript form:
    /: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
    /: USING &PAGE&
    /: USING &NEXTPAGE&
    /: CHANGING &BARCODE&
    /: ENDPERFORM
    / &BARCODE&
    Coding of the calling ABAP program:
    REPORT QCJPERFO.
    FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA: PAGNUM LIKE SY-TABIX, "page number
    NEXTPAGE LIKE SY-TABIX. "number of next page
    READ TABLE IN_PAR WITH KEY u2018PAGEu2019.
    CHECK SY-SUBRC = 0.
    PAGNUM = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY u2018NEXTPAGEu2019.
    CHECK SY-SUBRC = 0.
    NEXTPAGE = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY u2018BARCODEu2019.
    CHECK SY-SUBRC = 0.
    IF PAGNUM = 1.
    OUT_PAR-VALUE = u2018|u2019. "First page
    ELSE.
    OUT_PAR-VALUE = u2018||u2019. "Next page
    ENDIF.
    IF NEXTPAGE = 0.
    OUT_PAR-VALUE+2 = u2018Lu2019. "Flag: last page
    ENDIF.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    Best regards,
    raam

  • Line number in Sap Script

    hi,
    How to get line number in sap script form?
    Regards,
    Sal.

    hi ,
    there is no specific field for this you have to put a counter for that check these links
    Link for SAP Scripts (step by step procedure)
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Create_A_SAPSCRIPT_Form/How_to_Create_SAPSCRIPT.html
    SAPScripts
    http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
    http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
    http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
    http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
    http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
    http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
    SAP SCRIPT FIELDS
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/8033ea454211d189710000e8322d00/content.htm
    scripts easy material
    http://www.allsaplinks.com/sap_script_made_easy.html
    regards,
    venkat.

  • How to add a page in the SAP Scripts

    Hi All,
    I want to know how to add a page in the sap scripts. there is already sap script developed by some other person.
    Now I have to add a page in front of that and have to add some more data.I added a page in page windows but thats not at all working.
    Please help me out in this.
    Thanks,
    Praveen

    new page will create in sap scripts using new page command.
    you have to set condition like after some number of records displayed in page new page has to be trigger.
    ex:YOU HAVE SO MANY RECORDS FOR PRINTING BUT YOU WANT TO DISPLAY 100 RECORDS IN FIRST PAGE REMAINING IN SECOND PAGE LIKE THAT.
    Here you can use NEW PAGE COMMAND .
    IT IS OPPOSITE PURPOSE OF PROTECT AND ENDPOTECT.
    Reward if useful.

  • How to print " Duplicate " in FORM ( either Sap Script or Smart Forms )

    hi,
       How to print  " Duplicate " in FORM ( either Sap Script or Smart Forms ) if trying to take second Print Out and the FORM is already Printed.
    Please let me know the condition that we should go for.If possible let me know the SAMPLE code since this will be used in most of the FORMS.
    Regards
    Avi

    Hi
    It depends on which print you're working.
    If it's a print of standard document you can check the NAST (VSTAT field) table in order to know if the document was printed.
    If a message is created you can find the hit in NAST table:
    VSTAT = 0, document not printed;
    VSTAT = 1, documment printed
    VSTAT = 2, print is failed
    If you mean a custom print I believe you need to create a log like NAST table.
    Max

  • How to  include a report  into the  SAP-SCRIPT

    plz tell me 
    How to  include a report  into the  SAP-SCRIPT
    ASAP

    creat a z report like this....................
    REPORT  zmmgl_picklist1.
    TABLES : likp,ltap,ltak.
    data : lv_NUM1 type c .
    data : lv_NUM type c.
    *&      Form  get_data1
          text
         -->IN_DATA    text
         -->OUT_DATA   text
    FORM get_data1 TABLES in_data STRUCTURE  itcsy
                         out_data STRUCTURE itcsy.
    READ TABLE in_data WITH KEY name = 'LTAP-VBELN'.
    lv_NUM = lv_NUM1 + 1.
    out_data-name = 'lv_NUM'.
      out_data-value = lv_NUM .
    APPEND out_data.
    endform.
    *&      Form  get_data
          This form is to read  details from  LIKP    *
         -->IN_DATA    text
         -->OUT_DATA   text
    FORM get_data TABLES in_data STRUCTURE  itcsy
                         out_data STRUCTURE itcsy.
      READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
      Select single bldat from likp into likp-bldat where lgnum = ltap-lgnum.
      out_data-name = 'LIKP-BLDAT'.
      out_data-value = likp-bldat.
      APPEND out_data.
       READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
      Select single vstel from likp into likp-vstel where lgnum = ltak-lgnum .
      out_data-name = 'LIKP-VSTEL'.
      out_data-value = likp-vstel.
      APPEND out_data.
    READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
      Select single kunnr from likp into likp-kunnr where lgnum = ltap-lgnum.
      out_data-name = 'LIKP-KUNNR'.
      out_data-value = likp-kunnr.
      APPEND out_data.
    ENDFORM.                    "get_data.
    after this go to the script editor......
    /: perform get_data in program zmmgl_picklist1.
    /: using &ltap-vbeln&                 (Reference field.this field          should be there in both program and script.....)
    /:changing &likp-bldat&         
    /:changing &likp-vstel&
    /:changing &likp-kunnr&
    \[removed by moderator\]
    Regards
    Anbu
    Edited by: Jan Stallkamp on Jun 10, 2008 2:26 PM

  • How To Generate Spool request for a SAP-Script form

    How To Generate Spool request for a SAP-Script form

    Hai   Rahaman,
    After getting the print preview of the SCRIPT.
    Click On  PRINT.
    Buttom of the page one spool request will be generated by system.
    Go to  SP01.
    You Can Find  SPOOL Reqest Number.
    Regards.
    Eshwar.

  • How to find out existing Reports and sap scripts and smartforms ?

    Dear Friends ,
    How to find out existing Reports and sap scripts and smartforms ?
    ( e.g: how many existing reports and SAP scripts are available in MM or SD module , What is the procedure to find out ? )
    Thanking you.
    Regards,
    Subash.

    scripts r stored in TNAPR TABLES

  • How to give constant space in sap scripts.

    Dear experts,
    In my requirement I am printing invoice line item details. In my program,I am printing 8 columns. How to give the constant space in my output.
    My issue.: here am fetching Internal Excise Document Number (DOCNO) item number (zeile) plant (werks) quantity (menge) storage location (lgort) and so on.
    when i am fetching the values from the table, the values are different from each and every rows. so nothing would be aligned properly into the column. For example, if the  doc no is having 10 char,from item no all the values of the column is getting moved to right side. in my second row doc no is having only 2 chars. in this case every column value is moving left side. its looking like realigned and not good.
    How do i give constant space for each and every column. so if the values are more or less it could not be moved to any side.
    please hellp me to solve this issue.
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Thanks in advance.
    Regards,
    Sandy.
    Edited by: Alvaro Tejada Galindo on Sep 28, 2011 3:40 PM

    Hi,
    check out ur tab positioning in paragraph format...any misalignment is their or not.
    second thing you can do is checkout your printer i.e zebra printer or .matrix etc. your using sometimes misalignment happens
    in printer..or print some sample values for verifying the root cause .
    regards,
    KRISHNA

  • How to display the number of line items in sap-script report?

    Hi friends,
    I need a help regarding the SAP Script. In my script (report) I create two pages and created three windows (MAIN, HEADER, FOOTER) for each pages. Now the problem is while displaying the fewer line item which can come under the main window of the 1st page these line items are comming perfectly but for the remaining line items that comes on the second page the table headings and the boexs are not comming.
    Also it is displaying the total and the amount in text in every pages that should be display in last page.
    Here if I eleminate or comments the total and the amount in text for the first page the same is reflected in second page. Also I need to display the page-nor for each pages to displayed.
    I am requesting all the people out there kindly help me to solve this issues.
    Thanks and Regards

    There is no pre built solution for this. But we can show total pages in the report body.
    one way is Create a other column in the report with code sum(count(1))/25. that gives you total number of pages. 25 here is no of rows in each page. The code you can write in narrative "Total pages in the report are @5" and out put may be "Total Pages in the report are 30".
    If you are using pivot tables, you can try this.
    http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-pagination-in-pivot-tables/
    - Madan

Maybe you are looking for

  • How to have new Safari windows open in full screen?

    Hello, I am wondering if it is possible to have new Safari windows take up the full screen. For example, if I click on a link that opens a new window, I would like that new window to take on the fully maximized setting of the window it came from. So

  • Problem with Word 2013 through VPN

    Hello, From several weeks my company has a problem with Word 2013 when laptop is connected to the network via VPN. Symptoms: - Word 2013 is opening very slow (even opening a blank card) - there are no matter if I try to open blank page or network fil

  • POWERMAC G5 can no longer access Airport Express wireless network

    OK I've had a Airport extreme wireless network up and running for 3-years. Suddenly, my PowerMac G5 cannot connect. I know the network is OK because my Powerbook can connect to the network. I've tried running the Airport utility and re-scanning with

  • Firmware fun - why fix what ain't broke? Who pays?

    Recently my MacBook failed to recognise a portable Lacie firewire drive. My G5 PowerPC continues to recognise it. The drive is in excellent condition, has operated problem-free for many years and continue to work properly. After much testing (and pos

  • Adobe Illustrator art question

    I drew a square inside of a square and want to paint the area between the two squares so that they look like one object with a hollow center. How can I make the two squares work together as one object?