SmartForm - Processing Standard text

Hi,
I want to read a Standard text and put it in the SmartForm footer based on Bill-to Country. I am not sure hwo to read the Standard text. Can you please provide me with a solution? Appreciate Your Help in Advance.
Thanks,
Kannan.
<MOVED BY MODERATOR TO THE CORRECT FORUM>
Edited by: Alvaro Tejada Galindo on Oct 9, 2008 3:26 PM

for this there is no coding required..follow the steps
if you created the standard text using SO10 then take the textname, text id will be ST , textobject TEXT
language it depends on your requirement.
Go to smartform , if you want the text to be in footer then open the footerwindow, if you already created the text element then Go to general attributes of the Text, there you need to change the Type of the Text to include text from the dropdown list box. once you change it you have options to specify the Textid, Textname, TextObject etc.
if you don't understand let me know.

Similar Messages

  • How to attach logos in smartforms using standard text??

    logos in smartforms using standard text

    Hi,
    After going into SO10>Menu Bar->Include->Graphics-->Select the logo you have to include that in the standard text. ->save->Activate.
    IN the smartform.
    Create a Logo Node and fill the information in the right side under general attributes.
    Name---Standard text name.
    Object
    Id.
    You can upload the logo using SE78.
    Thanks,
    Sree.

  • Smartforms : print standard texts or texts out of document with command in.

    We used to have an output via Sapscript (printout of a purchase order) and the output was containing standard texts or text out of the purchase order, which contains commands (a test in the standard text or an include of another standard text). This text was correctly printed via sapsript, command were taken into account.
    Now we have a new output for the purchase order which is working with smartforms. When working in the smartforms with a text type 'include text', commands in the text are not working.
    When working with smartforms, is it not possible to include texts (out of the STXH table) which contains commands? These commands are not taken into account.
    Thanks.

    Thanks for the answers!
    Example how they work here : in the material master, purchasing text => somtimes include of a 'standard' text. This to avoid typing the text in all materials which use this text. We can avoid this by instead of including the text, to 'append' the standard text.
    Also in some standard texts, some tests were done (on output type, purchasing organisation,.....) which we can change by reading the text in the print program and building those tests in the print program itself.
    I just wanted to be sure that there was a possibility or not in Smartforms to work like that because we worked like this using sapscripts and it worked fine.
    We will change this way of working and build the logic into the print program. We will inform the master data team not to use the 'include' command into a material master text but instead append the standard text directly into the material master text.
    Best regards,
    Ann.

  • Standard text printing missing on Smartform

    Hi All,
    I am using standard text in Smartform.
    Standard text contains 'terms and conditions' hence it's used for printing in second page.
    For printing standard text one window other than Main window has been created in second page.
    Now when I am taking print preview of smartform only two pages are visible and on second page complete standard text is not displayed. As standard text is of two pages then rest missing text should come on third page as a continuity.
    But missing standard text is not getting diplayed.
    Any suggestion what shall we do to print complete standard text.
    Regards,
    Amit
    Edited by: Amit  Singh on Nov 25, 2010 11:38 AM
    Edited by: Amit  Singh on Nov 25, 2010 11:39 AM
    Edited by: Amit  Singh on Nov 25, 2010 11:39 AM

    I tried to use the 2nd option provided by you but still this prolem is not resolved.
    Missing Standard text is not going in a new page.
    I tried to expand the window size and now entire text is coming in a single page. But by this way page window is not same as in a first page.
    Is there any otherway to print the rest missing text in next page of the smartform.
    Regards,
    Amit

  • Give some functionlity of standard text

    hi guru
    please tell me  functionlity of standard text,where exactly it use.
    thanks
    subhasis

    we use standard text for scripts and smartforms.......
    You can insert standard texts, texts of the online documentation, and hypertext modules into your document. You can insert texts directly and include them by reference.
    When inserting text directly, the text is inserted in the editor in formatted form. You can then edit it further.
    Inserting Standard Text
    Choose Insert ® Text ® Standard.
    The dialog window for inserting text appears.
    Enter the text name, the text ID, and the language. To insert the text directly, select Expand immediately.
    Choose Continue.
    There are two ways to format texts with forms:
    In the standard SAPscript text processing (Tools ® Word processing ® Standard text), you can select a form for a document. You can then type text into the main window of the form and output the document in the format defined in the form.
    For example, you can select a form for a letter. You can then type the body text of the letter in the main window. When you print the letter, the default text elements in the other windows of the form (heading, footer, and so on) are printed with the body text.
    To include the contents of another text into the current text, use the INCLUDE control command. SAPscript still treats the text to be included as a separate text. The text is copied over only at the point at which the output is formatted.
    Thus the use of the INCLUDE command always ensures that the most current version of a text is included into the output, since the text is not read and inserted until the output is formatted.
    Syntax:
    /: INCLUDE name
    You must specify the name of the text to be inserted. It can be up to 70 characters long. If the name of the text contains spaces, then you must enclose it in quotes as a literal value. You can, alternatively, specify the name via a symbol. All remaining parameters in the INCLUDE command are optional. If an optional parameter is not specified, then SAPscript uses default values as applicable for the calling environment.
    /: INCLUDE MYTEXT
    The text MYTEXT is included in the language of the calling text.
    /: INCLUDE MYTEXT LANGUAGE 'E' PARAGRAPH 'A1'
    The text with the name MYTEXT and the language E is included, regardless of the language of the calling text. The paragraph format A1 will be used as the standard paragraph type for this call.
    Optional parameters:
    LANGUAGE
    If this parameter is not specified, then the language of the calling text or the form language are used for the text to be included. If the language is specified, then the text will be fetched in this language, regardless of the language of the calling text.
    PARAGRAPH
    The text to be included is formatted using the style allocated. The PARAGRAPH parameter can be used to redefine the standard paragraph for this style for the current call. All *-paragraphs in the included text will then be formatted using the paragraph specified here.
    NEW-PARAGRAPH
    The first line of the text to be included will be given this format indicator, as long as it is not a comment or command line. If the optional PARAGRAPH parameter (see above) is not specified, then all *-paragraphs of the included text will also be formatted using the paragraph specified in the NEW-PARAGRAPH command.
    OBJECT
    In order to completely specify a text, information about the text object is also required. There are a number of restrictions and other rules that depend on the object type of the calling text:
    Any kind of text can be included in a form. If no object is specified, then TEXT will be used (standard texts).
    In the case of a document text (DOKU object), you can include only document texts. This object type is also assumed if no object is specified in this environment.
    Only hypertexts and document texts can be included in a hypertext (DSYS object). If the OBJECT parameter is missing, then DSYS is used as the default value.
    In the other kinds of text you can include only standard texts (TEXT object), document texts or hypertexts. If there is no specification, then the default object is TEXT.
    ID
    The text ID is a part of the text key, which permits further text objects within a given object. If no ID is specified, then the default include ID is used from the TTXID table for the calling text. If there is no entry in this table, then the text ID of the calling text is used.
    The following consistency check is applied both to the ID and the object:
    All text IDs are allowed in a form.
    In document texts, only document texts may be included that have text IDs TX (general texts) or UO (authorization objects) and also other document texts with the same text ID as the calling document text.
    In DSYS texts, all DSYS texts can be included, whatever ID they have. Document texts to be included must have one of the IDs TX or UO.
    Into the other texts, standard texts with any allowable text ID, DSYS texts with all IDs, and document texts with the IDs TX and UO can be included.
    The INCLUDE command returns a status code in the SAPSCRIPT-SUBRC symbol:
    0: the text include was successful.
    1: the command could not be executed because it contained syntax errors.
    2: the rules governing the text to be included were not followed (see above).
    This value cannot occur if the command is used in a SAPscript form.
    4: the specified text could not be found.
    reward points if helpful

  • 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

  • Smartforms,How to display different standard Text in a Text element.

    In smartform,if I want to according to the different conditions,display one of the serveral different standard Text objects which all  maintained in SO10 in a same text element,how to do it?
    if i put them in serval text elements, each condition only display the corresponding text element,but the text content can not display in the same position.
    Is there anyone can tell me?
    thanks.

    use Alternative to control it no problem
    for example you want to display the different SO10 to same position TEMPLATE's row 1 col2
    TEMPLATE1
    Alternative case1
    YES
    INCLUDE TEXT1(display SO10) [set output option line1 column2]
    NO
    Alternative case2
    YES
    INCLUDE TEXT2(display SO10) [set output option line1 column2]
    NO
    Alternative case3
    every case your SO10's text is always display at line2 column2
    just try to test it ,you can know

  • How to add standard text in smartforms?

    Hi friends,
    How to add standard text in smartforms ?
    points rewarded soon
    Regards
    RH

    Creating the Standard Text:
    Go to SO10
    1. Enter Text Name.  For example, ZABC
    2. Text ID ST
    3. Language EN
    Click on Create.
    And enter the Required Information and save.
    To include a Standard text in SmartForm.
    Follow the steps below:
    1. Create a text node in the window.
    2. Under general attributes select "Include text" as Type.
    3. Specify the fields under Text.
    Text Name ZABC
    Text Object TEXT
    Text ID ST
    Language EN.
    Hope it helps.
    Regards.

  • How to use standard texts in smartforms

    Hi Friends,
          How to use standard texts in smartforms, ie in scripts we are using standard texts using tr so10.
    thanks in advance,
    regards,
    sharma.

    For long text
    method1
    Create TEXT node- general attributes change text type to include text
    then you can input text name/text object/text id/language
    method2
    create PROGRAM LINE node - use FM READ_TEXT to read it to a internal table
    then use LOOP or TABLE node to display it
    For TEXT module(For foreign language)
    Tr-code:smartforms -- choose Text module(not choose form)--create a text module object
    then enter smartform Create TEXT node- general attributes change text type to text module
    input the text module name which created by above
    btw SO10 is just for Scriptform, in smartforms we use text module to replace SO10

  • How to get the standard texts available in a smartforms

    Hi Experts,
        How can we find out the standard texts that are exist in a particular smartform . is there any table/function module available to get those standard texts? I am finding the table STXFTXT, from that I am getting only textline. But I need the standard text names that are used in a smartform.
    Thanks & Regards,
    Suresh

    hi,
    1,Use SO10 Tcode to write standard text in Smartform.
    2.For long text
    method1
    Create TEXT node- general attributes change text type to include text
    then you can input text name/text object/text id/language
    method2
    create PROGRAM LINE node - use FM READ_TEXT to read it to a internal table
    then use LOOP or TABLE node to display it
    For TEXT module(For foreign language)
    Tr-code:smartforms -- choose Text module(not choose form)--create a text module object
    then enter smartform Create TEXT node- general attributes change text type to text module
    input the text module name which created by above
    3.
    1. take function module name of the smartform.
    2. goto se37 and type that fm name.
    3. goto attributes tab
    4. double click on either program or include .
    5. There u can find all the subroutines used inside smartform.
    6. search for "perform %move using %textkey-name".
    4.Standard Texts are created in SO10 Tcode and stored in STXH table with OBject ,ID and NAME parameters. We can use Read_Text FM to read the text.
    check the tables STXH & STXL.
    5.
    How to CAll Standard Text in Smart Forms
    In SFs you can insert the standard tests using the TEXT node. Create a TEXT NODE. Then in the GENERAL ATTRIBUTES of this TEXT node select INCLUDE TEXT in the TYPE option. Then you have to enter the text name, object , ID and language in the provided fields. Then if you dont want any error if there is no text in the corresponding text then CHECK the check box "No errors if no text available.

  • Standard text in SO defined as bold doesn't come out bold in smartform

    Hi Gurus,
    I have created a standard text in SO10 transaction and I have given to it the characteristic highlighted (bold) the test effectively appears as bold while in SO10.
    However when I call  this standard text in a smartform (which is treated to be edited as a spool in a subsequent step), my so-called text does not show up with the highlited chatacteristic specified on the spool printout.
    Can anyone tell me how I could solve this ?
    helpful hints will be rewarded,
    Many thanks;
    Cedric

    Hi,
    In case of smartform,
    create a style with bold and then use it in smartform.
    revertback if queries
    regards
    jansi

  • Standard text in smartform

    hi,
    I want to include one standard text in smartform how cani do it

    For long text
    method1
    Create TEXT node- general attributes change text type to include text
    then you can input text name/text object/text id/language
    method2
    create PROGRAM LINE node - use FM READ_TEXT to read it to a internal table
    then use LOOP or TABLE node to display it
    For TEXT module(For foreign language)
    Tr-code:smartforms -- choose Text module(not choose form)--create a text module object
    then enter smartform Create TEXT node- general attributes change text type to text module
    input the text module name which created by above

  • Standard text in SAP smartform

    Hi Friends,
    This is regarding Smartform standard text.
    I supposed to populate some standard text based on the some condition. i mean.. is there any possibility topopulate standard text dynamically.
    pls help me.
    Thanks in advance
    Raghu

    Hi,
    When I passed standard text statically, it is working.
    But the same parameters when I pass through include command it is not working.
    INCLUDE 'ZNOTE' OBJECT TEXT ID ST LANGUAGE EN
    Pls help me. this is very urgent.
    Regards

  • Standard text in Smartform Vs. SapScript.

    Hello,
         I am experiencing an issue regarding standard texts in forms. If we were to create the text and format it in a certain way it may display in a SapScript form correctly, but in the Smartform it will be a little off. This also happens the other way around. Has anybody found a way to resolve this so that the formatted text displays the same way in both types of forms?

    Thanks for your response, yes the window is wide enough. What it seems to be is mainly in the tabs of the standard text.  For example...
    Here is some text,,,,,,More text
    some txt,,,,,,More
    In a SapScript it may show:
    *I am using periods because simply using spaces is ignored. Disregard the periods.
    Here is some text...............................More text
    some txt............................................More
    where in a smartform it would show something like
    Here is some text..............................More text
    some txt ..............More
    In these cases, the width of the window in which the text is displayed is more than adequate. If I format it so that it will display correctly in the Smartform, then it would be mis-formatted in the SapScript

  • How to use a standard text in Smartform ?

    hi all...
    iam want to use standard text in smartform ?
    can any one tell me how to do this ?
    Thanks
    sandy

    use function module READ_TEXT  to read standard text .
    Regards,
    Shiva Kumar

Maybe you are looking for

  • Iwlist scanning gives: Interface doesn't support sc [solved]

    When I'm trying to scan for all available networks I get: # iwlist eth1 scanning eth1 Interface doesn't support scanning : Operation not supported My wireless card works fine if I set every parameter manually. I'm currently using the orinoco drivers

  • Aperture picture files...can I get them in the Finder?

    I'm using Aperture 2.1. I know Aperture stores it's images in a library like iPhoto...but is there a way to get to the pictures in the Finder so I can open them or copy and paste? Message was edited by: wtgilles

  • Windows 8.1 Desktop Flickering

    After I rolled back to windows 8.1 from windows 10 technical preview, my windows 8.1 desktop flickering won't stop. Am I screwed? Also, my laptop is G510.

  • APEX Integration with EBusiness 12.1.3

    I am trying to connect to an APEX app thru EBS and skip the logon page. I have followed Rod West's document http://www.oracle.com/technetwork/developer-tools/apex/apex-ebs-wp-cabot-consulting-169064.pdf ] ). I've also been searching thru postings rea

  • Is Blackberry going to die a slow and painful death?

    I am an avid Blackberry user, with my Torch 9800 bridged to my 64gig Playbook, and I love all of the functionality and uses that they have. The trouble is that I am sick of seeing all of these apps that are only made for iPhone,iPad, and Android devi