Current Position:Home > How to get the long text into text area

How to get the long text into text area

Update:10-11Source: network consolidation
save_text is working fine .
Now I want to display the text in text area .
am using read_text fm for this and data is coming into the internal table of the function module.
how shd I display that long text into text area and that text shld appear has display mode only and how shd I make all other fields in my subscreen as display mode.
Pls guide me its urgent.

The Best Answer

check this.
Long Texts are stored in tables
STXH - header
STXL - details.
if you want to read the texts you can use Fun Module  READ_TEXT
Any Application document Header and Item Long texts are stored in STXH table with the 4 parameters OBJECT,ID,NAME and LANG
These texts are fetched from database using READ_TEXT fun module by passing the above 4 parameters.
Double click on the text, from the text editor menu GOTO-> HEDAER
you will find the all above 4 parameters
so accordingly you have to pass to the fun module READ_TEXT to fetch the texts.
Re: upload longtext from excel file  
REPORT  zupload_excel_to_itab.
TYPE-POOLS: truxs.
PARAMETERS: p_file TYPE  rlgrap-filename.
TYPES: BEGIN OF t_datatab,
      col1(30)    TYPE c,
      col2(30)    TYPE c,
      col3(30)    TYPE c,
      END OF t_datatab.
DATA: it_datatab type standard table of t_datatab,
      wa_datatab type t_datatab.
DATA: it_raw TYPE truxs_t_text_data.
At selection screen
      field_name = 'P_FILE'
      file_name  = p_file.
    I_FIELD_SEPERATOR        =
      i_line_header            =  'X'
      i_tab_raw_data           =  it_raw       " WORK TABLE
      i_filename               =  p_file
      i_tab_converted_data     = it_datatab[]    "ACTUAL DATA
      conversion_failed        = 1
      OTHERS                   = 2.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  LOOP AT it_datatab INTO wa_datatab.
    WRITE:/ wa_datatab-col1,
  • Text options Update:10-11

    Hi all, i had a question regarding when writing something with the text option in photoshop, you then have the option of making it smooth, strong, sharp, crisp. What do these options do to the text? i cant really notice the difference, is there a rec

  • How Open And Print Proc C Genrated Text File Based Report ON Browser Update:10-11

    Dear Sir I have my old 6i forms from which i runs some Pro*c programmers with the help of HOST() command ,and then that generates a normal text file as a resultant report like file name "kha10" which i can easily open with any text client ,,, no

  • Automatic PO creation of free text PR Update:10-11

    Hi! We have all our PRs in free text since we are not yet using material master. One of our purchase organization will only order from one vendor and they will enter that vendor and price in the PR. Is it possible to create a PO automatically from th

  • IF Condition in RTF Help text Update:10-11

    Hi, I have RTF template which contains the field to display the column name. Below are my help text. COLUMN1 is my XML tag and displaying AQUA color in my excel output. <?COLUMN1?><xsl:attribute xdofo:ctx="block" name="background-c

  • Text value is not getting displayed in Query designer !! Update:10-11

    Dear experts.., i have created a new query in query designer using my info provider and then selected one field in default value and then trying to restrict that particular field while selecting the restriction in query designer am getting the exact

  • Which is best app to convert voice memos to text? Update:10-11

    There must be a way to import iPhone 5s voice memos, some 20 minutes long into editable text. Recommendations would be appreciated.SORRY! WHAT I MEANT TO ASK WAS "I WANT TO EXPORT  YOUTUBE & FACEBOOK VIDEOS TO ITUNES. WHAT IS THE BEST APP. TO USE

  • Receiving null and [Receiving text] SMS Update:10-11

    Hi, Strange things on some SMS: I receive one correctly but a the end there is the text "[Receiving text]" Then I receive a second SMS only containing null Why is that ? Thanks.You coded: if (line == null) eof = true; else do something else; //

  • On Android 4.2.2 on a Nexus7 tablet - No Firefox button and most text entry fields do not work at all Update:10-11

    I installed Firefox 19.0.2 and appears to be ok, but I don't see a Firefox button anywhere, so I cannot access any of the functions that it controls, such as bookmarks, which is why I installed it! The ASUS Nexus 7 tablet shows up as a supported plat

  • My downloaded text sounds do not show up under the sounds tab in settings after installing 8.1.1. can someone help me please? Update:10-11

    i downloaded a couple text tones and since installing 8.1.1, they will not show up under the sounds tab. in fact, they do not show up in my recent purchases on itunes, but when i go to buy them again, it says that i have already bought this tone. I j

  • How to provide text formatting options to user from a text field Update:10-11

    Hi, My requirement is - in the interactive form, a comments field needs to be provided where user should be able to enter text with formatting options like Headers indentations bold/italic bullet points and numbers Once user enters the formatted text