<?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 regarding Transfer statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-transfer-statement/m-p/4521626#M1069029</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;Iam transfering the data string to the application server by using the TRANSFER statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i disply the scusses or failure message after transfering the data string.&lt;/P&gt;&lt;P&gt;for example Due to some network problems the string was not transfered..in this case how can i popup the message? &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;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Sep 2008 03:42:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-30T03:42:11Z</dc:date>
    <item>
      <title>regarding Transfer statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-transfer-statement/m-p/4521626#M1069029</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;Iam transfering the data string to the application server by using the TRANSFER statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i disply the scusses or failure message after transfering the data string.&lt;/P&gt;&lt;P&gt;for example Due to some network problems the string was not transfered..in this case how can i popup the message? &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;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 03:42:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-transfer-statement/m-p/4521626#M1069029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T03:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: regarding Transfer statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-transfer-statement/m-p/4521627#M1069030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check sy-subrc = 0 after the transfer statement, if &amp;lt;&amp;gt; 0 exit from the loop and give error message..&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;Regards,&lt;/P&gt;&lt;P&gt;Jey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 03:44:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-transfer-statement/m-p/4521627#M1069030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T03:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: regarding Transfer statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-transfer-statement/m-p/4521628#M1069031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If not equalto 0 then exit from the loop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 03:45:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-transfer-statement/m-p/4521628#M1069031</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T03:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: regarding Transfer statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-transfer-statement/m-p/4521629#M1069032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the SY-SUBRC condition after the TRANSFER Statement. If it is not successful then give an error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TRANSFER w_data TO f_name.

  if sy-subrc ne 0.
  message 'transfer failure' type 'I'.
  endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandra Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 03:48:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-transfer-statement/m-p/4521629#M1069032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T03:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: regarding Transfer statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-transfer-statement/m-p/4521630#M1069033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandra ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;But in the ABAP TRANSFER is the only statement that not return the subrc value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 04:03:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-transfer-statement/m-p/4521630#M1069033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T04:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: regarding Transfer statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-transfer-statement/m-p/4521631#M1069034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transfer doesnt have sy-subrc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can use Autnority_check_dataset function module&lt;/P&gt;&lt;P&gt;Or U can use the table SPTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the sample code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS SABC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'AUTHORITY_CHECK_DATASET'&lt;/P&gt;&lt;P&gt;     EXPORTING  PROGRAM          = SY-REPID&lt;/P&gt;&lt;P&gt;                ACTIVITY         = SABC_ACT_READ&lt;/P&gt;&lt;P&gt;                FILENAME         = '/tmp/sapv01'&lt;/P&gt;&lt;P&gt;     EXCEPTIONS NO_AUTHORITY     = 1&lt;/P&gt;&lt;P&gt;                ACTIVITY_UNKNOWN = 2.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Devanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 04:23:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-transfer-statement/m-p/4521631#M1069034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T04:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: regarding Transfer statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-transfer-statement/m-p/4521632#M1069035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;checking the authority check is the only alternative...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after open dataset if you can check the sy-subrc its assured that transfer statement that follows it.. is done.. unfortunately transfer is the only statement which doesnot return subrc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 04:56:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-transfer-statement/m-p/4521632#M1069035</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-09-30T04:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: regarding Transfer statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-transfer-statement/m-p/4521633#M1069036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jay.&lt;/P&gt;&lt;P&gt;  Thanks for your reply.&lt;/P&gt;&lt;P&gt;  Can you plz send me the sample.&lt;/P&gt;&lt;P&gt; But imagine one situation..&lt;/P&gt;&lt;P&gt;for example iam transfering 400 records to the file...&lt;/P&gt;&lt;P&gt;Error occured in the network after transfering   200 records at that time how to raise the error message .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 05:10:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-transfer-statement/m-p/4521633#M1069036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T05:10:10Z</dc:date>
    </item>
  </channel>
</rss>

