<?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: Error With RSDBCSUB in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935112#M386790</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you need the report from RSBDCSUB?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Feb 2007 16:10:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-20T16:10:53Z</dc:date>
    <item>
      <title>Error With RSDBCSUB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935111#M386789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I there guys, i have a big of a problem here in my sap system. My system is SAP R3 Enterprise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's what i have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	I have a program that collects information for creating financial documents, the method i used is creating Batch Input and then process them. I use the SAP standard report RFBIBL00 for creating the BI, and then use the RSBDCSUB for processing the Batch Input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	The program works at some point well, It creates the Batch Input, and then it processes it. The problem is in the RSBDCSUB report that if i put the option EXPORTING LIST TO MEMORY, the program generates a DUMP. I must say that this option must be enabled because the purpose of my program is to send the information to another non sap system via RFC function. If i take this EXPORTING LIST TO MEMORY option, it works really well. I have noticed that the problem is in a function that i think the RSBDCSUB report calls, this function is BDC_PROTOCOL_SELECT that at some point has a SELECT to the APQL table, and it tests if that select returns data, and if it doesn't  return it raises an exception INVALID_DATA. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	One more thing, if i run the program in Debug Mode and with the EXPORTING TO LIST MEMORY option, it works fine and no DUMP is generated, which makes me think that the problem might be in the update of APQL table, maybe the function BDC_PROTOCOL_SELECT makes an insert in this table and right after makes the select to the table trying to find that record that hadn't had the time to be saved in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	Does Anyone know any way to solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	Here is the code i have and the calls to the report's:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	Somewhere in my program i have this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Batch input Creation&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;	   SUBMIT rfbibl00 AND RETURN&lt;/P&gt;&lt;P&gt;            WITH callmode  = 'B'&lt;/P&gt;&lt;P&gt;            WITH ds_name   = file_as_completo&lt;/P&gt;&lt;P&gt;            WITH fl_check  = space&lt;/P&gt;&lt;P&gt;            WITH max_comm  = 1000&lt;/P&gt;&lt;P&gt;            WITH os_xon    = space&lt;/P&gt;&lt;P&gt;            WITH pa_xprot  = 'X'&lt;/P&gt;&lt;P&gt;            WITH xinf      = space&lt;/P&gt;&lt;P&gt;            WITH xlog      = space&lt;/P&gt;&lt;P&gt;            WITH xinf      = 'X'&lt;/P&gt;&lt;P&gt;            WITH xpop      = space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Batch Input Execution&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;	    SUBMIT rsbdcsub AND RETURN&lt;/P&gt;&lt;P&gt;                   EXPORTING LIST TO MEMORY&lt;/P&gt;&lt;P&gt;            WITH batchsys  = space&lt;/P&gt;&lt;P&gt;            WITH bis       = sy-datum&lt;/P&gt;&lt;P&gt;            WITH fehler    = space&lt;/P&gt;&lt;P&gt;            WITH logall    = space&lt;/P&gt;&lt;P&gt;            WITH mappe     = pasta&lt;/P&gt;&lt;P&gt;            WITH von       = sy-datum&lt;/P&gt;&lt;P&gt;            WITH z_verarb  = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Function that generates the DUMP is BDC_PROTOCOL_SELECT, and is in this SELECT to APQL (right at the end of the function)&lt;/P&gt;&lt;P&gt;  SELECT * FROM APQL INTO TABLE APQLTAB&lt;/P&gt;&lt;P&gt;           WHERE GROUPID  IN R_GROUPID&lt;/P&gt;&lt;P&gt;             AND CREATOR  IN R_CREATOR&lt;/P&gt;&lt;P&gt;             AND STATUS   IN R_STATUS&lt;/P&gt;&lt;P&gt;             AND MANDANT = CLIENT&lt;/P&gt;&lt;P&gt;             AND ( ( CREDATE EQ DATE_FROM&lt;/P&gt;&lt;P&gt;                 AND CREDATE EQ DATE_TO&lt;/P&gt;&lt;P&gt;                 AND CRETIME in R_TIME )&lt;/P&gt;&lt;P&gt;               OR ( CREDATE EQ DATE_FROM&lt;/P&gt;&lt;P&gt;                 AND CREDATE NE DATE_TO&lt;/P&gt;&lt;P&gt;                 AND CRETIME GE TIME_FROM )&lt;/P&gt;&lt;P&gt;               OR ( CREDATE NE DATE_FROM&lt;/P&gt;&lt;P&gt;                 AND CREDATE EQ DATE_TO&lt;/P&gt;&lt;P&gt;                 AND CRETIME LE TIME_TO )&lt;/P&gt;&lt;P&gt;               OR ( CREDATE GT DATE_FROM&lt;/P&gt;&lt;P&gt;                 AND CREDATE LT DATE_TO ) )&lt;/P&gt;&lt;P&gt;           ORDER BY CREDATE DESCENDING CRETIME DESCENDING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    RAISE INVALID_DATA.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Below is a link to a file with the DUMP generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://rapidshare.com/files/17401650/Dump.htm"&amp;gt;Dump File&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Hopping to hear from you guys,&lt;/P&gt;&lt;P&gt;  Ricardo Monteiro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 15:46:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935111#M386789</guid>
      <dc:creator>former_member210118</dc:creator>
      <dc:date>2007-02-20T15:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error With RSDBCSUB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935112#M386790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you need the report from RSBDCSUB?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 16:10:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935112#M386790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T16:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error With RSDBCSUB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935113#M386791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ricardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the Standard program :  RPB015FI, In that also the program RSBDCSUB is used as per ur requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SUBMIT RSBDCSUB WITH MAPPE EQ P_MAP&lt;/P&gt;&lt;P&gt;                    WITH VON EQ SY-DATUM&lt;/P&gt;&lt;P&gt;                    WITH BIS EQ SY-DATUM&lt;/P&gt;&lt;P&gt;                    WITH FEHLER EQ SPACE&lt;/P&gt;&lt;P&gt;                    EXPORTING LIST TO MEMORY&lt;/P&gt;&lt;P&gt;                    AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 16:34:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935113#M386791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T16:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error With RSDBCSUB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935114#M386792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob i need RSBDCSUB to execute the Batch Input. The RFBIBL00 creates a batch input case and the i use the other one to execute it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Satya, &lt;/P&gt;&lt;P&gt;right here i don't have how to access the system, because it's in a client, can you tell me what does that RPB015FI program does ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ricardo Monteiro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 17:06:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935114#M386792</guid>
      <dc:creator>former_member210118</dc:creator>
      <dc:date>2007-02-22T17:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error With RSDBCSUB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935115#M386793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know RSBDCSUB starts the batch input session, but I've never seen a useful report come from it. Do you need things like the document number?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 17:11:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935115#M386793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T17:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error With RSDBCSUB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935116#M386794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob, actually i don't need any of the log's / information on the screen that it returns, because after in my program i go to the Batch Input log and retrieve what i want, i just want to use this report to LAUNCH the Batch input session&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 17:22:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935116#M386794</guid>
      <dc:creator>former_member210118</dc:creator>
      <dc:date>2007-02-22T17:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error With RSDBCSUB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935117#M386795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then there's no need to export the list to memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 17:33:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935117#M386795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T17:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error With RSDBCSUB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935118#M386796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but there's a problem if i don't export to memory. If i don't do this, the program writes information to the screen and as this is to be called by RFC function, the other system gets an error saying that needs to have user intervention on the SAP side (that is pressing F3 to go back to the main function)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 17:49:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935118#M386796</guid>
      <dc:creator>former_member210118</dc:creator>
      <dc:date>2007-02-22T17:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error With RSDBCSUB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935119#M386797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK - instead of trying to export the list to memory, why don't you SUBMIT TO SAP-SPOOL?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 18:23:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935119#M386797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T18:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error With RSDBCSUB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935120#M386798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but submitting to SAP SPOOL won't it always print the results? or can i submit to spool without printing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 18:28:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935120#M386798</guid>
      <dc:creator>former_member210118</dc:creator>
      <dc:date>2007-02-22T18:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error With RSDBCSUB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935121#M386799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are various parameters you can pass. Check the help on SUBMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 18:31:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935121#M386799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T18:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error With RSDBCSUB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935122#M386800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rob, i'll try it, but only next week that is when i can access the system..Hope this can solve the problem with the dump&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 18:35:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935122#M386800</guid>
      <dc:creator>former_member210118</dc:creator>
      <dc:date>2007-02-22T18:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error With RSDBCSUB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935123#M386801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think if you set the 'immediately' flag to space, it should stay in the spool until the retention period expires.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 18:48:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935123#M386801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T18:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error With RSDBCSUB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935124#M386802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hia there Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've changed the call of the program like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SUBMIT rsbdcsub AND RETURN&lt;/P&gt;&lt;P&gt;                    TO SAP-SPOOL&lt;/P&gt;&lt;P&gt;                    KEEP IN SPOOL ''&lt;/P&gt;&lt;P&gt;                    WITHOUT SPOOL DYNPRO&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                   EXPORTING LIST TO MEMORY&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            WITH batchsys  = space&lt;/P&gt;&lt;P&gt;            WITH bis       = sy-datum&lt;/P&gt;&lt;P&gt;            WITH fehler    = space&lt;/P&gt;&lt;P&gt;            WITH logall    = space&lt;/P&gt;&lt;P&gt;            WITH mappe     = pasta&lt;/P&gt;&lt;P&gt;            WITH von       = sy-datum&lt;/P&gt;&lt;P&gt;            WITH z_verarb  = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the dump continues to appear &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eDITED: Thanks Rob, the problem is solved &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Ricardo Monteiro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 09:54:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-rsdbcsub/m-p/1935124#M386802</guid>
      <dc:creator>former_member210118</dc:creator>
      <dc:date>2007-02-28T09:54:01Z</dc:date>
    </item>
  </channel>
</rss>

