<?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 not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-working/m-p/1588721#M265195</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;Can you paste abap code from exit to analyse what's wrong with delete process?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Oct 2006 16:54:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-12T16:54:41Z</dc:date>
    <item>
      <title>READ_TEXT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-working/m-p/1588718#M265192</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 have an user exit coding for Sales order processing.&lt;/P&gt;&lt;P&gt;This code is in the FORM Userexit_save_document_prepare.&lt;/P&gt;&lt;P&gt;I have a READ_TEXT function module in the code. It works fin e in all cases. But when Iam trying to delete the Sales order the READ_TEXT function is not retrieving the value of the particular Object , ID and name.&lt;/P&gt;&lt;P&gt;       While debugging i checked the value in another session executing the function module READ_TEXT it gives the value , but it is not picking the value during the delete process. Is there any specific reason why its not reading. &lt;/P&gt;&lt;P&gt;        Iam thinking that probably as it is in the process of deleting the order it didn't find the order reference, But how come another session shows the same value.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ajai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 16:37:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-working/m-p/1588718#M265192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T16:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: READ_TEXT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-working/m-p/1588719#M265193</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;while deleting ,you mean the order number is not getting picked up ,since the reference is deleted?&lt;/P&gt;&lt;P&gt;How are you passing this value ? some internal table or memory field.&lt;/P&gt;&lt;P&gt;Try using get parameter id statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 16:40:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-working/m-p/1588719#M265193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T16:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: READ_TEXT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-working/m-p/1588720#M265194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rushali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is in Userexit_save_document_prepare, so there is no chance of misssing the order #. I have verified that in the debugging mode too..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ajai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 16:52:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-working/m-p/1588720#M265194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T16:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: READ_TEXT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-working/m-p/1588721#M265195</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;Can you paste abap code from exit to analyse what's wrong with delete process?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 16:54:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-working/m-p/1588721#M265195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T16:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: READ_TEXT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-working/m-p/1588722#M265196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dude,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code has been working since an year. Generally we never get a requirement to delete an order. So we never encountered this situation till now.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-tcode = c_value_va01  OR&lt;/P&gt;&lt;P&gt;   sy-tcode = c_value_va02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    v_ttextid     = 'Z200'.&lt;/P&gt;&lt;P&gt;    v_ttextobject = c_value_vbbk.&lt;/P&gt;&lt;P&gt;    v_ttextname   = vbak-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-tcode = c_value_va01.&lt;/P&gt;&lt;P&gt;      v_ttextname   = c_val_xxxxxxxxxx.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    REFRESH : i_tlines,&lt;/P&gt;&lt;P&gt;              i_long_text.&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;        id              = v_ttextid&lt;/P&gt;&lt;P&gt;        language        = sy-langu&lt;/P&gt;&lt;P&gt;        name            = v_ttextname&lt;/P&gt;&lt;P&gt;        object          = v_ttextobject&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        lines           = i_long_text&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;        OTHERS          = 7.&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    DESCRIBE TABLE i_long_text LINES v_lines.&lt;/P&gt;&lt;P&gt;*--- Customer Depart Number is not Exist.&lt;/P&gt;&lt;P&gt;    IF v_lines IS INITIAL.&lt;/P&gt;&lt;P&gt;      v_flag = 'X'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     message w003(znsd) with text-m02.    "Commented by Anjan&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     vbak-lifsk = c_value_z9.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   else.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;.........&lt;/P&gt;&lt;P&gt;..........&lt;/P&gt;&lt;P&gt;          IF v_flag = 'X'.&lt;/P&gt;&lt;P&gt;            MESSAGE w003(znsd) WITH text-m02.&lt;/P&gt;&lt;P&gt;            vbak-lifsk = c_value_z9.&lt;/P&gt;&lt;P&gt;            CLEAR v_flag.&lt;/P&gt;&lt;P&gt;          ENDIF.        &lt;/P&gt;&lt;P&gt;(***** The above warning message is the Culprit of my error while deleting the order.&lt;/P&gt;&lt;P&gt; Even though the value exists in that text Id Z200 READ_TEXT  doesn't returns SY-SUBRC as 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ajai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 18:01:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-working/m-p/1588722#M265196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T18:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: READ_TEXT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-working/m-p/1588723#M265197</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;what's the value of sy-subrc in delete process for read_text ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2006 13:50:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-working/m-p/1588723#M265197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-13T13:50:50Z</dc:date>
    </item>
  </channel>
</rss>

