Smartforms - How to import ttdtg text elements

Hello Techies,
I'm transforming a sapscript to a smartform. In the sapscript they make use of text elements from the ttdtg table. Sapscript knows this a translates an element example &ZTEST& to its corresponding text in the correct language.
Can this still be used in some way in SMARTFORMS?
Best Regards,
Frederik

Hi
U can use same but it can be use upto 4.6c only
otherwise u hav to use
Text            QTY_TEXT
Description     Text for Quantity
<b>Text type</b> <b>Include Text</b>
Text name         ZGRQTY
Text object       TEXT
Text ID           ST
Language          &W_LANGUAGE&
regards
vinod

Similar Messages

  • How to color the text  elements in script?

    how to color the text  elements in script?
    byeeeee
    plz send the answers

    Hi,
    Please go through my blog to know how to do color printing in SAP scripts.
    White Paper on 'Color Printing in SAP Scripts'
    Regards,
    Sireesha Ch

  • How to transport the text elements in  Reports?

    need answer to this question.
    how to transport the text elements in the reports?
    Edited by: venkata kumar on Feb 18, 2008 1:33 PM

    Hi Venkata,
    Text Elements are a component/part of the SAP script and are not individual ABAP objects within the SAP environment hence they cannot be transported independently.
    You would need to make changes in your text elements in the SAP script which would result in the SAP script being saved under a transport and moving the transport across the landscape would result in the text elements also getting transported.
    In short: Move SAP script - to move text elements.
    Cheers,
    Aditya

  • SAP Script - How to check a text element is empty in Script.

    Hello Friends,
                  I like to display a text element when it is not empty, otherwise I like to display some other text.
    I know how to read text element in Script, but 
    How to check a text element is empty in Script
    Thank you for your time.
    Senthil

    Hi Senthil,
    Inside text element, we print the variables.
    Variables actually gets printed in the form.
    if the variable contains value the variable gets printed on script. if not, then variable not gets printed.
    hope this helps.

  • How to transport the  text elements

    hi guru's,
      i need answer to this question.
      how to transport the text elements in the sap script?

    Hi,
    U mean Standard Text?
    Standard Text can create using SO10.
    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...
    Regards,
    KK

  • How to import a text file created in Pages (iWork '08) to Photoshop Elements

    I am totally a novice at working with Photoshop Elements.  I need help.  I want to create my business card in Photoshop Elements with a background image and then a text layer over the background layer.  The logo and text was created in Pages (iWork '08).  Can I import this text file to Photoshop Elements and if so how do I do that?  I cannot create the same logo in Elements unless someone can tell me how to draw a circle with a transparent background so that just the outline of the circle shows and the background comes through.  Thanks for any help you can offer.  I have OS X Snow Leopard 10.6.4 and Photoshop Elements 6.

    In PSE, to draw an empty circle use the elliptical marquee tool and hold down shift while you drag to constrain it to a circle. That will give you an empty selection, then go to Edit>Stroke (outline) selection. A window appears where you can choose the width and color of the stroke.
    However, I'm not understanding why you would want to create your business card in PSE rather than in Pages or equivalent. Is there a special reason for this?
    EDIT As for the text file, it would be simpler just to retype it in PSE, since it can't be very much text. Remember that PSE doesn't do all the fancy things with text that Pages can, although it can do some things (like warping) that Pages can't.
    You could activate the text tool and use copy/paste, but you'll lose most of the formatting.

  • How to copy a text element to another in sapscript

    Question
    Have a bug in the system and need to copy an existing text element to a new one.
    How do you do this.
    I have found the text elelement in tihe MAIN window - the code /E   510-C  <-- this needs to be copied to a new text element called /E    510-A.  I can cust and paste this into the text element screen  But doesn't the 510-A refer to some text created via SO10?  But then doesn't sapscript require you to use an include to get the text in there?
    HELP - 2 days from go -live here!!
    Thanks and big points to who can ever help!

    Text elements are specified with "/E".  These are different from STANDARD TEXT objects that you define in SO10 and reference with the INCLUDE statment.
    Text elements are called from the ABAP print program.  If you copy text element 510-C to 510-A, the ABAP print program has to call element 510-A to execute the statements in this section.
    Are you dealing with errors from a syntax check?

  • How to get the text elements for a particular program

    Hi All,
    I want to get the all text elements , selection texts for a particular program...How to get.
    I have used one FM READ_TEXTELEMENT_FROM_REPORT , but not much useful..
    please help me..
    Regards,
    raj

    Hi..
    You may use this statement to read the text elements:
    DATA: i_reptx  TYPE STANDARD TABLE OF textpool   WITH HEADER LINE.
    READ TEXTPOOL (reports) INTO i_reptx. " reports is the report name.
    Best Regards,
    Pradeep.

  • How to end a text element

    Hi,
    Iam having a text element which holds the data of an internal table which has 15 records and it prints those records in the main window. Once all these 15 records got printed i need to print a standard text.
    for me what happens is it prints one record and then it prints standrad text then 2nd record and standard text klike this it goes for all 15records. Can any one tell me why this happend and how to correct it.
    the code which i have written is
         /E     E1
         P1   &IT_BKPF-BELNR&     &IT_BKPF-BLDAT&     &IT_BKPF-BUDAT&
         /:      INCLUDE ZTEXT_TEST OBJECT TEXT ID ST LANGUAGE EN.
    Please help.Thanks
    Regards,
    Rose.
    Edited by: camila phyrose on Feb 18, 2009 7:08 AM

    Hi,
    Create a window below main window  and write the standard text there.
    After every record,it will write the standard text there as u have written in the text editor
    without any condition.
    This is bcoz, the text elements only ends when there is another text element.
    If u are sure that only after 15 records it should print the text,then give condition.
    /E E1
    P1 &IT_BKPF-BELNR& &IT_BKPF-BLDAT& &IT_BKPF-BUDAT&
    /: If &w_temp& eq 15.
    /: INCLUDE ZTEXT_TEST OBJECT TEXT ID ST LANGUAGE EN.
    /: Endif.

  • How to ignore empty text element while using DOM to parse xml??

    hi everyone,
    i am using DOM to parse an xml file. But i dont know how to cinfig the DocumentBuilderFactory to ignore empty text elements.
    For example, i have an xml file like this:
    <?xml version="1.0" encoding="UTF-8" ?>
    <root>
        <child>Tom</child>
        <child>Jerry</child>
    </root>I used the following codes to parse:
    String fname = "Tom-and-Jerry.xml";
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    factory.setIgnoringElementContentWhitespace(true);
    factory.setIgnoringComments(true);
    DocumentBuilder builder = domFactory.newDocumentBuilder();
    // Generate a DOM tree from the DOM builder.
    org.w3c.dom.Document dom = builder.parse(new File(fname));
    org.w3c.dom.NodeList list = dom.getChildNodes();
    for (int i=0; i<list.getLength(); i++) {
        System.out.println("Child No."+i);
        System.out.println("NodeName="+list.item(i).getNodeName());
        System.out.println("NodeType="+getType(list.item(i).getNodeType()));
        System.out.println("NodeValue="+list.item(i).getNodeValue());
        System.out.println();
    }The result is not exactly what i want ---- there are 5 children in list!! The 1st, 3rd and 5th are #text and their values are all empty. Only the 2nd and the 4th are the child that i expect.
    It is really troublesome to get all these silly empty texts as sub elements. I tried to get rid of them, but i failed. I just dont understand why factory.setIgnoringElementContentWhitespace(true) did not work.
    Anyone can help me? thanks.
    Heavy ZHENG

    I just dont understand why factory.setIgnoringElementContentWhitespace(true) did not work.That only does something if the XML has a DTD that enables it to know what whitespace can be ignored and what is significant. The API documentation for the method refers you to this document:
    http://www.w3.org/TR/REC-xml#sec-white-space

  • How can I use Text-Elements in Dynpro Buttons ?

    Hello Experts,
    I have create a dynpro screen with the screen-painter.
    In this screen have a button, in which label i want to use defined textelements.
    This has the advantage that i can expand it to other languages.
    The screen is an standard screen.
    In the Button i have to try using   &&Text-001&& , but it doesn't show me the contain of Text-001 .
    It show me &&Text-001&& as label in the button.
    How can I do  ?
    Which possibilties are existing ?
    Thanx in advnace for your responses
    Best Regards

    In button attributes select output field . Then in program define a vairable for the button with the same name and assign the text element to it before screen is displayed.
    data: button(10) type c. "your button name
    button = text-001.
    call screen 100.
    Regards
    Marcin

  • How to display standard text element of main window in next page

    hi all
    In scripts we have standard script medruck for purchase order.
    i want to pull text elements ( terms and payment terms ) in to main window of next page.
    i have included main window in page windows of next page ,but im unable to print text elements of terms and payment terms in next page...
    any one give your valuable inputs.
    Thanks
    deepika.

    Hi deepika,
    First copy standard MEDRUCK to ZMEDRUCK and do the necessary changes.
    Then check in driver program when exactly Terma and condition text element is called. Generaly its after printing all items but just check once to confirm.
    If TERMS and condition element is called ate end just put a NEW-PAGE  command at end of the text element which is called before terms.
    Hope this will help You.
    Thanks
    Dhiraj.

  • How to import a text layer on multi-page document?

    Hi All,
    I have a slight problem and was wondering if there is a quicker solution?
    I'm working with acrobatproX
    I have been sent two pdf's form different sources. The first document is a 4c layer and the second is a translated text layer and
    I need to combine the two to check that the text is setup correctly and doesn't over run any images.
    I understand that I could import each text layer to a single page of the 4c but as it is a 256 page book?
    Is there a quicker solution than the one page at a time method?
    Many Thanks

    In PSE, to draw an empty circle use the elliptical marquee tool and hold down shift while you drag to constrain it to a circle. That will give you an empty selection, then go to Edit>Stroke (outline) selection. A window appears where you can choose the width and color of the stroke.
    However, I'm not understanding why you would want to create your business card in PSE rather than in Pages or equivalent. Is there a special reason for this?
    EDIT As for the text file, it would be simpler just to retype it in PSE, since it can't be very much text. Remember that PSE doesn't do all the fancy things with text that Pages can, although it can do some things (like warping) that Pages can't.
    You could activate the text tool and use copy/paste, but you'll lose most of the formatting.

  • How to active the text element (F9) in manu bar

    Hi Expart,
                   I am working with sap Script when i select the window in page window ,then try to insert text by edit->text element , but this option is deactivated.
                  Can any one help me to inset text to those window ..
    Thanks in advance ,
    Tarak

    hi,
    after creating a new page you have to goto page windows. Otherwise you caonnot create textelements.
    There also must also made aready some windows. In no windows exist you have to go to windows.
    hope this helps.
    Gr., Frank.
    PS. Try to work with the graphical form painter. Then you will not have those problems.

  • How to color the text element in selection screen

    hi,
    i am going to pass some text element in selection screen output  and my requiremnt is text element should be given some colour.
    plz guide me.
    regards
    muthuraman.d

    Hi...
    Dont Declare your field as OBLIGATORY.
    Instead perform the validation in AT SELECTION-SCREEN event. But validation should be only when Particular Radiobutton is selected.
    And Generate only Error Message (Type E).
    Try this code:
    AT SELECTION-SCREEN on <yOUR mandatory field>.
       IF PA_UPD = 'X'.
             IF <YOUR MANDATORY FIELD>  IS INITIAL.
                  Message 'Entry is must in this field' type 'E'.
             ENDIF.
       ENDIF.
    AT SELECTION-SCREEN OUTPUT.
    IF pa_udp = 'X'.
    LOOP AT SCREEN.
    IF screen-group1 = 'ABC'. "#CCE
    screen-active = 1.
    ELSEIF screen-group1 = 'DEF'.
    screen-input = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    ELSEIF pa_rep = 'X'.
    LOOP AT SCREEN.
    IF screen-group1 = 'ABC'. "#CCE
    screen-input = 0.
    ELSEIF screen-group1 = 'DEF'.
    screen-active = 1.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    ENDIF.
    <b>Reward if Helpful</b>

Maybe you are looking for

  • JCOP41 ICAO-compliant passport

    Hi, I'm trying for a while to create an ICAO-compliant e-passport using a JCOP41. Now, I'm having some trouble creating a DG14 with characteristic-two fields GF(2n) since GF(p) is not supported by the card. According to RFC3279, here is what I need t

  • How do I put a photo on to my iPod Touch from iPhoto

    On my Mac Mini, running SL OSX 10.6.8, is iPhoto '09 v. 8.1.2. and iTunes v. 11.0.2. I've got an old iPod Touch 16GB running v. 2.2.1. I want to move a photo from iPhoto onto my iPod Touch, which used to be simple. However, now when I open iTunes, th

  • Calendar Template

    I am looking for a calendar template I can use in either Pages, Numbers or Keynote - surely there is one somewhere?

  • Quick Office for Word docs with tracking

    Can I use Quick Office for iPad to view Word docs and see the tracking changes? I don't think so, but thought I'd ask. I did a search and didn't see this posted but I could have missed it. If I did, apologies for the redundancy.

  • Complete Frustration with these wireless products

    The problems are - Most of the time the type of security detected by the WPN111/windows in my PC is incorrect, it detects the opposite of whatever I have set in the Extreme, and when I try to change it in windows it just defaults back to the opposite