<?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 Read_text parameters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parameters/m-p/3975535#M949537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to print Bank Payment Instruction text	 	taken from Billing doc. header text:  Bank Payment Instruction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to use Read_Text what are the parameters i need to pass to function module Read_text&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jun 2008 13:09:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-19T13:09:50Z</dc:date>
    <item>
      <title>Read_text parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parameters/m-p/3975535#M949537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to print Bank Payment Instruction text	 	taken from Billing doc. header text:  Bank Payment Instruction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to use Read_Text what are the parameters i need to pass to function module Read_text&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 13:09:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parameters/m-p/3975535#M949537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T13:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Read_text parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parameters/m-p/3975536#M949538</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 will be useful to read the Long texts stored in the system, for example if you take Sales Order Text or Prod Order Text, in some cases you need to dispaly in SAP Script / send to some other systems, in such cases we will use READ_TEXT FM to read this based on object number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this also.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/d6/0db764494511d182b70000e829fbfe/frameset.ht" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/d6/0db764494511d182b70000e829fbfe/frameset.ht&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks&lt;/P&gt;&lt;P&gt;VIkranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 13:13:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parameters/m-p/3975536#M949538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T13:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Read_text parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parameters/m-p/3975537#M949539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DEAR FRIEND&lt;/P&gt;&lt;P&gt;PLS GO THROUGH THE FOLLING CODE&lt;/P&gt;&lt;P&gt;YOU WILL GET ALL.&lt;/P&gt;&lt;P&gt;REWARDS ARE EXPECTING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VIVEK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH i_thead.&lt;/P&gt;&lt;P&gt;CLEAR v1.&lt;/P&gt;&lt;P&gt;CLEAR v2.&lt;/P&gt;&lt;P&gt;CLEAR v3.&lt;/P&gt;&lt;P&gt;CLEAR v4.&lt;/P&gt;&lt;P&gt;CLEAR v5.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    id                      = v_id&lt;/P&gt;&lt;P&gt;    language                = sy-langu&lt;/P&gt;&lt;P&gt;    name                    = v_name&lt;/P&gt;&lt;P&gt;    object                  = v_object&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    lines                   = i_thead[]&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;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR v_spec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT i_thead INTO w_thead.&lt;/P&gt;&lt;P&gt;  MOVE  w_thead-tdname TO v_head.&lt;/P&gt;&lt;P&gt;  REPLACE '*' WITH space INTO v_head.&lt;/P&gt;&lt;P&gt;  CONDENSE v_head.&lt;/P&gt;&lt;P&gt;  IF sy-tabix = 1.&lt;/P&gt;&lt;P&gt;    v1 = v_head.&lt;/P&gt;&lt;P&gt;  ELSEIF sy-tabix = 2.&lt;/P&gt;&lt;P&gt;    v2 = v_head.&lt;/P&gt;&lt;P&gt;  ELSEIF sy-tabix = 3.&lt;/P&gt;&lt;P&gt;    v3 = v_head.&lt;/P&gt;&lt;P&gt;  ELSEIF sy-tabix = 4.&lt;/P&gt;&lt;P&gt;    v4 = v_head.&lt;/P&gt;&lt;P&gt;  ELSEIF sy-tabix = 5.&lt;/P&gt;&lt;P&gt;    v5 = v_head.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  CONCATENATE v_spec v_head INTO v_spec.&lt;/P&gt;&lt;P&gt;  CLEAR v_head.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 13:13:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parameters/m-p/3975537#M949539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T13:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Read_text parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parameters/m-p/3975538#M949540</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 need to pass the Text id , Name , Language and Object . You will get this parameters from document header text.&lt;/P&gt;&lt;P&gt;Goto the Text and double click , now it will take you to the text editor . &lt;/P&gt;&lt;P&gt;Now  choose Go to -&amp;gt; Header from Menu Bar, Here you will find Text Id, Name , Object and Language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Ravi Sankar.Z&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 13:16:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parameters/m-p/3975538#M949540</guid>
      <dc:creator>ravisankara_varaprasad</dc:creator>
      <dc:date>2008-06-19T13:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Read_text parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parameters/m-p/3975539#M949541</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 find the below sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here you have to pass the client,id,language,name, object parameters, you can find these parameters in STXH table.&lt;/P&gt;&lt;P&gt;take any of the entry from this table and execute this function module you will understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;           tbl_tline1  TYPE STANDARD TABLE OF tline.&lt;/P&gt;&lt;P&gt;&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       &lt;/P&gt;&lt;P&gt;              language&lt;/P&gt;&lt;P&gt;              name&lt;/P&gt;&lt;P&gt;              object&lt;/P&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;              lines    = tbl_tline1&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;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;    write your further code here.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Sreeram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 13:56:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parameters/m-p/3975539#M949541</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T13:56:58Z</dc:date>
    </item>
  </channel>
</rss>

