Listing text literals and text symbols

HI,
I am able to get list of all text literals used in a program using
SCAN ABAP-SOURCE gt_source
                INCLUDE PROGRAM FROM 'ZTEST_AM_ALV2'
                TOKENS INTO gt_tokens
                STATEMENTS INTO gt_stmts.
LOOP AT gt_tokens into w_tokens WHERE type = 'S'.
WRITE:/1  w_tokens-row,
        15 w_tokens-col,
        29 w_tokens-str.
ENDLOOP.
Now for all these text literals in g_tokens i want to list down all the text symbols which can be assigned to these literals.
Thanks.

Hi...
  do this...
DATA: ITAB LIKE STANDARD TABLE OF TEXTPOOL WITH HEADER LINE.
CALL FUNCTION 'RS_TEXTPOOL_READ'
  EXPORTING
    OBJECTNAME                 = SY-REPID
  ACTION                     = 'EDIT'
  TABLES
    TPOOL                      = ITAB
EXCEPTIONS
   OBJECT_NOT_FOUND           = 1
   PERMISSION_FAILURE         = 2
   INVALID_PROGRAM_TYPE       = 3
   ERROR_OCCURED              = 4
   ACTION_CANCELLED           = 5
   OTHERS                     = 6
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT ITAB.
WRITE:/ ITAB-KEY, ITAB-ENTRY.
ENDLOOP.
Abhishek...do not forget to give points...
Rammohan

Similar Messages

  • How to get text name text object and text id for long text

    Hi,
    I am trying to fetch Long text for a given order number from transaction CO04 in SAPScript. I know that I have to use Include X (OBJECT) XX ID XXX.
    How do I get the text name, text object and text id for the order header long text from Transaction CO04.
    Points will be awarded..
    Tushar

    Tushar,
    When you are in CO02, and are at the Long Text Tab,click on the Icon that is next to the Order Number at the top of the screen (this icon looks like a Pencil and a Pad of Paper and is called "Change Long Text"). When you click on this it will take you to the SAPscript Editor. Now hit Goto->Header and you will get the data you require.
    Hope this helps.
    Cheers,
    Pat.
    PS. Kindly award Reward Points as appropriate.

  • Transporting Text Elements and Text Symbols?

    Hi,
    Please tell me how do we translate text symbols and text elemnts into different languages? Also how do we transport them and if we translate them in different languages then will these translations be available when we are transporting them to different servers?
    Looking forward to your quick response.
    Regards,
    MD

    Hi,
    Refer the below thread..
    Re: Text element translation
    Re: Text element transporting
    Edited by: Chithra Saravanan on Aug 4, 2008 11:33 PM

  • Getting text ID and Text object  associated with item texts in PO...

    Hi,
    To print standard text on smartform for a given item in purchase order, I need to find the text ID and object associated with it.
    There are various texts like item text, Info record PO text, Material PO Text, Delievry Text, etc...
    Now when I go to ME22N, and select item detail for any item -> Texts , how do I get text ID, and object associated with it ?

    Hi ,
        Use table stxh,stxl
        FM read_text.
        you can view the text id by following
        this link
         me23->header-text-double click on text->menu goto->
         header        
    Regards
    Amole

  • How to change default text properties and text box properties

    I'm adding text to a PDF document by using the text box tool. The default is to put a border around the box and also the font is red and larger than I'd like. I think I found how to change the default box properties (so it has no boarder).
    For the text/font, I can pull up a menu to change the font properties, but so far I'm having to do this for each box I create. One workaround is to cut and paste new text boxes with the formatting I want, but I still want to know how can I set the defaults to the font, size and color of text I want?
    I'm using AA 8 Professional
    Best, David

    This is one of Acrobat's less intuitive areas!
    For defaults, right-click on the text box that is as you want it: then select menu item 'Make current properties default'
    Use Ctrl-E to bring up the Properties toolbar: its content will change depending on whether you have the box or the text selected, and selecting the box or text can be a bit clunky.
    Steve.

  • Annoying text shadows and text backgrounds...

    I agree with Chiatanya... the text shadows are very annoying! So too are the text backgrounds. I updated from 10.2.4 and didn't have either of those problems. Does anyone know of a way to eliminate the text background and/or text shadow? Transparent color???
    Please view a screenshot of what I'm (we're) talking about...
    http://www.macaspen.com/text_shadow.gif

    Hi Richard, when any file or folder on the destop is selected it exhibits the "text background" you are showing and when it not selected the text has a drop shadow. There may be some haxie out there that will change it for you but I know of no way to accomplish that from within the system.
    -mj
    [email protected]

  • How to trigger based play a text, video and animated symbol

    Hello
    I have an animated text followed by a video followed by animated symbol. I have a next button with the following commands
    sym.getSymbol("slide").play();
    sym.play();
    The problem:
    I can go next from the text to the video but have to wait till the video finishes playing then the symbol comes in automatically. if i click next while the video is playing. The animation progresses in the symbol and it misses the starting animation.
    What i want is while the video is playing and i click next the video stops and the slide starts to play.
    Project file here: https://www.mediafire.com/?0zv067hgt6g0l7x
    Can anyone help ?
    Thanks

    Hi
    I was facing another issue.
    As you can see in the test project. There is a video. It has a simple opacity at the end. When i enable controls for the video and pause and play in the browser to see specific parts. but what happens is that the video fades out when the playhead reaches that point and other slides fade in.
    What i want to do is when the pause button is pressed in the video, the playhead stops and only when the video has ended or the next button clicked, the next slide appears.
    Can you please tell me how to achieve this ?
    Thanks

  • Is there a feature in Acrobat XI  = free text field and text is visible if form printed?

    I am trying to develop a fillable form (not web based) that would allow the user to free text in some fields.  I do see the multiple text option. However, ideally I would like the text and all lines of the text to scroll and be visibile on line and also when printed.
    Does this feature exist in Adobe Acrobat XI Forms Central?   Additionally I do not want to collect data.
    Thanks!

    To achieve what you want (multiple line text fiels which scroll on the screen but expand when printed to show the whole text) you would need to use LiveCycle Designer and create a dynamic form. This is more of a power user tool. You can get more information here : http://www.adobe.com/products/livecycle/tools/designer.html
    This used to come in the box with Acrobat. If you upgraded to Acrobat XI you might want to have a look at this page
    http://helpx.adobe.com/x-productkb/policy-pricing/upgrade-livecycle-designer-acrobat-xi.ht ml
    Gen

  • Display Text Area and Text field in same line

    All,
    Please help with this scenario.
    I have 3-4 text fields, which are all on NEW LINE. I want a text area adjacent to these 4 fields.
    How to achieve this.
    Thanks and Regards,

    Hi,
    OK - My Textarea item is immediately after the first normal Text item in sequence numbers (the first item is sequence 10 on my page and my textarea item is sequence 15).
    The only settings I changed on my TextArea item are:
    Begin on new line: No
    HTML Table Cell Attributes (Element section): rowspan=4
    This second setting merges together 4 table cells in one column into a single cell
    Andy

  • Text orientation and Text size

    Gurus,
    I have been beating my brains out to find a way to orient labels on map and also be able to control their size with different zoom levels, but with little success.
    I have Master map spatial data stored in our database. I am taking advantage of the Oracle Maps Javascript APIs on the build "Ver1033p5_B081010".
    Here is what I am upto:
    1. Created a GEOMETRY THEME "AREA" to display the topological area.
    2. Created another GEOMETRY THEME "Road Names" to display the road/street names. The Styling rule used for the "Label Style" has the "Smart path following" property enabled.
    3. Created a BASE MAP out of these two themes and have defined the scale at which the "Road Names" needs to be displayed.
    4. Created a TILE LAYER out of the base map.
    I run my web application and it displays the map correctly and the theme switches on/off exactly at the zoom level which I had defined. Things are slick, but i am not happy with couple of things.
    When the "Road Names" theme switches on, the labels do not do a "Smart path following" which I had hope to see happening out of the box.
    Also, the label size of the theme remains the same on every different zoom level which is a bit annoying.
    Could anyone please advise me on how to tackle these issues?
    Many thanks,
    Sumanth

    Did you find a solution?
    Thanks,
    Alberto

  • Display key and text by WAD command in custom structure hierarchy

    Hi everybody,
    I have a query using a custom structure with hierarchy layout. As usual the structure does only display its text as descriptions but I can enable the display the key in BEx Web by right-click on the analysis item --> Properties --> Characteristic --> Display. Unfortunately these setting can not be defined directly in the structure within the Query Designer.
    For a workaround I put the query into a web template, in which I used the Set Presentation (SET_PRESENTATION) command to enable key and text display from the start. Hence I put that command in the wem template parameters Action Before First Rendering (ACTION_BEFORE_FIRST_RENDERING). Everything is working properly and makes me very happy.
    But... there is one thing missing, I would like to implement... I want a toggle button, which allows the user to switch between key and text display and text display. Unfortunately setting the same command from Action Before First Rendering (ACTION_BEFORE_FIRST_RENDERING on a various button does not working. The button command only affects data rows of the leaves of the structure hierarchy. All parent nodes do not change their appearance.
    Any ideas how to solve this?
    Thank you for any helps and comments!
    Sebastian

    Hi Sebastian,
    I have a similar problem. Can you help me? How did you set the entry in Member Presentation of Command SET_PRESENTATION to display key and text? I just found the values to set the only text or only key.
    best regards,
    Barbara

  • Cannot type in a text box or text callout box

    I'm using Windows 7, IE 9.0.8112.16421, and Acrobat version 10.1.6. I am working in a priorietary platform for reviewing material and I can use all of the commenting tools and can create a text box and a text callout box, but I cannot type in them. My text box and text callout box work just fine with every other program that I use on my system. But this requires using Acrobat and its tools within their platform and I cannot type in those two boxes in that situation. Their first suggestion was it was an Acrobat problem. We have repaired and reinstalled several times to no avail. They then said to be sure Acrobat Reader was not installed (and it wasn't). I've cleared history. Their online reviewing system requires a specific Java script in a specific place -- we've installed, deleted, reinstalled, etc. and it still doesn't work.
    I've used this platform on another computer and it works fine. I got a new computer in February with a new CS, and the problem is occurring on only this new system. And only when I am using Acrobat in their platform.
    Would anyone have any suggestions what I might try? They said they had one report of a person having the same problem, but they had Reader installed.
    Thanks!

    I don't know how to save a sample file to the forum.  But I know it's actualy being created because I can close and reopen the document and the text box is still there and you can still select the text in the text box, view it and see it.  But as soon as you click outside the text box, the text in the text box disappears again until you click back inside the text box.
    This problem has been discussed ad nauseum with no solution ever having been given.
    http://blogs.adobe.com/dmcmahon/2011/09/17/acrobatreader-x-how-to-enab le-the-typewriter-tool/
    By Judy - 5:10 PM on May 24, 2012   Reply
    I am on Adobe X Pro and whenever I add text using the text edit tool the text disappears when I add text to another place in the document. It is also creating comments for every place I add text. How do I get the text to remain visible in the document and not create a comment?
    http://answers.acrobatusers.com/text-box-disappears-q8542.aspx
    "I have a map pdf that I printed from Google Earth. I want to use text boxes to put labels on it. I can place the text boxes and get the font and colors all set up OK, but then when I click the cursor in a new place to start a new text box, the first one vanishes and won't come back unless I mouse over it. I've wasted hours trying to solve this one! I'm using Acrobat Pro X and Windows 7. It also happens with Acrobat Pro 9 and XP."
    http://forums.adobe.com/message/4550185
    http://forums.adobe.com/message/4477271
    Usually, responders claim that one is using Mac Preview or reader or some other program.  THAT IS NOT THE PROBLEM.  THE DOCUMENTS ARE BEING CREATED AND/OR EDITED IN ADOBE ACROBAT X AND NO OTHER PROGRAM.

  • How to display text type(Basic Texts) for product in CRM WebUI

    hi,
    I am new to CRM WebUI. We have Basic Texts (note type) configured for CRM Products. We want to store long desciption of product information here. I have added it through text types and text determination procedure configurations
    1. CRM > Basic Functions > Text Management  > Define Text Objects and Text Types and
    2. CRM > Basic Functions > Text Management  > Define Text Determination Procedure.
    I can see my text type comming in SAPGUI. I have a business requirement to show this text type on the WebUI...
    Please let me know how to make it appear on the product maintainance page in WebUI.
    regards
    Raghavendra

    It should be available in std view. If not you can make the Assignment Block visisble in your Overview Page (Component - PRDTXT, View - ListWindow). You will get a Assignment Block named Notes.
    Hope this is what you are looking for.
    Regards,
    Alin

  • Passing Text name in text includes dynamically in Smartforms

    Hi Experts,
    How to pass text name , text object and text id dynamically while i include text in smartforms.
    I surfed in SDN but still i am not clear.
    I am calling READ_TEXT FM in my print program. When i try to call using the variables which are used in Print program and here i import them to pass it in text module, It gives me error that no variable of that name found.
    Regards
    Swetha

    Swetha,
    it depends how many text combination you want to pass.
    if they are some 4-5 than you can simply pass them like:
    CASE &VBDKR-VKORG&.
      WHEN '1552'.
    INCLUDE ZADDRESS_1552_RT OBJECT TEXT ID ADRS
      WHEN '1454'.
    INCLUDE ZADDRESS_1454_RT OBJECT TEXT ID ADRS
      WHEN '1555'.
    INCLUDE ZADDRESS_1555_RT OBJECT TEXT ID ADRS
      WHEN '1482'.
    INCLUDE ZADDRESS_1482_RT OBJECT TEXT ID ADRS
      WHEN '1483'.
    INCLUDE ZADDRESS_1483_RT OBJECT TEXT ID ADRS
      WHEN '1484'.
    INCLUDE ZADDRESS_1484_RT OBJECT TEXT ID ADRS
      WHEN '1485'.
    INCLUDE ZADDRESS_1485_RT OBJECT TEXT ID ADRS
      WHEN '1486'.
    INCLUDE ZADDRESS_1486_RT OBJECT TEXT ID ADRS
    above example i used to pass address in script.
    else if you dont know how many combination are there than you can write perform routine.
    Amit.

  • There doesn't seem to be 'symbol and text substitution' on yosemite, i.e. cannot shorten 1/2 or 1/4 as in pages 09

    Has anyone found 'symbol and text substitution' on Pages 5 please?  On Pages 09 you could change the style of fractions i.e. 1/2, 1/4, 2/3 etc.  Thanks

    Text Substitution has moved out of the applications and into System Preferences > Keyboard Text. Fractions that are not present can be constructed from the special characters panel (Edit ▸ Special Characters…). Search on the word fraction.
    If you want to roll your own, then choose the gear selector in the upper left corner of the special characters toolbar, and customize list… . Choose Digits - All. Once Digits - All appears in your left category panel, select it, and then scroll down to the fraction components. These are the small numbers before and after the forward slash. Double-click to place in the With category of the Keyboard Text window.

Maybe you are looking for

  • Can't browse "save in" dialog box in BB News Feeds App

    Blackberry Curve 9330 3G     6.0 bundle 2333 (v6.0.0.524)     While in the BB News Feeds App,  I would like to save a MP3. In the dialog box I click save. In the next dialog box I click browse.  Dialog box is Save in  .../blackberry/ringtones.  I wan

  • Help needed in MV Query

    Hello, I have created a MV as follows: CREATE MATERIALIZED VIEW Test1_MV BUILD IMMEDIATE REFRESH COMPLETE ENABLE QUERY REWRITE AS SELECT b.Customer_ID, j.MONTH_END_DATE, (AVG(sum(COUNT *(case when (m.DIM1_DSC ='ABC') then 1 else 0 end)))OVER (ORDER B

  • Problem with share

    Hello, i've made a new film and now i'm ready. until today i've never any problems with imovie but now i can't  share my film. the button doesn't open a selection. Can anyone help me? Thanks

  • ITunes 7 cleared all video path

    Titles says it, iTunes 7 does not have the same path for video file as the older one, which mean that by downloading a podcast it will now go to somewhere like /podcast/ and there, as previously, the video was stored [iTunes music folder]/[podcast ar

  • Error when posting Planned Records using FNM1 in Loan Module!!

    Hi, I am getting error "50 E INTEREST EXP or ZBA CONTRA ACCT cannot be replaced' when positng the interest payment for loan in loan module. The system has posted a planned record and i see it in the cash flow however when posting the planned record i