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

Similar Messages

  • Pls explain how to add standard text in sapscript & smartforms

    Dear friends,
    pls explain how to implement standard text into sap script and smartforms.
    in how many we can do.
    and what is diff between include text & text modules in smartforms.
    how we can translate into multiple languages.
    Regards
    Jagadeeshwar.B

    hi,
    for the include text goto tcode so10.
    for changing the smartform and scripts use there methods..
    1. goto se63>translation->abap objects->other long texts->FS Forms and Styles---> for scripts use Forms
                                           for smartforsm use SAPSmart form
                                           for styles use Styles
    2. goto se71->utilities->original language.---> source lang
    (for scripts)                                                     target lang
    to include the include text created in the tcode so10 in the smartforms go to general attributes of the text element--text type> include text...
    regards,
    venkat.
    Edited by: venkat  appikonda on Mar 22, 2008 11:56 AM

  • Standard text in SAP Script

    Hi All,
      I am Creating Standard text in SAP Script. I want to Transport it to Quality and Production servers.But while saving standard text it is not asking transport request no.weather we need to create the text seperately in quality and in production or we can attach it in to transport request. Please suggest me.
    Thanks and Regards
    Partha.

    Hi partha,
    1. We can use the standard program
       RSTXTRAN
    2. It is meant specially for this purpose only.
    (we can attach standard text to a transport request)
    regards,
    amit m.

  • Problem in using standard text in SAP Script

    Hi All,
    I have to replace English text hardcoded in a script with standard texts (SO10) in Spanish. When I am including the standard text in script, it is displayed in different font and bigger size. I want to reduce the size and change the font of standard text. Is there any way to do that?
    Thanks in advance
    Radhika
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Jan 4, 2010 2:37 PM

    Please check the links below , which might hel you..
    Re: Setting font to standard text in sap script
    How to change stranded text font in script
    Regards
    Satish Boguda

  • How to include the STANDARD TEXT Logo in SMARTFORM???

    Hai experts,
    Im able to get the standard text logo in SAPSCRIPT used follwing command in text editor.
    v_logo is dynamic variable.
    /:INCLUDE &V_LOGO& OBJECT TEXT ID ST LANGUAGE EN 
    But in smartforms im unable to get the Standard text logo used following steps...
    in Include text node
    A) Text name : &V_LOGO&  <
    B) Text object : TEXT            >
    C) Text ID      : ST                >
    D) Text Language : EN          >
    Why????
    What are the further steps needed??
    Rewards helpful answer is very useful..
    Thanks & rgds,
    Muru.P.

    HI
    http://www.sapmaterial.com/smartform_example.html
    http://www.sap-press.com/product.cfm?account=&product=H955&shoppingcart=003
    Tcode SE78 is used to import graphics into the SAP system. The transaction imports the graphics and stores it
    in the BDS (business transaction server) and then it can be displayed in the form.
    ·        To create the graphic node , call the context menu for that node in the tree structure and choose create-
    >graphic
    ·        Enter a name (LOGO) for the node and the description (Logo Graphic)
    ·        On the general attributes determine whether a colored or a black and white
    ·        On General Attributes use the fields object - GRPAHIC, id u2013 BMAP and name - &G_LOGO& to identify the
    graphic. &G_LOGO& is variable and therefore we can print company code specific logo. Program line preceding
    the graphic is required.
    Regards
    Pavan

  • 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:)

  • Dispaly standard text in SAP SCRIPT which content saved using SAVE_TEXT FM

    I want to display one standard text content in SAP SCRIPT and want to store content of it during run time.
    For that, first I have created one standard text using SO10.Named the standard text as Z_TEST_WRITE. Initially it was empty.
    In my SAP SCRIPT, I try to display the content of the standard text using below given SAP SCRIPT code and report program. Although I am able to store text in Standard text
    Z_TEST_WRITE but in first display of the SCRIPT it is not displaying against the include command of SAP SCRIPT. But when I see the content of Z_TEST_WRITE through SO10 transaction, I can see the content with new text which was previously empty.
    Now if I do the same transaction newly (suppose second time), then text stored in standard text Z_TEST_WRITE is displaid against includes command of SAP SCRIPT.
    My print program is a SAP STANDARD which one can be changed.
    /:   DEFINE &NAME& = ''                                      
    /:   PERFORM TEST IN PROGRAM Z_SAVE_TEXT
    /:   CHANGING &NAME&                                         
    /:   ENDPERFORM                                              
      <B>&NAME&</>                                            
    /:   INCLUDE Z_TEST_WRITE OBJECT TEXT ID ST
    REPORT  Z_SAVE_TEXT.
    FORM TEST TABLES IN_PAR STRUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
      DATA IT_HEADER LIKE TLINE OCCURS 0 WITH HEADER LINE.
      DATA: LS_HEADER LIKE THEAD,
            LT_LINES  TYPE STANDARD TABLE OF TLINE WITH HEADER LINE.
      OUT_PAR-NAME  = 'NAME'.
      OUT_PAR-VALUE =  'Sample text for Test'.
      APPEND OUT_PAR.
    *-Populate Header Text details
      LS_HEADER-TDOBJECT  = 'TEXT'.
      LS_HEADER-TDNAME    = 'Z_TEST_WRITE'.
      LS_HEADER-TDID      = 'ST'.
      LS_HEADER-TDSPRAS   = SY-LANGU.
    *-Populate details of Text
      CONCATENATE 'Shipment No   :' 'RM Ship No' INTO LT_LINES-TDLINE
      SEPARATED BY SPACE.
      LT_LINES-TDFORMAT = '*'.
      APPEND LT_LINES.
      CONCATENATE 'Bill of Lading:' '1234567' INTO LT_LINES-TDLINE
      SEPARATED BY SPACE.
      APPEND LT_LINES.
    *-Save Text
      CALL FUNCTION 'SAVE_TEXT'
        EXPORTING
          CLIENT          = SY-MANDT
          HEADER          = LS_HEADER
          SAVEMODE_DIRECT = 'V'
        TABLES
          LINES           = LT_LINES
        EXCEPTIONS
          OTHERS          = 1.
      IF SY-SUBRC NE 0.
        EXIT.
      ENDIF.
    COMMIT WORK and WAIT.
    ENDFORM.                    "TEST

    Hi,
      If the text is getting displayed the second time, then this should be due to delay in saving the text.
    After your COMMIT WORK AND WAIT in your report program, just put a WAIT FOR 2 SECS and check again.
    Regards,
    Suganya

  • Standard text from SO10 - smartform

    Hi Folks,
    I need to print a document with some standard text and the vendor address.
    1.For this I had created the standard text in S010,how to call this standard text in the text editor of the main window?
    This standard text will be the same for all the vendors.
    2.I need to fetch the address of the vendor.So I had created a select option.I have to print this document with the standard text for each vendor.Text will remain the same but the vendor address differs.I had created a structure having all the fields for the address and declared in the form interface.Internal table is getting populated but it is not printing in the smartform.
    How to get the document in one shot for all the vendors given in the range.
    Thanks,
    K.Kiran.

    u can call the standrd text from the smartform directly :
    got the smarform u created/ developed.
    create text.
    in the general attributes tab give the type <Include Text>
    assign the standard text that u want ot inclue.
    smartform will call that directly
    address cn be created direclty from the smartform
    in creation u will the get the option to create the address.
    just give th varible and populate the varible from the program.
    Thanks

  • 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

  • How to get the Hardcoded text and the Standard text in the same line

    Hi,
    I have an SAP Layout. In that, it should show the Consignee name as below.
         Consignee: SAP LABS
    In this, the text 'Consignee: ' should be hardcoded in the layout itself. and the customer has requested to create a standard text for 'SAP LABS' sothat if they want to change the value in future, they would go and change the Standard text. I have created the Standard Text for SAP LABS. I am not able to get both these texts on the same line. I wrote in the layout like below and AS is the Paragraph format.
    AS     Consignee:
    /:        INCLUDE ZVRU_CONSIGNEE OBJECT TEXT ID ST LANGUAGE EN PARAGRAPH 'AS'
    But, both are coming in dofferent lines. As /: is a command line, it is coming in the next line. Is there any way of getting these two texts in the same line..? While Inserting the Standard Texts, will there be any option/command to print it in the same line..?
    Please share your thoughts. Thanks in advance.
    Thanks & Regards,
    Paddu.

    Hi Paddu,
    I have had a similar requirement. I did not use any FM or anything, simply did the following:
    In  SO10, for your standard text where u have used the text SAP LABS.
    Instead of P1/ default para, change it to =. And then Save ur Standrd text.
    Now in the SAPScript Text editor in which you want to print
    P1 'Consignee :'
    /: INCLUDE TEST OBJECT TEXT ID ST LANGUAGE EN
    the output will be
    Consignee : SAP LABS
    I have tried and tested this method. It will surely work.
    With regards,
    Niharika.

  • Dynamic Standard text in SAPscript

    Hi,
    Can we use dynamica standard text in SAP script?
    The standard text name is supplied by a external field. The standard text contains a address.
    I want to change address based on text name.
    Thanks.
    Shreyas
    Help will be awarded.

    Hi
    In the SAPSCRIPT the std text is called by this statament:
    /: INCLUDE &V_TEXT_NAME& OBJECT TEXT ID ST LANGUAGE &LAN&
    The V_TEXT_NAME is the variable where the name of the std text is stored and it's filled at runtime.
    Now while printing a document you shouldn't (can't) change the std text, so you should have many std text as the addresses you need to print.
    So you can decide which text (address) to be printed inserting the name of the text in the variable V_TEXT_NAME.
    Max

  • Why to save standard texts in customization requests only?

    Hi Experts,
    I have copied standard text of SAP SCRIPTfrom one system to other development system through the report RSTXSCRP.But I want to save the standard text in Transport Request.
    I have tried to do it by using report RSTXTRAN.But Its asking for customization request.
    Is it mandatory to store the standard texts in Custimization requests itself?Is it not possible to save it in workbunch request?
    Thanks in advance
    Harika

    Hi Harika,
    No we can save Standard texts in BOTH  Workbench request and Customizing request. It will work.
    But in to save a Standard text in a Workbench request, the Sub task type has to either Development/Correction or Repair
    Thanks..

  • STANDARD TEXTS!!

    CAN ANYONE TELL ME AS TO HOW TO INCLUDE STANDARD TEXTS IN SAP SCRIPTS??

    Hi Sirish,
    1.Goto SE71->
    2.Give YOur Form Name and enter into form in change mode
    3.Click on Windows Button in Application Tool bar, it displays all available windows, Select your required window say Main Window and press on pencil symbol in Application tool bar
    4.It will takes you to line editor of the window, now Click on Insert in Menu , Select Texts->standard,then it will ask you the standard text which you want insert give that name and press enter , With this your job will be done.
    Regards,
    Raghav

  • Program to compare Standard Texts

    Hi,
    Can you please let me know the Program to compare the Standard Texts in SAP.
    Thanks,
    Madhuri.

    Hi,
    I would like to compare Standard Texts across the systems and also would like to compare two standard texts.
    I would like to have the comparision option to the standard texts similar to the SE39 Transaction for programs.
    Thanks,
    Madhuri.

  • 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

  • Why is my iPod Touch now repeating songs once in the Bose Dock?

    Why is my iPod Touch now repeating songs once in the Bose Dock?  How do I get this to stop?  I have already done a factory restore and then reloaded my music onto this iPod. 

  • "There is a problem with the Office database" - Microsoft Office 2008 issue

    It was all going so well. I upgraded a MacBook to SL over the weekend. Everything was working well until yesterday (Wednesday) when, on opening Word I got the above message. The Database Utility reports 'an error occurred while trying to verify your

  • How can we remove link on a report column?

    Hi All, Can anyone suggest how to remove a link created on a column? Thanks in advance, Annie

  • AirTunes fails for one machine

    Janie Porche would not be happy. All I wanted to do was play some Christmas music from my MacBook Air. Every. Other. Computer. in the ENTIRE house can connect up to the airport express here and play music. But not mine. If I attempt to select the exp

  • FCP interprting the wrong frame rate

    Hi My client has delivered some footage using the DVCpro codac (not HD) Quicktime reads the file correctly as 25fps but when I import the file into FCP, FCP shows it at 32fcp. Although the duration is correct it just shows black when it runs out of f