<?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 Handelling function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/handelling-function-module/m-p/5855117#M1320404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working in scripts.&lt;/P&gt;&lt;P&gt;I want to read HEADER TEXT of delivery, by using the function module READ_TEXT.&lt;/P&gt;&lt;P&gt;But in this case I want to handle the exception.&lt;/P&gt;&lt;P&gt;ie. if driver program doesn't find any ID for function module, it should not give the error.&lt;/P&gt;&lt;P&gt;now it is giving error as 'delivery 0080011752 id 0001 not found'.&lt;/P&gt;&lt;P&gt;Can anybody tell me "how to handle this exception?"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jun 2009 06:25:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-22T06:25:44Z</dc:date>
    <item>
      <title>Handelling function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handelling-function-module/m-p/5855117#M1320404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working in scripts.&lt;/P&gt;&lt;P&gt;I want to read HEADER TEXT of delivery, by using the function module READ_TEXT.&lt;/P&gt;&lt;P&gt;But in this case I want to handle the exception.&lt;/P&gt;&lt;P&gt;ie. if driver program doesn't find any ID for function module, it should not give the error.&lt;/P&gt;&lt;P&gt;now it is giving error as 'delivery 0080011752 id 0001 not found'.&lt;/P&gt;&lt;P&gt;Can anybody tell me "how to handle this exception?"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2009 06:25:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handelling-function-module/m-p/5855117#M1320404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-22T06:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Handelling function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handelling-function-module/m-p/5855118#M1320405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can check sy-subrc after function call and do whatever you want to do here .&lt;/P&gt;&lt;P&gt;Case sy-subrc.&lt;/P&gt;&lt;P&gt;when 4.&lt;/P&gt;&lt;P&gt;==&amp;gt; write logic fo rwhat you want here.&lt;/P&gt;&lt;P&gt;Endcase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2009 06:29:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handelling-function-module/m-p/5855118#M1320405</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2009-06-22T06:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Handelling function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handelling-function-module/m-p/5855119#M1320406</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;This exception will occur, when Sy-SUBRC is '1' after excuting the FM...so u can write the case on sy-subrc and Raise ur Customized message..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-subrc.&lt;/P&gt;&lt;P&gt;  when '1'.&lt;/P&gt;&lt;P&gt;    raise 'message'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope its clear!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2009 06:30:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handelling-function-module/m-p/5855119#M1320406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-22T06:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Handelling function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handelling-function-module/m-p/5855120#M1320407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    You can solve ur prob my making z function module of read_text.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2009 06:32:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handelling-function-module/m-p/5855120#M1320407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-22T06:32:11Z</dc:date>
    </item>
  </channel>
</rss>

