SAP Script Overlapping

Hi Experts,
My text in sap script is overlapping. The text font size is 25pt. Rather than going to the next line, the text overlaps. Can anyone suggest what might be the problem.
Regards,
Abdullah

Hi,
The page window is less than the page. The text I am printing is INITIAL UPLOAD. The initial is on the first line, the upload is just below initial, but the word UPLOAD is almost covering half of the word INITIAL in the line above.
Thanks,
Abdullah

Similar Messages

  • Sap script  text overlaping

    Hi All,
    I have a Sap script which was executing fine .. but since few day i am geeting a problem.
    The issue is the two text are getting overlapped.
    Like we have the address of the vendor and some description the bothis working fine if the address is of not much in lines
    but if the if the number of line is more than the same(adress) gets overlapped....
    example:
    Adress:
    C/o So and so,
      Street 21
      city  Pune
      Coutry India
    Dear Sir / madam,
    which is fine but the same get overlaped once number of lines get increased.
    <Mean the coutry india will be overwrriten along with Dear Sir....
    Kindly help me on this, as i am new to abap and sap scripts
    many thanks in advance,
    Edited by: Anuj112143 on Feb 11, 2011 6:27 AM

    Hi All,
    I more input. When i change the font size this problem gets  resloved . for instant.
    i have change the font size of addres which is overlapping with another text Dear Sir.
    No there us no overlaping after the font is change, but i the client do not want to change the font.
    so i would request you to help me on this.
    many thanks.

  • SAP Script: Include text in MAIN window prints outside MAIN window margins

    Hi,
    We're facing a peculiar issue. We call a text element in the MAIN window of an SAP Script form using FM WRITE_FORM.
    The element has 2 includes.
    The problem is that when the content of any of the 2 includes is large enough, the include text prints overflows outside the MAIN window margins on the first page and into the area of the footer window of the same page. It does not automatically flow to the next page MAIN window.
    We have checked that the MAIN window and FOOTER window margins do not overlap. Infact they are quite far from each other.
    We have tried stuff like using a forced PROTECT, change the para format etc, but nothing solves the problem.
    Does anyone have any idea?

    You do not need to use the subroutine READ_ORDER_TEXT to get another text name because you already have it: TMP_TXNAM2 .
    Pass this value back to your SAPscript, and it is okay.
    Or you can even check the text object is empty or not, if no text is found, print 2 empty lines:
    still use your subroutine to read the text, if no line is found, set TMP_TXNAM2  to empty, otherwise, no change,
    In SAPscript, check the value is empty or not, then print 2 empty line or the text object...

  • Blocks in SAP Script

    Hi Experts,
    Please help me out with this....I need to have boxes for all the records..Like if I have 10 records then i need to have the boxes which have been printed fr the first record should get printed for the other 10 records...
    But this is nt happening...I am getting all the records on the basis of the range I enter in the selection criteria but not the boxes which i am getting only for the first record.
    Also I need to have chechboxes in the headr of the report which will be checked by the user. Please let me know how to create checkboxes in the SAP Script.

    hi!
    create a variable window and write this code there
    /: POSITION XORIGIN '2' CM YORIGIN '10' CM
    /: SIZE WIDTH '18.05' CM HEIGHT '18' CM
    /: BOX FRAME 10 TW
    /: POSITION XORIGIN '2.05' CM YORIGIN '10.05' CM
    /: BOX WIDTH '18' CM HEIGHT '1' CM INTENSITY 15
    /: POSITION XORIGIN '3.5' CM YORIGIN '10' CM
    /: BOX FRAME 10 TW  WIDTH '0' TW HEIGHT '18' CM
    /: POSITION XORIGIN '9.2' CM YORIGIN '10' CM
    /: BOX FRAME  10 TW  WIDTH '0' TW HEIGHT '18' CM
    /: POSITION XORIGIN '11.5' CM YORIGIN '10' CM
    /: BOX FRAME  10 TW  WIDTH '0' TW HEIGHT '18' CM
    then create a main window with same height and width as that of the varaible window (overlapping the variable window on to it).
    now on looping in the main table and displaying the data 10 records in the one page and then 10 records on the other page the boxes will come it self....
    here the main window dimensions are
    MAIN    00 Main Window                    2,00 CM  10,00 CM  18,00 CM  18,00 CM
    [then with the help of data element call the box
    /: BOX WIDTH '18' CM HEIGHT '1' CM FRAME 10 TW
    in loop where write_form is called....]
    u will get the box with the data printed in the form......
    keeping same for the variable window....
    and try it....
    this will be done....
    Edited by: Richa Tripathi on Feb 18, 2009 8:11 AM

  • IS IT POSSIBLE TO PRINT ANY LOGO AS A WATERMARK IN SAP SCRIPT

    In SAP Script ,is it possible to print a logo in the back of retrived data as a watermark & our data would not be overlapped . If yes then tell me how.......?
    we wanna print customer id & place id on page one as a tittle & the concern data below them so for this what we have to do give me a reasonable logic ...?

    hi,
    Yes, we can print logo as water mark in scripts
    Just do as like this....
    Upload your logo via SE78.
    - Select 'Import' button from application toolbar of SE78, and perform upload.
    and write this code in scripts
    BITMAP 'COMPANY_LOGO' OBJECT GRAPHICS ID BMAP TYPE BCOL 
    regards
    Sankar

  • Problem while printing SAP Script

    Hi All,
    I have one scenario, in which I have to copy the Standard SAP Script  form (HR_ALL_FIX) client '000' and import in the development server as custom SAP script(ZHR_ALL_FIX)  and making change in main window the text. Instead of  "Yours Faithfully" text I have changed it to 'Warm Regards'.
    When I try to view the print preview of the script from PP40 tcode,  the output is overlapped.
    Instead of 'warm regards' to be displayed at the end of the page, its being printed in between somewhere.
    No other changes I have made.
    Any inputs and help will be really helpful.
    Thanks in advance

    I am still facing the problem . tried everything. Have only changed the language while copying from DE to EN.
    Also, just creating a Z form without ANY change at all( even the printer used to check print preview is the same)... and attaching it to OOVM transaction and then checking the print preview - TEXT comes randomly (in different order)
    Any help will be really appreciated and rewarded..
    Awaiting help.
    Edited by: HeenaChampaneri on Apr 15, 2010 8:39 AM

  • More then One window in sap script

    Hello ALL,
          I am not much aware about sap script .I have created a sap script and I have 5 window , two window is display correctly but I am not able to print data on another window.
       all the variable has correct data to display. I am not able to find exact problem please help me out.
    Thanks

    Hi,
    1. Please check if you have assigned the concerned windows to the correct pages.
    2. If yes, check in the debugging mode of the script if any variables are having any data in runtime.
    3. If yes, check in the form layout if the windows are getting overlapped. You might need to realign them properly.
    4. If no (i.e if the windows are not getting overlapped), check the paragrafh format that you have assigned to these variables. You might have assigned a left margin more than the window width (incase its left aligned or vice versa)
    Warm regards.

  • If Statement in SAP Scripts

    Hi All,
    I have written the below If statement in  SAP scripts but when i execute the same the controll doent check the second line entries. If firtst line doesnot satisfy it goes to the else part. Kindly suggest what is wrong in this..
    /:           IF &T156T-BWART& = '321' OR &T156T-BWART& = '322' OR
    /:           &T156T-BWART& = '349' OR &T156T-BWART& = '350' OR
    /:           &T156T-BWART& = '312' OR &T156T-BWART& = '326' OR
    /:           &T156T-BWART& = '343' OR &T156T-BWART& = '344'.
    /:           ELSE
    /:           ENDIF.

    Hi neha,
    Try to use the '/E' fo rnext line
    /E->Extended line
    Here is a code:
    /: IF &T156T-BWART& = '321' OR &T156T-BWART& = '322' OR
    /E  &T156T-BWART& = '349' OR &T156T-BWART& = '350' OR
    /E  &T156T-BWART& = '312' OR &T156T-BWART& = '326' OR
    /E &T156T-BWART& = '343' OR &T156T-BWART& = '344'.
    /: ELSE
    /: ENDIF.
    Hope this helps you.
    Regards,
    Rajani

  • How to print last page in sap script in ladscape format?

    Hi all,
    can any 1 tell me How to print last page in sap script in ladscape format?
    Thanks In advance.
    Pravin

    Hi Pravin Sherkar,
    we can do this in SAP Scripts.
    we need to create two pages, one of landscape and another of potrait.
    now after filling the data at last we need to call the page which is of format landscape using START_FORM  function module.
    You can use condition &PAGE& = &FORMPAGES&.
    Please check this link
    Printing Portrait/Landscape in sapscript
    Re: Landscape and potrait in same layout?
    http://www.sap-img.com/ts013.htm
    Best regards,
    raam

  • How to print the text in points wise in sap script

    hi friends,
    how to print the text in points wise in sap script.
    ex: if suppose paragraph consists of 15 lines. then according to one sentence or one fullstop (.) it should give point 1. like that...
    1. hai how ru.
    2. what r  u doing.
    3.where r u.
    like this i want numbering.. waiting for ur replys.
    thanks,
    kiran

    declare a counter
    data : cnt type char 4.
    print :
    cnt = cnt + 1.
    &cnt& &text&
    cnt = cnt + 1. and so on.
    or.
    if the data is in an internal table
    loop at internal_table.
    cnt = cnt + 1.
    write form.
    in script -&cnt& &text&
    endloop.
    Edited by: NIKHILKUMAR POOJARI on Nov 17, 2008 11:18 AM

  • How to print Special Characters in Sap-Scripts

    How to print Special Characters in Sap-Scripts
    Thanks,
    Ravi

    Hi
    if u want print special characters we can use hot codes i.e '  '  (single inverted commas). in between these hot codes insert u r special characters.
    write    '    !@#$%^&*( )  '.
    for the above write statement output is
    output is   !@#$%^&*( )

  • In SAP Script how to hard code my Company address in footer window

    Hi All ,
    In SAP Script how to hard code my Company address in footer window .
    Ex : in YB_F140_ACC_STAT this script i want to keep my company address, i want to hard coad , i dont want to use any field from table.
    Please give me step by step.
    Thanks
    Sridhar

    Hi,
    You can make use of standard text...
    create a standard text in SO10 with your company address
    and in the footer window of your script.. use include text and provide the name of the standard text you created in SO10.
    In the text editor... goto insert > text> standard
    You get popup give the name of the text name id and language
    regards
    padma

  • What is the diff b/w Sap Scripts and Smart Forms

    Hi,
          Whats the diff b/w SAP Scripts and Smart Forms..
             I need the internal explanation for both Smart Forms and SAP Scripts mean when we execute what happens whether Print Program r Forms starts execution 1st  and SIMILARLY FOR SMARTFORMS WHETHER FM'S  R FORMS.
    Thanks & Regards,
    Gopi.

    Hi
    Difference with SMARTFORMS vs. SapScript(SE71)
    The Following are the differences :-
    a) Multiple page formats are possible in smartforms which is not the case in SAPScripts
    b) It is possible to have a smartform without a main window .
    c) Labels cannot be created in smartforms.
    d) Routines can be written in smartforms tool.
    e) Smartforms generates a function module when activated.
    f) Unlike sapscripts (RSTXSCRP), you cannot upload/download Smartform to your local harddisk.
    It was said that it was provided in CRM 3.0 version, but not available in R/3. You can download smartforms into Local PC in a XML format. In the same way you can upload this XML format into Smartform. From the smartform editor itself you can call download option, if you are working in CRM 3.0 environment.
    In R3 also, you can download into XML format. However, it's not sure about uploading. Refer to the program 'SF_XSF_DEMO'.
    In 4.7 Enterprise, other have seen this utlity which is completey missing in 4.6c. There is functionality to downlaod a complete form or only a particular node. (Utilities -> Download form). It will create a XML file and save it in the hard disk.
    For others, if you want to download/upload the Smartforms source, you will need the help from the Basis people. What you can do is to create a Transport and then FTP down to your local harddisk. When you need the Smartform source in another system, you have FTP up the Smartforms file back to the SAP server. Finally, the Basis team, will tp it into your system.
    g) The protect and endprotect command in sapscript doesn't work with smartforms. For example on a invoice: First data of position no 80. is printed on page one, other data of position no 80 is printed on page 2. And there's nothing you can do about it. Actually, there is something you can do about it. By using a folder node and checking the 'protect' checkbox, everything in that folder will be page protected.
    check out this link:
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    Reward points if helpful.
    Regards,
    Swathi.

  • SAP SCRIPT code problem

    521
    - Heading for trans. w/out sp.G/L indicators (item sorting method 2)-
    Transactions without special G/L indicators
    522
    - Heading for trans. with sp.G/L indicators (item sorting method 2)-
    &T074T-LTEXT&
    523
    - Heading for open item list of line items -
    &ULINE(71)&
    <K>Invoice No,,Reference.,,Inv.Date,,                   Due date,,,,
                 Balance</>
    &ULINE(71)&
    PERFORM GET_DATE IN PROGRAM ZREPORT
    USING &BSID-BELNR&
    CHANGING &S_DATE&
    ENDPERFORM.
                                                                                    530
    - Line items    Customer open items -
    &BSID-BELNR&,,&RF140-BELEGNUM&,,&BSID-BLDAT&,,&S_DATE&,,
    FORM get_date tables
            int_cond structure itcsy
            outt_cond structure itcsy.
    BREAK SNAGI.
    tables : bseg.
    data : w_belnr type ITCSY-value.
    DATA due_date TYPE rfpos-faedt.
    READ TABLE OUTT_COND WITH KEY name = 'S_DATE'.
      IF sy-subrc = 0.
        outt_cond-value = S_itab11.
        MODIFY outt_cond INDEX sy-tabix.
       ENDIF.
    SELECT SINGLE
    shkzg zfbdt zbd1t zbd2t zbd3t rebzg
    FROM bseg
    INTO CORRESPONDING FIELDS OF bseg
    WHERE
    *bukrs = bukrs AND
    belnr = int_cond-value.
    *AND vbeln = belnr.
    CALL FUNCTION 'NET_DUE_DATE_GET'
    EXPORTING
    i_zfbdt = bseg-zfbdt
    i_zbd1t = bseg-zbd1t
    i_zbd2t = bseg-zbd2t
    i_zbd3t = bseg-zbd3t
    i_shkzg = bseg-shkzg
    i_rebzg = bseg-rebzg
    I_KOART = 'D'
    IMPORTING
    e_faedt = due_date.
    outt_cond-value = due_date.
    MODIFY outt_cond INDEX sy-tabix.
    ENDFORM.
    Now the problem is that,it is int_cond-value is always picking up the first invoice number.
    and the net due date is always same for all invoices..?
    should I loop in the sap script or in the form..?

    Solved my self.
    just placing the perform and endform in 530

  • Use of IF statement in SAP Scripts

    Can u tell me how to use IF statement in SAP Scripts.
    The problem is
    if &sy-tabix& eq '1'
    total
    else
    total1.
    endif.
    this sy-tabix is not working

    i think sy-tabix will not work here....
    do like this..
    data : vtabix type i.
    loop at itab.
    vtabix = sy-tabix.
    write_form...for the text element..
    endloop.
    in form layout
    /: if &vtabix(c)& eq 1
    /:endif
    regards
    shiba dutta

Maybe you are looking for

  • How do I get google hangouts to recognize my camera

    I have a new Macbook Air running on OS X 10.9.. When I use google hangouts I can only use audio/voice, It will not access my camera. I have read multiple chat forums from the fall 2013 that share in this issue, wondering if anyone knows if the plugin

  • How can I change the shipping address to buy a calendar in iPhoto?

    Hello, I'll like to buy a calender with iphoto 11! I clicked on buy calender, i accepted the ammount, I logged in on my mobileme account and than, when it come to choose the adress i don't have any choice other than the country where my mobile me acc

  • Report in cats

    Is there any report in CATS for retrival of data of records with all status in CATSDB

  • Define namespaces at element level

    hi, Is it possible to define namespaces at element level. Consider the Below xml file, for which i have to generate a single XSD( not seperate XSD for every namespace) <sap:Envelope xmlns:sap="urn:sap-com:document:sap" version="1.0">   <sap:Header xm

  • Distribution channel availabilty check issue

    Hi, We are checking availability with GATP and the it is done well, but the delivery shows sometimes the next error: "no stock and the item is not permitted" After come testing, the error is appearing just for a type of distribution channel What can