Calling standard text to script

Hi,
I created standard text using so10. How can I call this text to my script program??
Is there any other way to acheive this??
Thanks,
Ravindra

Hi Ravindra,
By using INCLUDE command you can insert the standard text in script editor.
please go throught the help command for include command and it will explain you in detail.
One more thing regarding that,when you have to transport your request to QA system,  you have to include the standard text in your request otherwise your standard text will not be visible in the QA.
To include your standard text to your request in DEU, run  program RSTXTRAN.
Regards,
Tarun

Similar Messages

  • Location of standard text in scripts

    hi,
            where will be the standard text in script?
    regards,
    bbr.

    SO10 is the T-code.
    You can call the FM Read_text.
    you should pass the below values to FM
        id                            =
        language                      =
        name                          =
        object                        =
      tables
        lines                         =.
    Regards,
    Rajasekhar Reddy.

  • Using Standard text in scripts

    Hi all,
    I had a problem while printing standard texts in scripts.
    I Know how to print standard text if we have to print it from the begining of window using
    INCLUDE &T024E-TXADR& OBJECT TEXT ID ADRS LANGUAGE &EKKO-SPRAS& PAR
    But my problem id i have print it after a hard coded text like
    Delivery schedule: 'here i have to print the standard text'.
    can any one please help me out how to solve the problem
    Thanks & regards
    sreehari p

    Hi,
    Here's one my brother taught me - you can actually trick the system to accommodate this requirement.
    Ensure that you use 2 different paragraph formats in your INCLUDE statement, using the PARAGRAPH and NEW_PARAGRAPH clauses, ie.
    INCLUDE &T024E-TXADR& OBJECT TEXT ID ADRS LANGUAGE &EKKO-SPRAS& PARAGRAPH P1 NEW-PARAGRAPH P2
    Paragraph P2 (which will be used as the first line) should be created as having a Line Spacing value of 1 TW (1 twip) which is less than 1/1000th of an inch.  Also, set the Left Margin value to an offset which brings the text to the right of the Delivery schedule literal.
    Paragraph P1 (which will be used for all subsequent lines) should be set up as normal - ie. use the same paragraph format as that for displaying your "Delivery schedule:" literal.  If you need the text to be indented in line with the first line, then copy your existing paragraph to a new paragraph but set the Left Margin value to the same as that in P2.
    What this does is to output the first line of text indented by the margin after skipping 1 twip, giving the illusion that it's actually on the same line.  Since subsequent lines are output with a normal (or normal/indented) paragraph, that just follows with normal spacing on subsequent lines.
    Hope this makes sense.
    Regards,  Andy

  • Difference jb/w text symblosin script and standard text in scripts

    hi to all
    can u pols explain about the
    difference b/w text symblos in script and standard text in scripts

    hi
    Default paragraph Paragraph set to * in <b>standard text</b> maintenance
    If no form has been assigned to a text, the system automatically assigns the form SYSTEM, which contains minimal definitions for text formatting. There are two ways of formatting texts using forms: • Use the <b>standard text</b> maintenance to enter and print the text.
    Any kind of text can be included in a form. If no object is specified, then TEXT will be used (<b>standard texts</b>).
    <b>
    Text Symbols</b>
    Text symbols acquire their values as a result of explicit assignment. To interactively assign text symbols, in the text editor choose Include &#61614; Symbols &#61614; Text. This method is available for all text symbols belonging to a text module as well as those of the associated form. Values defined in this way are lost when the transaction is left. If you want to print the text module again, then you must enter the symbol values again. The purpose of the DEFINE command is to provide a means of making this value assignment a permanent part of the text, so that the values are available again when the text module is called again. This command can also be used to re-assign a new value to a text symbol half-way through the text. Syntax: /: DEFINE &symbol_name& = 'value'
    /: DEFINE &subject& = 'Your letter of 7/3/95' The value assigned can have a maximal length of 60 characters. It may itself contain other symbols. A symbol contained within the value assigned to another symbol is not replaced with its own value at the point at which the DEFINE command is executed. Rather, this replacement is made when the symbol defined in the DEFINE command is called in the text.
    /: DEFINE &symbol1& = 'mail' /: DEFINE &symbol2& = 'SAP&symbol1&' /: DEFINE &symbol1& = 'script' &symbol2& -> SAPscript If, however, the DEFINE command is written using the ':=' character rather than the '=' character, then any symbol contained within the value being assigned is replaced immediately with its current value. The assignment to the target symbol is made only after all symbols in the value string are replaced with their values. The total length of the value string may not exceed 80 characters. The target symbol must be a text symbol, as before.
    /: DEFINE &symbol1& = 'mail' /: DEFINE &symbol2& := 'SAP&symbol1&' /: DEFINE &symbol1& = 'script' &symbol2& -> SAPmail
    Inserting <b>Text Symbols</b>
    Procedure
    Inserting a Text Symbol
    1. Choose Insert &#8594; Symbols &#8594; Text.
    2. Place the cursor on the desired text symbol.
    3. Choose Choose.
    4. The system inserts the text symbol.
    Editing the Value of a Text Symbol
    1. Choose Insert &#8594; Symbols &#8594; Text.
    2. Choose Edit value bearbeiten. The dialog window Value definition for symbol <text symbol> appears.
    3. Enter the appropriate value definition.
    4. Choose Continue. In the dialog window Text symbols the specified value appears after the name of the text symbol.
    5. Choose Continue.
    Deleting all Text Symbol Values
    1. Choose Insert &#8594; Symbols &#8594; Text.
    2. Choose Delete all values. The system deletes all defined values.
    3. Choose Continue.
    Using Formatting Options for Text Symbols
    1. Choose Insert &#8594; Symbols &#8594; Text.
    2. Choose Options. The dialog window Formatting options for <text symbol> appears.
    3. Fill in the fields.
    4. Choose Continue.
    5. Choose Continue. The system executes the selected formatting option.
    regards
    ravish
    <b>plz reward points if helpful</b>

  • Dynamic STANDARD TEXT in scripts

    Hi friends,
             I have to include standard text in the script corresponding to the company code. For example if company code = 6100, I have to include standard text SD_6100, or else if 2000 I have to include SD_2000. Here I can use IF statement. But If company codes are 20 or 30 then it is difficult to write that many IF statements. And in future if they increased the company codes then we should write one more if statement.So is there any method to include the STANDARD TEXT dynamically.
    Sathish Reddy.

    Hi satish ,
    create the standard text in tcode SO10 .
    now u can create this with respect to company code
    /:  case & - bukrs&
    /:    when '20'
        text
    /:   when '30'
        text for 30
    /:   endcase.
    so by doing this u ll trigger the corresponding text for company code .
    now  to include the std text in your form
    just call the standard text IN THAT WINDOW AS ...
    /: INCLUDE Z_XXXXX OBJECT TEXT ID ST LANGUAGE EN
    remarks,
    Dynamically if u want to trigger the standard text u can go for IF end if logic as u stated or a case endcase..
    there is no alternate .
    regards,
    VIjay
    Message was edited by:
            Vijay k

  • Calling SO10 text into script

    hi experts,
                  i have created a text in SO10 with
    text name : ZTEST
    LANGUAGE : EN
    TEXT ID : ST
    TEXT OBJECT : TEXT
    USER NEED A EDITABLE TEXT IOPTION AND I HAV CREATED IT .
    NOW I AM CALLING IT IN THE SCRIPT BY USING THE SYNTAX
    INCLUDE TEXTNAME ZTEST OBJECT TEXT ID ST LANGUAGE EN
    BUT IT IS NOT PRINTING ,...WHAT IS THE PBLM ....

    Hi,
    You can insert standard text(Transaction SO10) in SAPscript as following:
    Go to editor of SAPscript form 
    Select menu Insert -> Text -> Standard
    Input text object.
    Select  when you already input text object detail. System will automatically insert statement for including text object to SAPscript form.

  • Call Standard Text by report replacing the variables with their values

    Hi,
    I have a requirement to call a standard text from a report.
    Following is the text present in standard text.
    &PTXT1-ENAME& will attend for interview
    on &MEMOACT-PLDAT& at &MEMOACT-PLTIM&.
    I am doing it by using READ_TEXT. But READ_TEXT reads the entire text as it is.
    Is there any way I could retrieve the standard texts with  &PTXT1-ENAME& replaced by the value of  PTXT1-ENAME in report. And similarly &MEMOACT-PLDAT& replcaed with its actual value.
    Any pointers in this regard would be helpful.
    Points will be awarded.
    Regards,
    Mayank Agarwal

    Hi,
    In the Text
    &PTXT1-ENAME& will attend for interview
    on &MEMOACT-PLDAT& at &MEMOACT-PLTIM&.
    do not use the * as a paragrapgh , use /: as the paragraph
    Regards
    Sudheer

  • Standard text in scripts

    Once we create standard text using SO10 transaction, how to use it in the script, I mean, where should we write??

    Hi,
    You will have to use a INCLUDE statement for the same.
    /: INCLUDE 'Z..' OBJECT TEXT PARAMETER...
    Take a look at this thread ...
    Re: Query Regarding INCLUDE statement in SAP Script
    Regards,
    Ravi
    Note : Please mark the helpful answers

  • Calling long text in script

    Hi everyone,
    can any one say the function module used to call the long text in scripts.

    Hi
    You can use read_text function module
    Important thing to notice while using READ_TEXT is that
    TEXT-ID field needs to be properly created based on Order number, Item no, Slaes Org, Distribution channel etc.
    Most of the time You will find that Sales organization field is of 4 characters lenght, (Say 0001) in this case Since SAP discards first 3 zeroes of the number to blank spaces, you need to append zeroes to the final text-id field making it of required 20 characters key field (Say).
    Therefore, you need to take care of append zeroes, shift spaces, concatenate command, etc. which depends on your scenario.
    you have to check the following parameters
    ID: this textid
    language:language u maintained the text,this also important
    name: The no in which text-id is maintained
    Usually we make mistake here,the no is combination of purchase order no and item no.
    Example:420000210000010(Puchase orderno:4200002100 item no:00010)
    Object:it change based on the text-id so u can check it the document no.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    id = p_var
    language = g_f_langu
    name = g_f_tdname
    object = g_f_obj
    TABLES
    lines = g_t_lines
    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.
    Hope this definitely help.
    Regards
    - Atul

  • To transport STANDARD TEXT for  script

    Hello Experts,
          Can any one give clarification
    'Hou to transport STANDARD TEXT for a script'.
    Regards,
    Kumar

    Hi,
    Use RSTXTRAN Standard Program..
    Do Like this..
    Goto se38 and enter program name as RSTXTRAN
    and press F8..
    and give Text-key Name as Standard Text Name
    then Press F8..
    And select Select check box.. and enter
    and press on trsfr to corr button..
    it asks transfee textxs to a correction..
    press on yes button..
    it will show request  number or create your own request...
    and after goto SE10 tcode and Transport it...
    Message was edited by:
            Vishnu Reddy

  • Standard text in script

    how to change standard text in script

    Hi
    Check the following links too,
    http://help.sap.com/saphelp_nw04s/helpdata/en/f4/b49ea6453611d189710000e8322d00/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/3f/bd1edf1b9a421da8b84be03c86b301/content.htm
    http://www.sappoint.com/abap/sscript.pdf#search=%22changing%20standard%20text%20(sapscript)%22
    Please reward for the same.

  • Regarding printing of standard text in scripts

    Hi every one,
       I am  Dinakar. I had a situation where i am printing the standard text for
       Terms & Conditions.
       my page is able to print only 15 terms pr page.
       but my problem is that few line from the last (15th) terms & condition r missing
       in the first page. from 16th terms & conditions r printing properly.but again from third page remaining terms and conditions r completely missing.
    please help to complete this situation.
    Thanks & Regards
    Dinakar.

    Hi Dinakar,
    Try to keep the statments you want to display in a single page use <i>PROTECT</i> and <i>ENDPROTECT</i>.
    /:  PROTECT
    p1 standard text1
    p2  standard text2
    p13: standard text15
    /: ENDPROTECT
    Thanks,
    Sreekanth
    <i>*-- do not forget to reward if it helps you ;)</i>

  • Requirment Urgent: How to format standard text in Script like two columns.

    Hi,
    I want to format the text in two columns like this.
    1. This is the note. 5. This is the note.
    2. This is the note. 6. This is the note.
    3. This is the note. 7. This is the note.
    4. This is the note. 8. This is the note.
    I have to include a standard text and format like this.
    Thanks in advance.

    Hi,
    You have to create a paragraph format and create two tabs according to your column positions.
    and write.
    ,,&column1& ,,&column2&
    Regards,
    Wasim Ahmed

  • How to convert a Word Document to SAP SCript standard text.

    Hi team,
    Does any one know how to convert a word document or text in Word format to standard text.
    So that we can use that standard text in Script output.
    This might be very useful if we need to convert a lot of text into standard text.

    Hi,
    Create the name of the standard text you want in SO10.
    When the editor is called up, select Text -> Upload and then browse for your file(s). Must be saved in RTF format in Word remember.
    Cheers
    Colin.

  • How to call Subroutines,Standard Text  & using Internal Table in SmartForm

    Hi all,
    need help in the following areas.Its very urgent!
    1.How to CAll Subroutines in Smart Forms
    2.How to CAll Standard Text in Smart Forms
    Situation:
    We have an Internal Table T_SALES with all the data which am going to display in the smartform,How to retrive data from an internal table in Smart forms
    Any Help in this direction would be highly appreciated.
    Regards
    Ramu

    Hi,
      When you are using quantity or currency fields, you have to mentiong the reference fileds in a tab called CURRENCY/QUANTITY FILEDS in the GLOBAL DATA node.
    Specifying a Currency or Quantity Reference
    Use
    In the ABAP Dictionary, you can assign a currency or quantity field to a table field. In the output of these fields, the system can then insert the relevant currency or unit:
    ·        If the value field is in the same table as the corresponding currency or quantity field, the system recognizes the reference automatically, and formats the value field according to the currency or unit in the assigned field.
    ·        If the value field is in a different table from the currency or quantity field, the system cannot recognize this reference automatically.
    In the second case, you must indicate this reference to the system in the form, to ensure that the value field is formatted correctly.
    Procedure
    You want to assign a currency or quantity field in one table (for example, CURTAB) to a value field in another table (for example, VALTAB).
           1.      Create the reference to the currency field by entering the following values:
    -         Field Name: VALTAB-VALUE, if this is the value field of VALTAB that you want to display.
    -         Reference Field: CURTAB-CURRENCY, which is the currency field of CURTAB.
           2.      Under Data Type, specify whether the data type is a currency or quantity.
    Result
    In the output of the PDF-based print form, the system formats the value field VALTAB-VALUE according to the assigned value in the currency or quantity field of the global variable CURTAB-CURRENCY.
    Thanks and Regards,
    Bharat Kumar Reddy.V
    Message was Added by: Bharat Reddy V
    Message was Added by: Bharat Reddy V

Maybe you are looking for

  • Getting error while expanding SQL Server 2012 agent.

    Hi All, Server Version Details: Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64)     Oct 19 2012 13:38:57     Copyright (c) Microsoft Corporation     Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) We are using SQL S

  • Can imported EPS color graphic print as black in CS3 (Mac)?

    I am switching to ID from PageMaker 6 (Mac) and wonder why the newly opened document will only print graphic files (EPS) in composite gray instead of black? There is no option for black output except for text. All other options are Composite gray, RG

  • How to generate customize employee number

    Hi, I am trying to generate customize employee number and for that i have taken following steps 1. I changed employee number generation from automatic to manual 2. I created a sequence 3. I wrote a pl/sql code to create a customize employee number us

  • Problem in dynamic internal table

    hello experts, i have developed a report the out put is as shown: first screen:  i will be entering one 'z' or 'y' table name dynamically. second screen: a popup screen with checkboxes and the field names of above particular table entered.           

  • Display Doc ID with Link to the Property page in SharePoint 2010

    Good Morning.  I have been asked to add the DocID to the search results.  Part two is to have that docID link to the property page for the item. I have added DocID to fetched property's and can display it fine on the page but I am having problems cre