To Include Standard Text in TEXT Field of SMARTFORM

Hi,
         I  have a requirement to include a Standard text inside a TEXT field. The name of standard text is ZSD_CMR_&VSTEL&_STATISTICAL  where for VSTEL we should put the respective work area field like ZSD_CMR_&W_LIKP-VSTEL&_STATISTICAL .
But while executing the Form its giving Error that STD text does not exist.
The Requirment is like - shipping point (LIKP_VSTEL) of the delivery to identify the standard text. So, if a doucument for a delivery for shipping point 3114 is printed, it should come with the contents of ZSD_CMR_3114 STATISTICAL  In case the shipping point is 3112 it shoukd be ZSDCMR_3112 _STATISTICAL.
Can you please let me know how to include Std Text inside the TEXT, I mean SYNTAX .
Regards
Avi

Hi Avi,
Lets take the example the standard text <b>'ZSD_CMR_3114 _STATISTICAL'</b> then with this standard text get the TDOBJECT,TDNAME,TDID and TDPRAS from <b>STXH</b> table.
In the Smartform, goto <b>TEXT->General Attributes Tab</b>.
Select <b>Type</b> to be I<b>nclude Text</b> from the drop down list.
Then give the Text Name, Text Object, Text ID and Language.
Your Standard Text whcih you maintain in S010 will be displayed in the smartform window.
Regards,
Tushar
Message was edited by:
        Tushar  Marshall Dass

Similar Messages

  • SAPSCRIPT with Include Standard Text not converted in PDF Bitmap Image

    Hi Guru,
    When I use the function module CONVERT_OTFSPOOLJOB_2_PDF for import a spool, the image wasn't impoted. The Sapscript spooled have a include standard text that contain a image in BMON.
    If I view the OTF SPOOL the image was stored, but when I execute the Function Module CONVERT_OTFSPOOLJOB_2_PDF, the File PDF that I Download is missed of the image.
    Please Help me!
    Best regards

    Hi Murugesh,
    I have found the solution:
    the image was imported in PCL format and for this when I view OTF Spool the command is
    RDE ............
    otherwise
    RDH ............
    RDG ............
    RDJ ............
    RDI ............
    Regards Rino Patalano

  • Changing the text of Text field in standard SAP transaction.

    Hi expert,
    I have a requirement in which i have to change the text of Text field in standard SAP transaction.
    Is it possible? If so, how?
    Any pointers will be highly appreciated.

    Hi,
    I think you want to change the field label of the text field.
    For ex in tcode MM01, you can change the field label of Material text field.
    The description of the field label comes from the data element it is associated with. To change the text of the field label, you have to change the field label of the data element.
    But it will effect all the fields associated with this data element.
    To change the field label of the data element go to tcode CMOD. Then click on GOTO->TEXT ELEMENTS->KEYWORDS->CHANGE.
    Then enter the data element which is to be changed. In the next screen, change the field label and save it.
    Regards,
    Vinod

  • Retrieve Include Standard Text

    Hi,
    The long text currently I send to idoc are view exactly what we wrote in SAP transaction as below. Could I know how to retrieve the data from Include standard text and send along to idoc with others text to the segment? Thanks.
    Before:
    *    test pop-up'                                    
    *    Text 1                                           
    / :  INCLUDE GENERAL_TEXT OBJECT TEXT ID ST
    *    Text 2
    Expected:
    *   test pop-up'                                    
    *   Text 1                                           
    *   Standard Text display here   
    *   Text 2

    Hi,
    I managed to find out how to expand the standard text by using this Function Module : TEXT_INCLUDE_REPLACE.
    Now, I would like to make changes to my output. I need to move all include standard text to last line and display it out. Could I know I can achieve that?
    Long Text Entered in SAP:
    *    test pop-up'                                    
    *    Text 1                                           
    / :  INCLUDE GENERAL_TEXT1 OBJECT TEXT ID ST 
    *    Text 2
    / :  INCLUDE GENERAL_TEXT2 OBJECT TEXT ID ST
    Output:
    *   test pop-up'                                    
    *   Text 1                                           
    *   Text 2
    / : INCLUDE GENERAL_TEXT1 OBJECT TEXT ID ST
    *   expanded text1
    / : INCLUDE GENERAL_TEXT2 OBJECT TEXT ID ST
    *   expanded text2
    Edited by: Blue Sky on Jun 27, 2008 4:55 AM

  • Including standard text in sapsripts

    Hi all,
    I want to include standard text by using 'INCLUDE Z_STANDARDTEXT_TEST OBJECT TEXT ID ST' not in a single line.Means I want that Include command not to be included in single line only.Is there any option for this.

    you already created the similar post earlier. you can find answers in your old post.
    check this,Including standard text in Sapscripts
    close both the posts once your problem is solved
    Regards
    srikanth
    Message was edited by: Srikanth Kidambi

  • Including standard text in Sapscripts

    Hi all,
    I want to include standard text by using 'INCLUDE Z_STANDARDTEXT_TEST OBJECT TEXT ID ST' not in a single line.Means I want that Include command not to be included in single line only.Is there any option for this.
    Rgds,
    Balaji

    then you can use '=' in the command line of next line and proceed as you want.
    for example
    <b>/:</b>     INCLUDE Z_STANDARDTEXT_TEST OBJECT TEXT
    <b>=</b>        ID ST
    hope you got it. '=' indicates that its a continuation of previous statement.
    what ever it is.It can be a static text or a command etc...
    regards
    srikanth
    Message was edited by: Srikanth Kidambi

  • How to Change behavior of standard text object&text ID (SE75)?

    Hello there!!
    I'm struggling with this:
    For standard text object C_SHES_ACH & ID 0001 (EHS: IHS Safety Measures) wichs is used as a description for safety measures (CBIH82/CBIH02..) need that when the user create or edit the text, already appears a "Fill in the blanks"  form.
    For example, in CBIH82, editing an accident log, I go to Safety measures Button, then create a safety meassure, and when i click for long text description something like this should appear:
    TEXT 1 (1st Title)
    user line
    user line
    user line
    user line
    (free amount of user lines)
    TEXT 2 (2nd Title)
    user line
    user line
    user line
    user line
    (free amount of user lines)
    Thanks a lot for your feedback!
    Rgds!!

    Hii,
    I am unable to understand exactly wat you want.
    But for free amount of lines : Keep that text under LOOP. Right click on template or window and create a loop and under that loop keep the text ,you can get many lines. or the given below point plzz follow.
    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.

  • SharePoint 2010 List - Append Changes to Existing Text - multiline text fields being duplicated

    Hello!
    SharePoint 2010 - I have this same problem for all Lists that use the combination of 1) Multi-line text column; 2) Column is set to "Append Changes to existing text"; 3) Text choice = Plain Text or Rich Text or Enhanced Rich Text. 4) List item is modified
    in datasheet view
    Each time a list item is modified in datasheet view, if the multi-line text column is left blank it will have it's previous value duplicated. For example - If I'm updating a list item in Datasheet View and updating a column other than this column
    I described above, each time I make an update to the list item the previous value/comment left by someone else in that column will be duplicated with my name attached along with the date.
    Why is SharePoint duplicating the contents of this field??
    Example:
    Comments (multiline text column): Comment 1
    Miguel Patey 10/3/2011 2:12 PM
    Comments (multiline text column): Comment 1
    Miguel Patey 10/3/2011 2:10 PM
    Comments (multiline text column): Comment 1
    George Pully 10/1/2011 8:45 AM
    In my testing I noticed that a list item that is modified in standard view (not datasheet view) will not duplicate the value of the Comments field if left empty. Once the item has been modified in standard view I can make changes to that list item in datasheet
    view and the Comments field won't be duplicated...
    Any ideas?
    Michael Reinhardt

    I think I have identified exactly when/how this happens. It was happening to us, I found this post, and then I did further testing based on your note that it only happens when using datasheet. Thanks so much for that lead!
    In my example below, "status note" is the column where we use MLT w/ append comments. Here's what I found in my testing:
    If I used datasheet to edit an item, and the LAST edit made to that item did not include a status note, then no duplicate status note was created when I made my edit.
    IF, however, the last edit made to the item DID include a status note, my edit (no matter WHAT I was changing, no matter if the view included the status note column or not) created a duplicate of the previous status note.
    Try it out and see if that works the same for you. You can even tell easily if you show the column in the datasheet view. If, when you go to make your edit you see content in that column, you know your edit will include a duplicate of that MLT content. If
    you see it is blank (meaning that last time someone made an edit they did not change that MLT column), your edit should be fine and create no duplicate.
    PS- editing in the editform creates no problem whatsoever. The problem definitely seems specific to the way Datasheet handles edits.

  • Dynamic Standard text - Appending text with variable

    Dear All,
    We have a dynamic standard text. The text is being created based on sales order (I don't know how this has been created). Now I want to add text inside the standard text. That text will also contain variable.
    Example: "This is a valid sales order 100010000". This is a standard text where the sales order value is fed dynamically, I don't know how?
    Now the objective is to add another field "abcd" in the standard text with some other fixed texts. Eg. "I want to add my name sy-uname". So the entire text should be as:-
    "This is a valid sales order 100010000. I want to add my name sy-uname."
    1.  I am not sure how to identify the original standard text. I would like to add second line there.
    2.  I would like to pass variable value dynamically in the standard text.
    Please can you help me out in solving the issues.
    Best wishes,
    Atanu

    Hi
    Could you please be clear with your question so that some one can provide you with best solution quickly.
    I am assuming that when your sales order is being created at the same time ,your dynamic standard text is generated .So now you want to amend this standard text just after the sales order is saved.If so then
    Just go to the sales order text tab in change mode and click on the text eidtor window ,it will take to you sapscript editor ,Then from menu Goto-Header .From here you get the details of
    Text Name      
    Language       
    Text ID        
    Text Object  
    Now Find the userexit after save and their use a read_text function module and read the standard text which is alreday created and take down in it_lines table and modify the text by appending your sy-uname line as second line or you can concetante on the same line. Now then use the save_text function module and save the standard text.
    You can use the exit MV45AFZZ In that routine FORM userexit_save_document..
    Hope this help you to resolve the issue.
    Cheers
    Joginder

  • Text overflowing text fields

    Hi all,
    We created a PDF form which our client intends to send out to their clients. The problem is that the form doesnt work for them (works fine for our team using up to date Acrobat) so Im guessing they are using an older version of Acrobat. We are waiting for their feedback on versions but in the meantime I thought I'd seek help here.
    My concern is that whilst we can easily enough ask the client to update their Acrobat version, we won't be able to do this for all the PDF's recipients. The client said that when the form is submitted, any fields that have large amounts of text, this text overlaps other fields. They are also seeing fonts in different sizes & styles!
    During our testing, fields that had large amounts of text displayed scroll bars so this wasnt an issue for us. The form was built on a Mac directly in Acrobat (not formscentral) in CS4.
    I just wondered if anyone else has seen this happen and if anyone can suggest anything. If the Acrobat version is the problem, is there anything we can do to force users to use a specific version?
    Thanks in advance...

    Adobe has the Acrobat and Reader product. Reader is free with limited capabilities. Acrobat is the purchased product and provides additional capabilities.
    The PDF format standard  was open from the introduction by Adobe. This allowed 3rd parties to create viewers and programming tools to manipulate PDFs. The PDF is now an open standard overseen by the ISO organization.
    Adobe eventually realized that users with Reader needed the be able to save completed forms. Adobe then introduced the concept of "Extended Reader Rights" for a PDF file. This consist of additonal code being added to a PDF that would allow Reader to save a PDF. With version 7 Professional of Acrobat, developers of forms could add these extended rights with some limitations.
    With Reader XI, users with this version of Reader can save forms that do not have the special rights. There are also 3rd party products that can save forms without special rights.
    PDF forms are not dynamic so they will not grow in size as the amount of text in a field increases. Also the PDF content will not expand.
    LiveCycle Designer supports dynamic fields and dynamic content.
    With a lot of programing a PDF form created with Acrobat could be made to be dynamic.

  • Standard Texts and Text Modules

    Hi,
    How to include standard texts and text modules in Adobe Print Forms?
    Is there any solution?
    Thanks !

    Hi
    You can call standard text and text modules by the following options :
    Create One Text Window by right clicking the option.  In this general attributes tab select the 'Text Type' as 'Text Module' and it will ask for the Name of the text module.
    Press f 4 help to select the text module.  And enter the language also.
    Thanks

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

  • How to disable numbers in a text type or field ?

    Hi,
    Any option of disabling numbers in a text type or field ? For E.G. in the PO header text can we prevent users from entering number or values ?
    Thanks.

    No, not without own programming

  • How can I have text from multiple fields on one layer, copy to one field on another layer?

    A little help please as it's been years since I've done any coding of any sort.
    So I have a 4 page document with various field types.  I have a document script that gets "TodaysDate" that works perfectly and a few other scripts as well.
    So what I'm trying to do is find a work around for the following:
    I have 3 fields - SURNAME, FIRSTNAME & dob.
    And I want what is typed into these fields to populate into 1 field.  And according to this tutorial (http://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript) it's not exactly possible.  At least I think that's what it says.
    However I'm hoping that maybe I could have a Submit button at the end of that document that when clicked would copy the text from those 3 fields (that I would have on 1 layer) into 1 field on a 2nd layer.  Is that even possible??
    I'd also like to have the document Print, Save (using the text in the field on the 2nd layer as the file name), Email (using the text in the field on the 2nd layer as the subject line) and Export to a specific Excel spreadsheet. 
    I don't want much do I?
    I'm using Acrobat 9 Pro on a Windows PC but also have access to Acrobat 8 Professional.  And I'm going to want the form to run in Acrobat Reader X.
    So far I have for the 3 fields into 1 on another layer:
    function buttonClick(){
    if(buttonClick==false)
    event.value=this.getField("SURNAME"+"-"+"FIRSTNAME"+"-"+"dob").valueAsString;
    But I have no idea how to call the event.value from 1 layer to another or if any of that code above would even work at all.
    I have a script that I believe will work perfectly for the Save and Email function:
    Using the “doc.submitForm()” function
    // This is the form return e-mail. Its hardcoded
    // so that the form is always returned to the same address
    // Change address on your form
    var cToAddr = "[email protected]";
    // First, get the client CC e-mail address
    var cCCAddr = this.getField("ClientEmail").value;
    // Now get the beneficiary e-mail only if it is filled out
    var cBenAddr = this.getField("BennyEmail").value;
    if(cBenAddr != "") cCCAddr += ";" + cBenAddr;
    // Set the subject and body text for the e-mail message
    var cSubLine = "Form X-1 returned from client"; var cBody = "Thank you for submitting your form.\n" + "Save the mail attachment for your own records";
    //** Send the form data as an XML attachment on an e-mail
    // Build the e-mail URL
    var cEmailURL = "mailto:[email protected]?cc=" + cCCAddr + "&subject=" + cSubLine + "&body=" + cBody;
    this.submitForm({
                cURL: cEmailURL,
                cSubmitAs:"XML",
                cCharSet:"utf-8"
    I'll work out the Export to Excel thing later as I've seen many tutorials on that.  But can I do the 3 fields to 1 thing at all?
    Please Help!!!

    Sorry Gilad.  I hope I'm not getting on your nerves (too much) but as I said it's been a while since I did any formal code. And I'm trying to do this code for a work document but I'm doing it in amongst so many other things I do for my job that it's difficult to get the time to concentrate for longer than 5 mins.
    I didn't get a chance to try that code until just now.  I guess I asked again as I thought (from what I'd read) that it wouldn't be that simple.
    So I've added that code and I get no errors.  But it doesn't appear to be doing anything either.  I've added the code like this in the Custom calculation script of a separate field I've called FileName.  And on the Button i'm using I've added:  buttonClick()
    function buttonClick(){
    if(buttonClick==false)
              event.value=this.getField("SURNAME").valueAsString + "-" + this.getField("FIRSTNAME").valueAsString + "-" + this.getField("dob").valueAsString;
    So now I'm guessing that becasue i'm not getting an error or a result that I've screwed it up still.  Have I put the code in the correct area?  Have I assigned a the buttonClick() function correctly?

  • How to encrypt the text in password field in Oracle Forms version 6i

    Need help!
    How to encrypt the text in password field in Oracle Forms version 6i?
    one way is to change the settings in the property palette. Can somebody provide me some script to be run while the form is running which will enable the password to be encrypted?
    Thanks!

    Hello,
    Do you mean "hidden" (replaced with stars) or encrypted (that needs to be decrypted ?
    Francois

Maybe you are looking for

  • A Web application + API for non web clients

    Hi there, I am new to the java enterprise world, i have a query regarding the application i am developing currently, I am not sure this is the exact category to ask this question but please help me on this. In very simple terms my applications job is

  • INSTALL SOLARIS 8 ON COMPAQ

    I am trying to load Solaris 8 on a Compaq Deskpro 700mhz, 9gb drive. I am getting the following error "Unable to mount a Solaris root file system from the device". Everything is SCSI on my machine, but how do I mount a file system? Thanks!

  • Installment Plan monthly charges

    Hi, I saw there is an option to spread the charges on all months.  But the monthly charge remains the same.  Is there a way to calculate for variable monthly charges based on certain formula and add that amount to the expected monthly installment amo

  • Massive loss of "Free" disk space after failure of initial back up.

    I received the TC yesterday and connected it up according to the manual. At that time I had about 90 gig of free space on the HD (total capacity 150 gig). Midway through the first back up TC stopped and when I tried to open up Time Machine, the Finde

  • No help for Photoshop CC

    I cannot find any help files since switching to CC. Can anyone help?