<?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: program standard terminate RFBIBL00 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-standard-terminate-rfbibl00/m-p/4776510#M1119270</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the standard program there is a piece of code like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select * in a database table
if sy-subrc NE 0.
  if sy-batch EQ X
      message ID 'A' with xxxx
  ENDIF.
ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in this case whether through call transaction or batch session .  if the program is executed in background then the message abort will always be trigger is the select statement is not satisfy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Nov 2008 04:00:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-06T04:00:09Z</dc:date>
    <item>
      <title>program standard terminate RFBIBL00</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-standard-terminate-rfbibl00/m-p/4776508#M1119268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am doing a requirement as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

loop at list of directory
    SUBMIT RFBIBL00 WITH  DS_NAME     = G_DIRECTORY "file path name
                    WITH  FL_CHECK    = SPACE 
                    WITH  OS_XON      = SPACE 
                    WITH  XNONUNIC    =  SPACE 
                    WITH  CALLMODE    = 'B'    "batch session
                    WITH  MAX_COMM    = '9999' "no of docs per commit work
                    WITH  PA_XPROT    = SPACE  "extended log
                    WITH  XLOG        = 'ON'   "radio button log on
                     EXPORTING LIST TO MEMORY
                    AND RETURN.

  CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
      listobject = t_list
    EXCEPTIONS
      not_found     = 1
      ERROR_MESSAGE = 2
      OTHERS        = 3.
endloop
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose i have 3 files in and the second file have some error such as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;posting key not determine in table etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the submit program terminate and the 3rd file is not being process how can  prevent that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note the my program is being run in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have use exporting list to memory as shown above but it's not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 11:28:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-standard-terminate-rfbibl00/m-p/4776508#M1119268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T11:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: program standard terminate RFBIBL00</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-standard-terminate-rfbibl00/m-p/4776509#M1119269</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 assume that the program is getting terminated due to the errors occured during runtime.  We need to some how capture/track these errors.  So it would be best if you use call mode as CALL TRANSACTION instead of session.  So that it will captuer the errors and returns the msgcoll table.&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 12:24:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-standard-terminate-rfbibl00/m-p/4776509#M1119269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T12:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: program standard terminate RFBIBL00</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-standard-terminate-rfbibl00/m-p/4776510#M1119270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the standard program there is a piece of code like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select * in a database table
if sy-subrc NE 0.
  if sy-batch EQ X
      message ID 'A' with xxxx
  ENDIF.
ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in this case whether through call transaction or batch session .  if the program is executed in background then the message abort will always be trigger is the select statement is not satisfy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2008 04:00:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-standard-terminate-rfbibl00/m-p/4776510#M1119270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-06T04:00:09Z</dc:date>
    </item>
  </channel>
</rss>

