<?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: va01 user exit problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit-problem/m-p/3785655#M910786</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;&lt;SPAN __default_attr="sylfaen" __jive_macro_name="font"&gt;&lt;SPAN __default_attr="15" __jive_macro_name="size"&gt;You have excluded the &lt;U&gt;exceptions&lt;/U&gt; of FM: &lt;STRONG&gt;READ_TEXT&lt;/STRONG&gt;.

Make sure that you are proceeding with the LOOP AT ... and UPDATE statements &lt;U&gt;only when the sy-subrc eq 0&lt;/U&gt; after call to FM: READ_TEXT.
&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN __default_attr="maroon" __jive_macro_name="color"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 May 2008 06:10:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-07T06:10:03Z</dc:date>
    <item>
      <title>va01 user exit problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit-problem/m-p/3785654#M910785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;This is regarding to the user exit problem IN VA01.&lt;/P&gt;&lt;P&gt;we are having a ztable with 3 filds. when ever a sales order is &lt;/P&gt;&lt;P&gt;created then the header text in the sales order text type acceptance number &lt;/P&gt;&lt;P&gt;should be populated into this 3 filds ie 3lines of header text into 3 filds &lt;/P&gt;&lt;P&gt;each line into each field. We have written a code in include MV45AFZZ.&lt;/P&gt;&lt;P&gt;our code is like this..&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            id       = '0001'&lt;/P&gt;&lt;P&gt;            language = sy-langu&lt;/P&gt;&lt;P&gt;            name     = sname    "sales doc is given here&lt;/P&gt;&lt;P&gt;            object   = 'VBBK'&lt;/P&gt;&lt;P&gt;          TABLES&lt;/P&gt;&lt;P&gt;            lines    = tlines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      LOOP AT tlines.&lt;/P&gt;&lt;P&gt;        CASE sy-tabix.&lt;/P&gt;&lt;P&gt;          WHEN  1.&lt;/P&gt;&lt;P&gt;            ztable-field1 = tlines-tdline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          WHEN  2.&lt;/P&gt;&lt;P&gt;            ztable-field2 = tlines-tdline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          WHEN  3.&lt;/P&gt;&lt;P&gt;            ztable-field3 = tlines-tdline.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      UPDATE ztable SET  field1=   ztable-field1&lt;/P&gt;&lt;P&gt;                         field2=  ztable-field2&lt;/P&gt;&lt;P&gt;                         field3 =  ztable-field3&lt;/P&gt;&lt;P&gt;                         WHERE vbeln  = vbak-vbeln.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this code is working fine when the user is giving the header text&lt;/P&gt;&lt;P&gt;when creating the order , suppose if he wont&lt;/P&gt;&lt;P&gt;give the header text it is giving the error message while &lt;/P&gt;&lt;P&gt;saving the order like "Text id 103039900.. language EN not found".&lt;/P&gt;&lt;P&gt;so please tell me how to handle this, ie when ever the&lt;/P&gt;&lt;P&gt;user gives the header text then only the &lt;/P&gt;&lt;P&gt;ztable should be populated if the user wont give the text&lt;/P&gt;&lt;P&gt;the sales order should be saved without giving this message , it means we need to&lt;/P&gt;&lt;P&gt;bypass the function module .&lt;/P&gt;&lt;P&gt;please give the answers.&lt;/P&gt;&lt;P&gt;Thank you so much for all the replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 06:02:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit-problem/m-p/3785654#M910785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T06:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: va01 user exit problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit-problem/m-p/3785655#M910786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;&lt;SPAN __default_attr="sylfaen" __jive_macro_name="font"&gt;&lt;SPAN __default_attr="15" __jive_macro_name="size"&gt;You have excluded the &lt;U&gt;exceptions&lt;/U&gt; of FM: &lt;STRONG&gt;READ_TEXT&lt;/STRONG&gt;.

Make sure that you are proceeding with the LOOP AT ... and UPDATE statements &lt;U&gt;only when the sy-subrc eq 0&lt;/U&gt; after call to FM: READ_TEXT.
&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN __default_attr="maroon" __jive_macro_name="color"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 06:10:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/va01-user-exit-problem/m-p/3785655#M910786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T06:10:03Z</dc:date>
    </item>
  </channel>
</rss>

