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

Similar Messages

  • 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

  • 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

  • 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

  • Hi..how we enter standard text for smartform using include text

    hi
    guru
    ..how we enter standard text for smartform using include text..
    i know only using so10 we write text..
    in smartform it asking text-object
                                     text-id,
    so what values we should give to get text

    Hi,
       Do u want to print Standard Text or the Texts that are maintained at the Transaction level.
    If it is standard text , then u use text id as ST or if it is Texts that are maintained at the Transaction level then u have to go to that specific transaction and check for that text , then go to text editor ,in the goto menu u have header data where u get the Text id , text name.... , use them in ur smartform in the INCLUDE text.
    Further u have the option of text modules in smartforms which act as standard texts, so if u r going for creation of standard texts then its better to use text modules.
    Regards,
    Shafivullah Mohammad

  • Standard text in smartforms

    Hi,
    I tried to create a standard text  in russian language.But the characters are coming as ???? . Please give me solution

    Hi Soumya,
    I tried to create a standard text in RUSSIAN in  SO10, I am not facing any problem as you mentioned. Please check whether RUSSIAN language is installed in the system and try again.
    Regards,
    Avi....

  • Need to use standard text in smartforms

    Hi,
        My requirement is like to use standard text for the address like ...
    Company Name
    Street, State, PIN
    Phone: 111-111-1111
    All the above lines should be aligned in the middle and 'Company Name' should be displayed in the bold.
    1) I have created the standard text, and included statement in text window as 'INCLUDE XXXX OBJECT TEXT ID ST LANGUAGE EN' but unfortunately it was not displaying anything in the output.
    2) I have tried the another method like using the 'Include Text' as a text type in the text window. It was coming but BOLD and center alignment was not coming.
    Here my question is why it was not coming in 1) case and if i use READ_TEXT function module will it solve the problem ? in case 2) how can i get all the 3 lines gets center aligned and first line should be bold.
    Thanks in advance for your help.

    Hi Jaya ,
    if u wnt ur Addr  first line should come in bold letter than for that
    u first *** to "sap smart forms : initial screen" there is option  'STYLE' click on that radiobutton and creat ur own STYLE (Zxxx) on there u vl find al ur answer...
    hope this vl  help u ,
    plz reward paint.
    regards
    wasim
    Edited by: mdwasim akram on Jun 11, 2008 1:09 PM

  • Deleting standard text in smartforms

    HI,
    i have a standard text name rule1 . first i copied this into rule2 and made the reqiured changes in rule2.
    so now i want to delete rule1 and and save rule2 as rule1 again.
    so can u plz tell me how to delete rule1 and save rule2 as rule1 standard text.
    regards
    Siri

    Hi,
    Go to So10 transaction.
    Open rule1 and then Text---> delete.
    Then open rule2 then text--->save text as
    give the rule1 as name..
    Thats all..
    cheers,
    Simha.

  • Dynamic Standard text in SmartForms

    Hi,
    I have requirwemnt where I need to retrive the data from the Standard text to display.
    But it variews based on SalesOrge and Comany Code u2018Zxxxx_SALES_yyyyu2019 here XXXX is SalesOrge and YYYY Company code.
    How to call the standard text Dynamically in Samrtform?
    Regards
    Irfan

    Hi,
    For displaying standard text dynamically, just follow the following steps:
    1. Create a text element and in general attributes give type as Include Text.
    2. Instead of providing any static Standard text in Text Name field, you need to click on the arrow button pointing right, which is for Dynamic Field Value. There you can provide your variable as &VARIABLE&, which contains the standard text name based on the conditions.
    3. Pass value statically like Text Object-TEXT,  Text ID - ST , Language - EN or else you can passs them dynamically as per your requirement.
    As you will be passing variables in order to print dynamic standard texts, it is better to check the option "No error if no text exists".
    Karthik
    Edited by: Karthik S on Sep 2, 2010 2:40 PM

  • Assigning standard text to smartform

    Hi everybody
    i need to create standard text and that text has to be assigned to the form
    how to do this.
    regards
    Srinu

    Hi Srinu,
    You can go through this document for more details...
    http://esnips.com/doc/7e67af5c-6188-4252-8613-41816756d560/from-sappres.pdf
    <b>Close the thread once it is resolved.</b>
    Regards,
    SP.

  • Regarding include long (standard) text in Smartforms for Purchasing RFQ...

    Hi,
    I have trans code me42 (RFQ).....
    For EBELN = 6000000026 i have 2 line items say having 2 material numbers and their quant, units and delivery date etc....
    Ok Now I select first line item and then i go to item -
    > Texts------>text overview
    I get item text and Material PO text. And then I double clik on any one of the text it goes to text editor and then i Go to----> Header.
    I get the text id-- A01
    textname-- 600000002600010
    text object-- EKPO
    language-- EN
    Now I have all the information other than item text and material Po text.
    I just kno it is sumthing related to include text but I dont kno how to display it in layout....
    What is the procedure step by step?
    First tell how to declare it in smartforms and then in calling program from wer i m goin to display.
    Please tell me step by step both in smartforms and calling program.
    Also For one line item 'text name' is 600000002600010, text ID is A01A03 and For other line item it is 600000002600020  and text ID is A01 A03.

    Just write the code within smartform by using program lines..
    pass ur rfq number and item number to form routine.
    in the form routine call read_text Function module ,this fm will get the text ..

  • Standard Text in Smartforms using SO10 Transaction

    Hi,
    My requirement is i have IF Condition followed by Elseif. when ever any of above conditions satisfy i need to print a text of at least 5 lines.
    If <>
    Print Text upto 5 lines each line at least 100 char(text1)
    elseif <>
    Print Text upto 5 lines each line at least 100 char(text2).
    else <>
    text24.
    If solution for the above  is using SO10 Tcode then  plz expain me in detail.
    thanx in advance

    Hi
    Check this
    for Smartforms material
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    check most imp link
    http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
    step by step good ex link is....
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    Subtotals - Check the link...
    Re: Subtotal with Table Node in smartforms
    Regards
    Anji

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

  • Printing Standard TEXT  with multiple paragraphs in smartform

    Hello all,
    I have a requirement that, there is a very long standard text stored in a notification of an order in SAP ISU system. The text contains multiple paragraphs with indentations. I want to print this text directly into the smartform WITH SAME INDENTATION AND PARAGRAPH FORMATTING.
    First i am reading the entire text using FM READ_TEXT.
    My first  problem is even if i read the text into a variable of type STRING , it just prints 255 characters of it.
    And secondly if i try to printout it using LOOP AT node in smartforms, it prints the entire content but without any formatting .
    Please let me know whether it is possible to print standard text in smartforms or not
    Thanks
    Nilesh Puranik

    Hey ,
    Well thanks for that but my replies got posted 2-3 times unknowingly, could'nt help it.
    Coming to the problem, i  guess you did not get my point when i say dynamic texts for each service order.
    In my Report i am using LOOP AT ITAB ..where in itab i  am storing a service order no i.e. ITAB-ORDER_NO
    Now for every order there is standard text maintained in SO10 starting with order name
    so my code goes like this.
    LOOP AT ITAB.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
        ID                            = 'LTXT'
        LANGUAGE            = 'E'
        NAME                      = ITAB-order_no
        OBJECT                   = 'QMSM'
      TABLES
        LINES                         = LINES .
    CALL <SMART FORM Fm>
    ENDLOOP.
    Hence whatever Standard text maintained for that service order i  want to display it as it is in the smartform with same paragraphs formatting and indentation.
    IF i use a variable in smartform and pass the entire text  after using READ_TEXT , it does not format the text  and it just prints only 255 characters even if i define it of type STRING .
    Hence i am stuck in this scenario.
    Appreciate ur help though.
    Thanks
    Nilesh

Maybe you are looking for

  • Can't input Chinese characters in the Chinese forum

    I have trouble to input Chinese characters in the Chinese forum. It happened recently. Before I can finish type PinYIng, the IME window lost focus to IE. Other applications / web pages have no problem. Tested on 2 PCs.  Same problem. English verson o

  • When I try to update iTunes to 11.1.0, I can't due to error C2QK82VCDTY3

    My Macbook is updated with the latest version of every software but iTunes. However, when I try to update it, I can't due to error  C2QK82VCDTY3. Can anyone help me? Thanks, Giacomo

  • Why would my home sharing stop working

    my home sharing from my desk top to my laptop stopped working. can someone tell me why it stopped. cant get my itunes library copied to my laptop

  • What does Resource proxying exactly mean?

    Hi, When a resource is eg behind a firewall you'll need to do resource proxying so all resources go through the ppe/portal instead of direct client - resource communication. So the client browser only communicates with the portal server and not with

  • Build and format better than to build and burn?

    I'm going to be burning 15 copies of 2 different single layer dvds through DVDStudioPro. I've tested both discs in this project and they're ok to burn. Reading through my reference material, I don't get a clear sense of what to do next. Should I buil