<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem with FM READ_TEXT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415134#M1243301</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you need to read the text from DB, you can achive through calling the sequence of these FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Call the FM READ_TEXT for the object, it will provide the text from memory. Keep this text in internal table.&lt;/P&gt;&lt;P&gt;2) Call the GM FREE_TEXT_MEMORY, it will clear the memory.&lt;/P&gt;&lt;P&gt;3) Call the FM READ_TEXT again, now it will read the text from Database.&lt;/P&gt;&lt;P&gt;4) Call the FM SAVE_TEXT and pass the internal table used in point 1, the purpose of this is to keep the memory state same. Otherwise the text maintained on screen will not be updated in database later on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Aug 2011 05:59:02 GMT</pubDate>
    <dc:creator>deepak_yadav</dc:creator>
    <dc:date>2011-08-03T05:59:02Z</dc:date>
    <item>
      <title>Problem with FM READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415113#M1243280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, but I didn't found any helpful answer.&lt;/P&gt;&lt;P&gt;I call the FM READ_TEXT at SAVE in the audit management.&lt;/P&gt;&lt;P&gt;I would like to get the text from the database, but I get the new text from the memory.&lt;/P&gt;&lt;P&gt;So, is there a FM which reads the text from the db?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 11:26:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415113#M1243280</guid>
      <dc:creator>Private_Member_19084</dc:creator>
      <dc:date>2009-03-25T11:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415114#M1243281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls refer to the link below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link:[https://forums.sdn.sap.com/click.jspa?searchID=24020051&amp;amp;messageID=6915079]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 11:35:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415114#M1243281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T11:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415115#M1243282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP READ_TEXT functions to read the SAP Long Text &lt;/P&gt;&lt;P&gt;All the long text can be retrieve using this method. &lt;/P&gt;&lt;P&gt;You have to used the READ_TEXT functions to read the SAP long text.  e.g. Sales Order, Purchase Order Item text etc. &lt;/P&gt;&lt;P&gt;To check your long text header, go into the long text.  Click Goto -&amp;gt; Header &lt;/P&gt;&lt;P&gt;Example of READ_TEXT functions reading tables PBIM - Independent requirements for material. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through this sample code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TABLES: PBIM. 
* stxh, stxl, stxb - trans tables for text 
* ttxit - text on text-ids 
* ttxot - Short texts on text objects 
* Transaction MD63 
SELECT-OPTIONS: S_MATNR FOR PBIM-MATNR, 
                S_WERKS FOR PBIM-WERKS. 
DATA: BEGIN OF HTEXT. 
        INCLUDE STRUCTURE THEAD. 
DATA: END OF HTEXT. 
DATA: BEGIN OF LTEXT OCCURS 50. 
        INCLUDE STRUCTURE TLINE. 
DATA: END OF LTEXT. 
DATA: BEGIN OF DTEXT OCCURS 50. 
DATA:   MATNR LIKE PBIM-MATNR. 
        INCLUDE STRUCTURE TLINE. 
DATA: END OF DTEXT. 
DATA: TNAME LIKE THEAD-TDNAME. 
SELECT * FROM PBIM WHERE WERKS IN S_WERKS. 
  MOVE PBIM-BDZEI TO TNAME. 
  CALL FUNCTION 'READ_TEXT' 
       EXPORTING 
*           CLIENT                  = SY-MANDT 
          ID                      = 'PB' 
          LANGUAGE                = 'E' 
          NAME                    = TNAME 
          OBJECT                  = 'PBPT' 
*         ARCHIVE_HANDLE          = 0 
     IMPORTING 
          HEADER                  = HTEXT 
     TABLES 
          LINES                   = LTEXT 
     EXCEPTIONS 
          ID                      = 1 
          LANGUAGE                = 2 
          NAME                    = 3 
          NOT_FOUND               = 4 
          OBJECT                  = 5 
          REFERENCE_CHECK         = 6 
          WRONG_ACCESS_TO_ARCHIVE = 7 
          OTHERS                  = 8. 
  LOOP AT LTEXT. 
    IF LTEXT-TDLINE NE ''. 
      MOVE LTEXT-TDLINE TO DTEXT-TDLINE. 
      MOVE PBIM-MATNR TO DTEXT-MATNR. 
      APPEND DTEXT. 
    ENDIF. 
  ENDLOOP. 
ENDSELECT. 

LOOP AT DTEXT. 
  WRITE:/ DTEXT-MATNR, DTEXT-TDLINE. 
ENDLOOP.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mansi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: MANSI  ASNANI on Mar 25, 2009 12:46 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 11:46:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415115#M1243282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T11:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415116#M1243283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx for your fast answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT!&lt;/P&gt;&lt;P&gt;Have you read my problem?&lt;/P&gt;&lt;P&gt;I don't think so, because what you wrote is how to use the FM READ_TEXT....it runs...but I get the longtext from the MEMORY and not from DATABASE!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I need a FM which gives me the longtext from the db.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 12:00:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415116#M1243283</guid>
      <dc:creator>Private_Member_19084</dc:creator>
      <dc:date>2009-03-25T12:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415117#M1243284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can go through this link below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bde358411d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bde358411d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 12:21:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415117#M1243284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T12:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415118#M1243285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer. But I need a FM which gives me the text from the db&lt;/P&gt;&lt;P&gt;and not from the memory.&lt;/P&gt;&lt;P&gt;(I allready get the text from the memory, -&amp;gt; this is my problem)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 12:32:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415118#M1243285</guid>
      <dc:creator>Private_Member_19084</dc:creator>
      <dc:date>2009-03-25T12:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415119#M1243286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The function module READ_TEXT reads the desired text from the text file, or the text memory.&lt;/P&gt;&lt;P&gt;For that you must specify the the text using the following parameters:&lt;/P&gt;&lt;P&gt;OBJECT  &lt;/P&gt;&lt;P&gt;NAME &lt;/P&gt;&lt;P&gt;ID&lt;/P&gt;&lt;P&gt;LANGUAGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With these option give unique or selective text rather tahn giving generic text as the internal table can hold only one text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example : &lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA BEGIN OF i_tlines_r OCCURS 0.&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE tline.&lt;/P&gt;&lt;P&gt;DATA END OF i_tlines_r.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;CLIENT = SY-MANDT&lt;/P&gt;&lt;P&gt;ID = 'Z040'&lt;/P&gt;&lt;P&gt;LANGUAGE = 'E'&lt;/P&gt;&lt;P&gt;NAME = '0000003243' "For ex, Billing document number ,&lt;/P&gt;&lt;P&gt;OBJECT = 'VBBK'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;LINES = i_tlines_r&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;ID = 1&lt;/P&gt;&lt;P&gt;LANGUAGE = 2&lt;/P&gt;&lt;P&gt;NAME = 3&lt;/P&gt;&lt;P&gt;NOT_FOUND = 4&lt;/P&gt;&lt;P&gt;OBJECT = 5&lt;/P&gt;&lt;P&gt;REFERENCE_CHECK = 6&lt;/P&gt;&lt;P&gt;WRONG_ACCESS_TO_ARCHIVE = 7&lt;/P&gt;&lt;P&gt;OTHERS = 8&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 13:07:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415119#M1243286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T13:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415120#M1243287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read_text FM if you can check the source code of the FM , it pulls data from STXH table which is a database table.. to your request to pull from DB is full filled using read_text fm....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you dont want to do that hit STXH table, if you have all the primary keys of the table... pick data from DB table directly..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 13:12:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415120#M1243287</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-03-25T13:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415121#M1243288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The FM READ_TEXT reads the text from the memory, if there is one.&lt;/P&gt;&lt;P&gt;Because, when I'm debugging my program and stop at FM READ_TEXT, I get the new text (which will be saved after the commit) and when I call the same FM via SE37  AT THE SAME TIME, I still get the old text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So your reply, that the FM just reads from the db is NOT CORRECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope somebody can suggest another FM....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 13:55:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415121#M1243288</guid>
      <dc:creator>Private_Member_19084</dc:creator>
      <dc:date>2009-03-25T13:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415122#M1243289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After you update the text, you also have to call FM &lt;STRONG&gt;COMMIT_TEXT&lt;/STRONG&gt; . It's documented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 14:21:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415122#M1243289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T14:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415123#M1243290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; So your reply, that the FM just reads from the db is NOT CORRECT.&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your correct I just read the FM documentation:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;A text is read from the text file or text memory with this function module.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 14:25:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415123#M1243290</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-03-25T14:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415124#M1243291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;COMMIT_TEXT?&lt;/P&gt;&lt;P&gt;This will book and store my text or?&lt;/P&gt;&lt;P&gt;What has this to do with my problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 14:25:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415124#M1243291</guid>
      <dc:creator>Private_Member_19084</dc:creator>
      <dc:date>2009-03-25T14:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415125#M1243292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; What has this to do with my problem?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 14:31:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415125#M1243292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T14:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415126#M1243293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really? How?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will book the text which is in the memory or?&lt;/P&gt;&lt;P&gt;And when I call the FM READ_TEXT at next, I have no chance to get the old text (text before save).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem once again:&lt;/P&gt;&lt;P&gt;I need to get the text from the DB at saving to compare it with the new text (which will be saved).&lt;/P&gt;&lt;P&gt;But when I call the FM READ_TEXT I get the text from the memory (new text).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, when I call the FM COMMIT_TEXT, I'll get THE NEW TEXT from the DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I need a FM which I can call at saving BEFORE the commit and which reads the text from the DB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 14:43:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415126#M1243293</guid>
      <dc:creator>Private_Member_19084</dc:creator>
      <dc:date>2009-03-25T14:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415127#M1243294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess some of the confusion is over exactly what you are trying to do. Is it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Modify some text and save it&lt;/P&gt;&lt;P&gt;2) Read the text that has just been saved&lt;/P&gt;&lt;P&gt;3) Do some processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Modify some text and save it&lt;/P&gt;&lt;P&gt;2) Read the text that existed before the save&lt;/P&gt;&lt;P&gt;3) Do some processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something else?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 15:00:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415127#M1243294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T15:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415128#M1243295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do the second one, (reading existing text)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the FM READ_TEXT reads the new text from the memory &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 15:03:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415128#M1243295</guid>
      <dc:creator>Private_Member_19084</dc:creator>
      <dc:date>2009-03-25T15:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415129#M1243296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are using this in a sap standard transaction ( audit management) ? then you need to find a userexit that triggering before any change happens to text by user and get the text here and keep in an internal table , then use that internal table compare text during SAVE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check link&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;
&lt;EM&gt;Usually, the system reads a text from the text file. However, for texts with storage in the update task&lt;/EM&gt; &lt;EM&gt;thesystem first looks into the text memory to see whether it contains a currently processed version. If so&lt;/EM&gt;
&lt;EM&gt;the system reads this version of the text into the work area, otherwise the text version from the text file&lt;/EM&gt;
&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/EN/d6/0db764494511d182b70000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/EN/d6/0db764494511d182b70000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 15:32:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415129#M1243296</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-03-25T15:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415130#M1243297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm allready in the correct BADI.&lt;/P&gt;&lt;P&gt;This is the first BADI which is called at save, so this must be the correct position &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 16:00:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415130#M1243297</guid>
      <dc:creator>Private_Member_19084</dc:creator>
      <dc:date>2009-03-25T16:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415131#M1243298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe I'm missing something. Can you not keep a copy of the original text before it is edited?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 18:04:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415131#M1243298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T18:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415132#M1243299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I solved my problem now on my own.&lt;/P&gt;&lt;P&gt;But this kind of solution is not very nice &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coding:&lt;/P&gt;&lt;P&gt;IMPORT tline TO rt_lines&lt;/P&gt;&lt;P&gt;               FROM DATABASE stxl(tx)&lt;/P&gt;&lt;P&gt;                     CLIENT   rt_client&lt;/P&gt;&lt;P&gt;                       ID       stxl_id&lt;/P&gt;&lt;P&gt;                         ACCEPTING TRUNCATION&lt;/P&gt;&lt;P&gt;                         IGNORING CONVERSION &lt;/P&gt;&lt;P&gt;                         ERRORS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your fast replies&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 07:51:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-read-text/m-p/5415132#M1243299</guid>
      <dc:creator>Private_Member_19084</dc:creator>
      <dc:date>2009-03-26T07:51:27Z</dc:date>
    </item>
  </channel>
</rss>

