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.

Similar Messages

  • Adding Fields to New Hire SAP Script, Text ID PAMA

    Hi there,
    I have successfully created a sapscript email to be sent via Dynamic Actions for the notification of New Hires and Terminations.  This has been accomplished via feature M0001 (we have created two new features u2013 M00NH & M00TM), dynamic action (T588z), Business Workplace, distribution lists, etc.  All are working correctly, and an email is being generated and forwarded to appropriate parties.
    Now we have been asked to add extra fields to the SAP Script text for New Hire and Termination.  These are text fields for Employee Group, Employee Subgroup, among others.
    Our syntax has been set up as follows:
    &'Employee Group:             'P0001-PERSG(02)&
    &'Employee Group Text:        'T501T-PTEXT(20)&
    &'Employee Subgroup:          'P0001-PERSG(02)&
    &'Employee Subgroup Text:     'T503T-PTEXT(20)&
    For the New Hire action, we are getting the Employee group and Employee subgroup codes to display but we are NOT getting the Employee Group or Employee Subgroup texts to display.  To confuse the issue, we ARE getting these text fields to display for the Termination script.  Our ABAP'er is also having difficulty determining how to bring in these fields to the New Hire script.
    We have researched this website have tried the instructions given by one user..... which states that we needed to go to our SAPscript text and make the following changes:
    " To get other HR data into your standard text (from SO10):
    Insert > Symbols > Program symbols (now you'll see a list of print programs, and i guess this is where the ABAP grabs the data).
    Highlight the one for HR Master data, and click the DDIC button.
    Double click the table you need data from (e.g P0000, P0001 or P0002).
    Finally select the field you want."
    I have done this, but when I get to the Program symbols, I do not see a print program for HR Master Data.  I only see RPUCOB02 - Processing of Qualifying COBRA Events and Letters & SAPMSSCE - SAPscript Standard Text Maintenance. 
    I tried to use the RPUCOB02 and inserted the text for Employee Subgroup as a test.  But it did not work as the text still did not display.
    The other oddity is that for the Termination sapscript text, the Employee Group and Employee Subgroup text displays correctly.  To test our syntax, we then connect the Termination sapscript text to the 'New Hire' action and reran the New Hire action.  The Employee Group and Employee Subgroup text fields then disappeared.  So it worked when the action was a termination, but did not work when the action was New Hire.
    The difference between these two actions is that the feature for the sapscript generation for New Hires is being generated upon saving of I0002 (which is created AFTER I0001) - we needed the Employee's name in the text.  For the Termination action, the feature is set to generate the mail upon saving of I0001.  This is the only difference between the two.  But as I need the employee name to display, it seemed the best approach.  I did try to generate the New Hire sapscript after saving of I0008, but had the same problem. 
    Does anyone know how we can add text fields to our New Hire sapscript text and actually get them to display?  We would also like to display the Org Unit text (&'ORGEH_2nd_TEXT(40)&) or even  the Supervisor (from the OM relationship).  But they do not display for the New Hire sapscript either. And our ABAP'er is able to insert the Supervisor logic, but the field still does not display.
    Thanks very much for any help.
    Edited by: Cathryn Westgarth on Nov 17, 2009 6:23 PM
    Edited by: Cathryn Westgarth on Nov 17, 2009 6:24 PM

    I am going to repost this question to the HR forum as it may be more appropriately an HR forum questions.
    Thanks
    Cathryn

  • Formatted Text Edit & SAP Script Text

    I'm working through a business requirement to input some long text, and then update an existing SAP script text object (attached to a sales order).
    I'm using a formatted text editor to allow the users to enter the text - however I can't find a utlity that allows me to convert this data into a format that can be saved into a sap script text.
    Thanks,
    Heather

    Hi Heather,
    Please check this...
    Re: From Web Dypro Text area to SAP Script  text object(Tline table)
    http:///Tutorials/Smartforms/PassingTableData/Script1.htm ... add saptecnical.com before tutorials.
    Cheers,
    Kris.

  • Why do we use include in sap script text element

    Hi SDNers,
    Why do we use include statement or what does that stands for in an text element of a sap script.
    Details with examples and explanation please
    Thanks & Regards,
    Ranjith N

    Hi Ranjith,
    Please go through this.
    &VBDPL-ARKTX&
    /: INCLUDE &VBDPL-TDNAME& OBJECT VBBP ID 0001
    If your include contains
    = arflebarflegloop
    and vbdpl-arktx contains 'myarticletext'.
    Then the output document will contain a line:
    myarticletext arflebarflegloop
    If the include contains
    arfelbarflegloop
    then the output document will contain the lines:
    myarticletext
    arflebarflegloop
    (Subject to whatever the prevailing paragraph format is - * means use current format).
    Think about what would happen if instead of having an include, you hardcoded the text of the include in your sapscript.
    I found this at http://www.sapfans.com/sapfans/forum/devel/messages/31158.html
    Regards,
    Sharat.

  • Sap script text printing issue..

    Hi,
    I have a SAP script with a text symbol say &abc& defined in the SAP script main window.
    From the print program I want to pass some text to this text symbol.
    In the print program I have an internal table with lines of text, sometime it can have just one line of
    text CHAR512 length or it can have multiple lines of char512 length text.
    Now how do I pass these lines to the text symbol &abc& ?
    I tried to do the following, but it does not help...
    DATA l_data TYPE STRING.
    loop thru the internal table
    concatenate l_data with text got from internal table
    endloop
    CALL FUNCTION 'TEXT_SYMBOL_SETVALUE'
        EXPORTING
          name   = '&abc&'
          value  = l_data
        EXCEPTIONS
          OTHERS = 0.
    I debugged and saw that l_data has most of the text (not all) but the sap script's printed output
    has only few text.
    what should I do to get all the text displayed on the printed output ?
    thnks

    Hi Vivek,
        Including two work area next to each other should not be a problem because i am doing the same thing. Check whether the length of field of work area one is over lapping the field of other work area.
    Note: Reward points if helpful.
    Cheers,
    Shafiq

  • SAP Script - Text in BOX.

    Hi all,
    This is the following code I have written.
    /: POSITION MAIN /* name of the window */
    /: BOX XPOS '0' CM YPOS '0' CM FRAME 10 TW
    /: BOTTOM
    /: BOX XPOS '2' CM YPOS '23.3' CM WIDTH '17' CM HEIGHT '1' CM FRAME 5 TW
    p1 Conditions apply /p1 is paragraph format*/
    /: ENDBOTTOM
    I have a main window and I have a box at the bottom of the main window. Now I want to write the text "Conditions apply" in that box.
    Can anyone please help me with this.
    Regards,
    Varun.

    Hi Varun,
    Please do the following at "p1 Conditions apply /p1 is paragraph format*/":
    For Normal text
    /*  IF Condition
    /:If &EKPO-WERKS& EQ '101'  '.
    /*  Write your text
    /: &TEXT&  "--Write your text
    /:ENDIF.
    For Include TEXT (Text maintained as Standard text):
    /* --IF condition
    /:If &Varible& EQ 'X'. 
    /* Write include text ZTEXT--Replace with ur Standard text
    /: INCLUDE ZTEXT  OBJECT TEXT ID ST LANGUAGE EN PARAGRAPH ST
    /:ENDIF.
    Hope this may help you.
    Lanka

  • Need logic in sap script text elements.

    Hi experts
    I need a logic for the below requirement in text elements.
    I am giving IF condition for some tax codes against to C - Form., But my condition given in second line is getting failed  .
    my condition logic
    /:       IF &EKPO-MWSKZ& = 'CA' OR &EKPO-MWSKZ& = 'CC' OR &EKPO-MWSKZ& = 'CD'
    /:        &EKPO-MWSKZ& = 'DA' OR &EKPO-MWSKZ& = 'DE'.
    T2     ,,SALES TAX/VAT&V_VAT_PER& u201CAGAINST C FORM",,,,,,,,,,&V_VAT_sum(C)&
    /:        ELSE
    T2       ,,SALES TAX/VAT&V_VAT_PER&,,,,,,,,,,&V_VAT_sum(C)&
    Please let me know what is to be given TAG COLUMN  for second line in IF condition .
    and i am getting correct output for tax codes CA CC CD which are given in first line, But no getting the correct out for tax codes DA and DE.
    Thanks & Regards
    Suresh
    Edited by: suribabu124 on Apr 21, 2010 5:19 PM

    Hi,
    in the below i feel that you forgot to mention the OR condition.
    /: &EKPO-MWSKZ& = 'DA' OR &EKPO-MWSKZ& = 'DE'.
    soultion like.
    /: IF &EKPO-MWSKZ& = 'CA' OR &EKPO-MWSKZ& = 'CC' OR &EKPO-MWSKZ& = 'CD' OR
    /: &EKPO-MWSKZ& = 'DA' OR &EKPO-MWSKZ& = 'DE'.

  • 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

  • Purpose of RSTXTRAN program for SAP-Script ?? ??

    Purpose of RSTXTRAN program for SAP-Script ?? ??
    when it is required to run that program ?

    Hi sarit,
    Purpose of RSTXTRAN program for SAP-Script Transfer of SAP script Texts to a Correction.
    The report RSTXTRAN allows a set of SAP script texts (or the text key) to be transferred to a correction or repair of the transport system. The name of the correction/repair can either be transferred as a report parameter, or the correction/repair can be selected later in a selection window. The text key can be qualified generically using the asterisk character (*).
    When the report has been executed, the list of selected texts appears. Individual texts can be deselected in this list. When the function "Continue" is executed, the final list of texts which are to be transferred is displayed. The transfer of texts to the correction/repair can now be activated by the appropriate function, and must be confirmed in a dialog box.The requirements for this as follows.
    There is a correction/repair in which the selected text keys can be entered, if it is not being processed. The report can only insert text keys in corrections or repairs, not however in transport requests. However, the objects contained in a correction can be transferred to a transport request with the correction and transport system transaction.
    It should also be noted that the report selects texts in the current client, but that the transport system generally exports texts from client 000.
    When the report has been executed,the output can be a list of the selected texts. Information about whether transfer to the correction/repair was possible is displayed for each text key.
    Reasons for failed transfer include
    o the correction/repair is currently being processed
    o the correction/repair does not exist
    For Example
    All German standard texts with the ID ST, whose names begin with SAPSCRIPT, are to be entered in the correction B20K009999. The report parameters are then assigned values as follows:
    o Correction: B20K009999
    o Text object: TEXT
    o Text name: SAPSCRIPT*
    Thanks,
    Usha

  • Queries of SAP Script

    Hi Freinds,
    Can You Please tell me what is the purpose  of 'DEFINE' 'CHANGING' and 'USING' in sap script text.
    Why we use perform statement in sap script  text.
    Thanks in advance.

    Hi Amar,
    'DEFINE' is used to declare variables and assigning values to it.
    Ex: DEFINE &VAR1& = 'ABC'.
          DEFINE &VAR2& = SPACE.
    USING and CHANGING is a part of PERFORM.
    PERFORM is basically used to call a FORM which could be written in a subroutine pool. A subroutine pool is needed to fetch the data or performing commands such as 'LOOP-ENDLOOP' as script is not capable of handling it.
    Thus to pass values to the FORM from PERFORM we use 'USING' and to retrive the values(the calulated one) from FORM back to PERFORM we use 'CHANGING'.
    EX. DEFINE &VAR1& = '5'
          DEFINE &VAR2& = '4'.
    PERFORM 'SUB_CALCULATE' IN PROGRAM 'Z_ADD'
    USING &VAR1&
    USING &VAR2&
    CHANGING &SUM&.
    Here 'SUB_CALCULATE' is PERFORM name
           'Z_ADD' is SUBROUTINE POOL name
    Now values '5' and '4' will be paased to subroutine and logic for their sum will be written in that and it will return the value '9' to 'SUM'.
    Syntax for 'FORM' will be:
    FORM sub_calculate  TABLES:input_sum STRUCTURE itcsy
                               output_sum STRUCTURE itcsy.
    Reward points if helpful.

  • 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...

  • 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

  • SAP SCRIPT Header text and Item text not printing in customized PO

    Hello Experts,
                          I have copied the standard MEDRUCK to ZMEDRUCK and customized the form according to the requirement.
    I want to print the header text and Item text in my form.
    For Header text I have used :
    /: INCLUDE &EKKO-EBELN& OBJECT EKKO ID F01
    Problem 1: The text what I enter in header text is flowing only when I hit on print preview without saving the form. Once I save the SAP SCRIPT  and click on print preview the field is appearing blank. I also tried to print the form, but the field is appearing blank even on the print out.
    Problem 2: For item text the field is concatenation of  EBELN & EBELP. Can anyone suggest me how to concatenate and fetch the text in item text.

    Hi,
        Im getting an error in my subroutine pool for i_xtline which is to fetch ITEM TEXT., It says its not a in any internal table nor defined as data. How can I proceed further. I have pasted my code below. Please check and revert ASAP
    PROGRAM  ZMEDRUCK_SUBP1.
    TABLES: EKPO, EKKO.
    FORM fetch_table_data TABLES in_tab STRUCTURE itcsy
                                 out_tab STRUCTURE itcsy.
    data xname like THEAD-TDNAME.
    data i_xtline like xtline.
    clear i_xtline.
    refresh i_xtline.
    CONCATENATE EKPO-ebeln EKPO-ebelp INTO v_item_text.
    MOVE v_item_text to ITEMTXT.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
      CLIENT                        = SY-MANDT
        id                            = F01
        language                      = EN
        name                          = ITEMTXT
        object                        = EKPO
      ARCHIVE_HANDLE                = 0
      LOCAL_CAT                     = ' '
    IMPORTING
      HEADER                        =
      tables
        lines                         = i_xtline
    EXCEPTIONS
       ID                            = 1
       LANGUAGE                      = 2
       NAME                          = 3
       NOT_FOUND                     = 4
       OBJECT                        = 5
       REFERENCE_CHECK               = 6
      WRONG_ACCESS_TO_ARCHIVE       = 7
      OTHERS                        = 8
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.

  • How to use Standard text in SAP SCRIPTS

    Hi all,
    Please tell me how can we use the standard text what we have created in SO10 with sap scripts.

    Hi Gaurav
    You can create standard texts using the transaction SO10. Then to insert these standard texts in the SAPScript choose the menu, Insert->Text->Standard and choose the standard text that you want to choose.
    Alternatively, you can display standard texts in your SAP Scripts using the command:
    INCLUDE ZSTEXT OBJECT TEXT ID ST LANGUAGE EN
    where ZSTEXT refers to the Standard Text name.
    Reward pts if found usefull
    Regards
    Sathish:)

  • How to end text element in sap script

    how to end an text element in sap script
    this is the format.
    /E text element name
    &tablename-fieldname&
    text-text-text-text
    now if i do not end that text element it is not displayiny my below text , so what to do in this case

    Go through the links mentioned below.
    http://www.****************/Tutorials/Smartforms/SFMain.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
    http://www.sapmaterial.com/smartform_example.html
    Re: Hands on SAP Smart Forms
    smartforms
    Reward points if useful.

Maybe you are looking for

  • In Solution Landscape Application Servers are not displaying

    Dear All, We are integrated SOLMAN (7.0 Ehp1) server with R/3 Dev,Qua,Prd servers but in DSWP >Operations>Solution Monitoring-->System monitoring / Administration .We can see the Dev,Qua,Prd servers but our requirement is under Dev server we have 4 a

  • Link Excel to PDF Document

    I have seen lots of posts for linking a pdf to excel. Nothing related to what I want to do. We use Adobe Acrobat Profesional 7.0.9. I work with excel for bidding purposes(I am in construction) I have a bid document that has several lines where after

  • Compiling flex 2 charts.swc ?

    Hello, I am working with Flex 2 charting and am hoping to find an ant build file (similar to build_framework.xml) that would allow me to re-compile the charting source. I have a license, and already have the source files themselves, but am not really

  • Problem encountered when installing ldif file

    I have installed SunOne Directory Server 5.1 on windows 2000 server. then, when I try to install one ldif file using ldif2db.bat , it always give wrong command format message. D:\Program Files\Sun\MPS\slapd-tcsch166-server>ldif2db.bat -i lifeSIT.ldif

  • EIGRP load balancing when using HSRP on LAN

    Hi  I have a question about my topology. I have two routers  with EIGRP on both of them connected through 2 ISPs to other site. On those routers i have HSRP runing. Now my question is: HSRP is standby/active protocol so when one router act as active