Dynamically writing text symbols

I have defined several text symbols in an ABAP program in the following pattern:
TEXT-C01 - …
TEXT-C02 - …
TEXT-C08 - …
Now I have to write in the end of the list all this symbols.
I was thinking on using something like
DO 8 times.
ENDDO.
Inside of the DO loop I would define dynamically the symbol that I was writing. I know that this is possible using field symbols but I’m not getting it right. Can anyone help me?
Thanks in advance.
Best regards
Sónia Reis

Hi,
Not sure whether your issue is solved. Because you marked this as answered. If not please find a solution.
DATA: w_te(8),
w_count(1) TYPE n.
FIELD-SYMBOLS : <fs> TYPE ANY.
w_count = 1.
DO 10 TIMES.
  CONCATENATE 'TEXT-C0' w_count INTO w_te.
  ASSIGN (w_te) TO <fs>.
  WRITE: w_te, ':', <fs>.
  NEW-LINE.
  w_count = w_count + 1.
ENDDO.
You will get the value of each text element in the field symbol <fs>.
Kindly reward points if your question is answered.
Thanks
Vinod
Message was edited by: Vinod C

Similar Messages

  • Issue passing values to text symbols in Dynamic text PDF forms

    Hello Everyone,
    I am facing a problem related to Dynamic texts in Adobe PDF forms (Text node of type include text). I am able to pass the dynamic values to the Text node properties but i am not able to pass the values to Text symbols inside the Text node. When tested it says the field not found. I have the same structure and field in the CONTEXT as that of the text symbol. The problem i see is because in PDF the field names have $record.(fieldname) ?
    Please share your thoughts if anyone has faced similar problem or know how to handle it.
    Thanks a million in advance,
    Chandu

    Open the report up in the Designer and Click on Edit, Subreport Links. Likely what you can do is use Shared Variables to pass values from the main report to the subreport.
    You need to do this in the report first. If you are using RAS then you can at runtime. If RAS is not available to you then no way in code.
    See these samples:
    Root Page
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessIntelligence%28BusinessObjects%29+Home
    Enterprise Samples (including managed and unmanaged ras)
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsSDKSampleApplications
    Non-Enterprise Samples
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
    Exporting Samples (RAS)
    http://wiki.sdn.sap.com/wiki/display/BOBJ/NETRASSDK+Samples#NETRASSDKSamples-Exporting%2FPrinting
    Also refer to the DSK help files for the Engine or RAS and search on the subreportcontroller.
    If you are using RAS I'll move your post to the SDK forum.
    Thank you
    Don

  • Dynamic text in text symbols.

    Hi,
       Is there any way by which I can assign dynamic texts at runtime in a text symbol? Eg., say I have the following text to display :-
                  Error in calling the form name XYZ.
    where the value XYZ is to be fetched from the program at runtime.

    Hello Anirban,
    AFAIK this is not possible. Anyways why bother?
    Declare you text symbol as:
    TEXT-001: Error in calling the form name
    In your code:
    DATA: LV_STR TYPE STRING.
    LV_STR = TEXT-001.
    CONCATENATE LV_STR V_FNAME INTO LV_STR SEPARATED BY SPACE.
    BR,
    Suhas

  • Dynamic text element (Text Symbols)

    Hi,
    How can we make text element dynamic?
    Ex:
    If I want a text "Consider date g_date" where g_date is populated from program. Can I pass g_text like <b>text-001 g_text</b>?
    Thanks.

    If you need it for a message, just use a predefined generic one, i.e
    MESSAGE s000(0k) WITH 'Consider date' gdate '' ''.
    Then you don't even have to define 'Consider date' as a text-symbol. But you can. Then it is
    MESSAGE s000(0k) WITH text-001 gdate '' ''.
    Regards,
    Clemens

  • Text Symbol Translation Based on Customers Default Language

    I have a task to translate the text in an email acknowledgement based on the Customer's default language.  The email is just a basic report program.  I have created Text Symbols for the text and created the various language translations.  Is there any way to trigger the translations to occur based on the Customer's default language instead of the language of the User's sign on?

    Thank you.  Though this command doesn't work for what I need, it lead me in the right direction.
    SET LANGUAGE is the command that will dynamically change the language.
    Thank you for your response.

  • Selection Texts, Text Symbols

    Hi,
    I would like to set the text symbol depends on the sy-langu in my report dynamically. How can I do it?
    Another similiar question is that I would like to set the selection texts dictionary Flag dynamically in my report ? How can i implement this?
    Regards,
    Irian

    hi,
    SELECTION-SCREEN COMMENT [/][pos](len)
                               {text|{[text] FOR FIELD sel}}
                               [VISIBLE LENGTH vlen]
                               [MODIF ID modid]
                               [ldb_additions].
    in this situation it is used,
    text-001.
    double click on this maitain text for that.

  • Change text of Text Symbol in Text Elements ......

    Hi all,
       Who can tell me we can change it or not. Ex: I have ALV with Text Symbol of column 1 as Text-C01: 'Column 1' . Now I want to change Text-C01 with other text as 'ABC' by coding in program. How to do it !? Thanks .

    changing text-element by dynamically is not possible

  • What is the difference between Standard text and Text Symbols?

    Hi,
                1.Difference between Standard text and text symbol,?
                2. Which we use Standard symbol?

    Text symbol
    Text symbols are symbols representing text elements. In fact, a text symbol can be defined for every text elements. The reading of the form is easier in the SAPscript editor. The name of the text symbol must not exceed 32 characters and its value 60 characters. The value assignement can be done in two ways:
    - Using the following command: "/: DEFINE &SYMBOL&='TEST_SYMBOLE'"
    - Using a standard text symbol.
    The text symbol value is temporary stored. When the print program finishes the execution, the text symbol does not exist anymore. The text symbol must have a value when it is declared.
    Also check this link,
    http://www.supinfo-projects.com/en/2005/forms_sapscript_en/5/
    Standard text are good, if you are using them in more than one SAPScript, because you have to maintain them only once, and not in every SAPScript.
    It is really good to write rarely changing texts into the SO10 standard texts (for example company name, and address).
    standard text is not always used in scripts. when ever u want to display some data u need to use standard text so that the data gets displayed. Say, u have a large piece of document which needs to be printed at end of script... rather than writing the whole thing in script, we create standard text using SO10 and then use the name along with standard text in script.

  • Problems writing text on Photoshop CC

    I am having problems writing text on Photoshop CC - the image goes black.

    Windows 8?  Update your video card driver from the GPU maker's website. If you cannot update your driver (like on a locked laptop machine), then set the GPU drawing mode in Photoshop to "Basic" and relaunch the app.

  • Not able to make change of text in text symbol which are stored in txt pool

    Hi Experts,
    I have new problem today. I have been told to make changes of header text which is displayed after running one customized program.
    Program name : ZSDXXXXX1 which is attached in one Tcode: ZSDXX2.But when I goto SE38 and display the program to make changes, it shows the following different report name like AQCSSYSTQV000009ZSDXXXXX1 and the text symbols text-f58 which are somewhat different.
    Pls gide me to proceed further...
    In SE38:
    report AQCSSYSTQV000009ZSDXXXXX1
       line-size 253 no standard page heading line-count 000(003).
    include <symbol>.
    include <icon>.
    selection-screen: begin of block prog
                               with frame title text-f58.
    tables LIKP.
    data %count-LIKP(4) type x.
    data %linr-LIKP(2).
    tables aqldb.
    include rsaqexcd.
    data: begin of %st_liste occurs 100,
              head(1),
              tab(3),
              line(6) type n,
              cont(1) type n,
              fint(1),
              finv(1),
              fcol(1) type n,
              text(0253),
          end of %st_liste.
    etc.

    As per the report name "AQCSSYSTQV000009ZSDXXXXX1", it seems that there will be a SAP Infoset "ZSDXXXXX1"
    Go to transaction SQ02 with this infoset name "ZSDXXXXX1" then press change button.
    Then on right hand side there witll be field groups/data fields. Select the folder corresponding to Text-F58 and then press change button .
    If it does not work try transaction SQ01 & SQ03.
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Apr 11, 2008 4:29 PM

  • How Do I Display Quotation Marks in Dynamic HTML Text

    I'm using a dynamic text file that has some Quotation Marks
    that need to be displayed with the content on certain words in the
    TXT file.
    How do i display Quotation Marks inside a Dynamic text field?
    Please Advise. As soon as possible.
    Thanks

    Try this page - it does the job for you:
    http://www.dommermuth-1.com/protosite/experiments/encode/index.html
    Otherwise search this forum for "Special and characters and
    dynamic and text"
    You'll see a couple of thread on the topic. You have to
    encode the special characters for them to display correctly.

  • Assigning a Value to a Text Symbol: DEFINE

    Hi all,
    I am printing some text in the form. The text is in the database table and is retrieved. say the field name is fld06 in the table ztfin. Previously it is code as &zfin-fld06& in the form edotir. Now my requiremnet is to dispay some other text where ever I have to print ztfin-fld06. I have used the define statement in this way :
    /: DEFINE &ztfin-fld06& = 'Data Fattura'
    But when I look at the output the text is not replaced nor it is realised while I am debugging. Can anyone tellme where I am going wrong ?
    Regards,
    Varun.
    Message was edited by: varun sonu

    hi
    chk this out
    <b>DEFINE: Value assignment to text symbols
    Text symbols receive their value through an explicit assignment. This assignment can be made interactively in the editor via the menu options Include &#61614;&#61472;&#61614;&#61472;Symbols &#61614;&#61472;&#61614;&#61472;Text. This lists all the text symbols of a text module, as well as those of the allocated layout set.
    The contents defined in this way are lost if the transaction is exited. To continue printing the text module, you would have to enter the symbol values again.The DEFINE command allows you to anchor this value assignment firmly in the text, to also have it available when you next call up the text. Furthermore, you can allocate another value to a text symbol in
    the course of the text.
    Syntax:
    /: DEFINE &symbolname& = ‘value’
    Example:
    /: DEFINE &re& = ‘Your correspondence of 3/17/94’
    Example:
    /: DEFINE &symbol1& = ‘xxxxxxx’
    /: DEFINE &symbol2& = ‘yyy&symbol1&’
    /: DEFINE &symbol1& = ‘zzzzzzz’
    Result: &symbol2& &#61614;&#61472;yyyzzzzzzz
    The assigned value may have a maximum of 60 characters. It can also contain further symbols. When a symbol is defined using the control command DEFINE, symbols which occur in the value are not immediately replaced by their value. They are only replaced when the target symbol is output. If the operator := is used in the DEFINE statement, all symbols which occur in the value which is to be assigned are immediately replaced by their current values. The resulting character string is only then assigned to the target symbol when all occurring symbols have been replaced. The length of the value is limited to 80 characters. The target symbol must be a text symbol, as at present.
    Syntax:
    /: DEFINE &symbolname& := ‘value’</b>
    <i>u can also write a perform...endperform to change the value of a field to ur required text.</i>

  • Text symbol for automatic insertion of file and page data

    In Visio I have a footer on my wireframe pages that includes text symbols referencing data about the file (document name, last edited) and also the number of the page. These symbols automatically update as the data changes. I can do something similar in InDesign and Word.
    I cannot seem to find a way to do this in Fireworks. Perhaps I just don't know what the feature is called?
    --Jim

    Apologies, but you weren't particularly clear on the problems you were having in your prior post, so I was just making sure you actually found the shapes.
    You didn't ask about customizing the shapes either. If you had, we might have been able to save you the time. Auto shapes have very specific editable on-canvas features. The rest is controlled under the hood by JavaScript. It's quite likely that - had you opened the JS file - you could have made some of those edits. That's the cool thing about these shapes. You CAN change things.
    I don't pretend to be a JS guru, but when I opened the JSF file, I was able to find the variables for changing font color, size, fill color and whether the text automatically expands to fill the box, in few minutes.
    On the canvas, I can use the Subselection tool to change the width of the box and its fill, as well as the size of the text block.  I can use the customize command for the shape itself to place each piece of information on a separate line.Will you get a warning message when you resize the rectangle? Yes, because you are altering the base parameters of an object controlled by JS. Does it have a negative impact on  the shape? No.
    As for autonumbering of Pages, I isaid that this is an automatic feature in FW. You have no control over it in the current version and as I said, I do not beleive the numbering is carried over to a PDF. Beside each page name you will see a 2 digit number - that is what I was referring to.
    If you do not manually name your pages, FW will also name them onthe sequence in which they were created, Page 1, Page 2 etc. FW will NOT change that name if you change the order of the pages; it sill only update the sequence number.
    As you said yourself, you are new to Fireworks. Don't throw in the towel because of one negative experience, which could have been resolved with more knowledge of the software, or additional questions in the forum. And remember that Fireworks is not just a wireframing tool; it is also a design tool.
    Message was edited by: Jim_Babbage

  • Text symbols are missing in SAP standard program

    Hi All,
    I am in very critical probelm I have standard program J_1I_EWT_MIS in that i have text elements are in english.
    I dont have any access key but i want to transalte the text elements while tarnsalting it doesnt ask me for any access key.
    Unfortunately i have overwitten all the text elemnts to another language all my text sysmbols were disapperared.
    I dont have any solution now..
    BUt i know that etx symbols which are disapperead.
    Please advise me how can i proceed to get my text symbols.
    Thanks,

    Hi,
    My problem is i have selections texts in standard program previously i have descriptions for that.
    By mistaken all the texts were disappered and selection texts are existing.
    Now i eant to enter selection text name for that.AS it is a standard program i can't change it.
    Can you please give me an idea on this.
    Thanks,
    Swapna.

  • What is a text symbol, what does it do (other than mess with my doc)?

    I am working with FM8 in Tech Comm Suite 1 on Windows XP.
    Some of my docs have text symbols sprinkled liberally throughout the text.  I know you can select the option not to view the text symbols, but they still show up in FM and PDFs and RoboHelp and play havoc with the spacing.
    What are text symbols?
    What purpose do they serve?
    How can you make sure they aren't inserted when creating a doc?
    Is there any way to get rid of them easily?
    Thanks for the help that I know will soon be coming.
    M

    To clarify, text symbols are one of FrameMaker's visual guides that can be optionally displayed in a FrameMaker document window to indicate the location of something else. A text symbol appears as a special character, but never prints or appears in PDF. However, the represented object may indeed affect the way the published document appears. As explained in the FM 9 User Guide, there are text symbols for an end of paragraph, end of flow, tab, anchored frame, table anchor, marker, forced return, equation alignment point, nonbreaking space, discretionary hyphen, and suppress hyphenation. You turn text symbols on and off with the View > Text Symbols command. Doing so does not affect the content of your document; it just helps you locate where the represented objects occur.
    Thus, the problem you are having is not text symbols per se, but the object represented by a text symbol. As others have commented, the tab character can produce the observed results. Viewing text symbols can help you locate the tab characters. While tab characters can be inserted automatically in an autonumber or, in a structured document, in a prefix or suffix, they can also be entered from the keyboard, by pasting, or by converting a document that contains them from another format. You can find tabs that are not automatic using Edit > Find/Change. Type \t as the text you want to find. If you wish you can do a global change to remove all the tabs in the document or change them all to spaces.
              --Lynne

Maybe you are looking for

  • HELP!  Stuck in a Loop after Erase & Install Tiger 10.4

    Here's what happened: My old G4 PPC PowerMac suddenly started running everything (including on startup) very slowly. A weird sound was coming from the HD? (not sure) but it sounded like it was constantly doing something. The sound was a regular: chik

  • Mail is getting stuck in my outbox?

    Hi I've got a 13" Macbook Air that's about 12 months old. It's got a 1.7ghz I7 processor and 8GB of RAM.  About 2-3 weeks ago I started having intermittent issues sending email where my mail just sits in the outbox and doesn't send. I'm using the App

  • Replication of Sales contract from CRM to R/3

    Hi Experts, I have a requirement of replicating the created sales contract in CRM to the R/3 system through Middleware in 2007. In the standard way replication of R/3 contract to CRM is only possible. Here the BDOC used in BUS_TRANSACTION_MESSAGE and

  • Missing Camera Calibration Profiles in Lightroom Creative Cloud

    I am missing the ADOBE SUPPLIED Nikon D700 and Olympus OM-D E-M5 camera calibration profiles in Lightroom. They were there until I had to reload the apps from CC. I looked in the forums already and haven't found any answer. I have tried to get suppor

  • What is the best way to write a math book?

    should i use graphic tablets such as wacom,smartpen etc. or should i type it using a program like math type. thanks for replies.