<?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: read_text problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-problem/m-p/3066605#M726682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   yes there is another way without using fm.&lt;/P&gt;&lt;P&gt;   to concatenate ebeln and ebelp  into g_text_key.&lt;/P&gt;&lt;P&gt;  u can declair g_text_key in globel def. g_text_key type char15.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE &amp;lt;FS&amp;gt;-ebeln &amp;lt;FS&amp;gt;-ebelp INTO g_text_key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is helpfull for you&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;Rahul Kanth Reddy...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Nov 2007 06:23:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-29T06:23:42Z</dc:date>
    <item>
      <title>read_text problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-problem/m-p/3066599#M726676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi am using read_text in perform where am passing&lt;/P&gt;&lt;P&gt;5 tp 6 values for ID.......&lt;/P&gt;&lt;P&gt;for one of the values amongst these 6 which i pass to function module&lt;/P&gt;&lt;P&gt;is not fetching any output........&lt;/P&gt;&lt;P&gt;IN THIS CASE WHEN NO OUTPUT IS FETCHED FUNCTION throws the control&lt;/P&gt;&lt;P&gt;out of the program from within.&lt;/P&gt;&lt;P&gt;I WANT THAT IF FUNCTION MODULE IS NOT FETCHING ANY VALUE THAN&lt;/P&gt;&lt;P&gt;IT SHOULD PROCESS ANOTHER VALUE which i am passing through perform&lt;/P&gt;&lt;P&gt;rather than shooting the control outside......&lt;/P&gt;&lt;P&gt;APART from custimising the function module is there any other way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLZ suggext&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 16:24:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-problem/m-p/3066599#M726676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-28T16:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: read_text problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-problem/m-p/3066600#M726677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please paste the code of your FORM which is fatching the data?&lt;/P&gt;&lt;P&gt;I think you have some kind of EXIT statement after the READ_TEXT FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 16:26:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-problem/m-p/3066600#M726677</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-28T16:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: read_text problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-problem/m-p/3066601#M726678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;perform read_item using id : '0001','0002','0003'.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform.....id1&lt;/P&gt;&lt;P&gt;read_text&lt;/P&gt;&lt;P&gt;object=&lt;/P&gt;&lt;P&gt;id=id1&lt;/P&gt;&lt;P&gt;name =&lt;/P&gt;&lt;P&gt;lang =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;msg&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in one of these value say 0003 no values is fetched....so exit commmand if u place it after FUNCTION ODULE WILL not work as the control is shooted out &lt;/P&gt;&lt;P&gt;from within the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and some method is needed in which we need not custumise fm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 16:35:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-problem/m-p/3066601#M726678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-28T16:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: read_text problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-problem/m-p/3066602#M726679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mitesh, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should not happen, if you have exceptions in the FM.&lt;/P&gt;&lt;P&gt;Try validating the text id with table TTXID before passing them to the FM.&lt;/P&gt;&lt;P&gt;or Try FM &lt;/P&gt;&lt;P&gt;RETRIEVAL_MULTIPLE_TEXTS to retreive text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There exist a class method also to retreive the text, but I dont remember the same as off now. Will update my post once I find out the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lokesh&lt;/P&gt;&lt;P&gt;Pls. reward if it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Lokesh Aggarwal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 16:55:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-problem/m-p/3066602#M726679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-28T16:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: read_text problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-problem/m-p/3066603#M726680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Include  the EXCEPTIONS in your FM call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CALL FUNCTION 'READ_TEXT'           
       EXPORTING
            ID                      = ID
            LANGUAGE                = SY-LANGU
            NAME                    = NAME
            OBJECT                  = OBJECT
       IMPORTING
            HEADER                  = NEWHEADER
       TABLES
            LINES                   = TEXT_TAB
       EXCEPTIONS
            ID                      = 1
            LANGUAGE                = 2
            NAME                    = 3
            NOT_FOUND               = 4
            OBJECT                  = 5
            REFERENCE_CHECK         = 6
            WRONG_ACCESS_TO_ARCHIVE = 7
            OTHERS                  = 8.

  IF SY-SUBRC NE 0.
    message
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 16:59:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-problem/m-p/3066603#M726680</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-28T16:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: read_text problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-problem/m-p/3066604#M726681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey ,i tried this yesterday....the same thing but i forgot to uncomment exceptions,.......:):).....by mistake..now it works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 04:31:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-problem/m-p/3066604#M726681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T04:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: read_text problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-problem/m-p/3066605#M726682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   yes there is another way without using fm.&lt;/P&gt;&lt;P&gt;   to concatenate ebeln and ebelp  into g_text_key.&lt;/P&gt;&lt;P&gt;  u can declair g_text_key in globel def. g_text_key type char15.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE &amp;lt;FS&amp;gt;-ebeln &amp;lt;FS&amp;gt;-ebelp INTO g_text_key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is helpfull for you&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;Rahul Kanth Reddy...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 06:23:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-problem/m-p/3066605#M726682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T06:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: read_text problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-problem/m-p/3066606#M726683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, you can mark this thread as complete so, other people can take help from that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 14:54:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-problem/m-p/3066606#M726683</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-29T14:54:30Z</dc:date>
    </item>
  </channel>
</rss>

