<?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: Dump while executing the report in the background!!! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775061#M1307285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harish ,&lt;/P&gt;&lt;P&gt;      Instead of call transaction , use sessions instead&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jul 2009 12:56:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-07T12:56:15Z</dc:date>
    <item>
      <title>Dump while executing the report in the background!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775052#M1307276</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 have created one report which is calling the "HRASR_TEST_PROCESS" (HR form process) thru BDC. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its running fine while executing via SE38 (foreground) but getting dump while executing from the background with same variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dump is follows,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Short Text&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exception condition "CNTL_ERROR" raised.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR ANALYSIS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A RAISE statement in the program "CL_GUI_CUSTOM_CONTAINER=======CP" raised the exception condition "CNTL_ERROR". Since the exception was not intercepted by a superior program, processing was terminated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Line        Source Code&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;32	    WHEN 1.
   33	      RAISE CNTL_SYSTEM_ERROR.
   34	    WHEN 2.
   35	      RAISE CNTL_ERROR.
   36	    WHEN 3.
   37	      class cl_gui_cfw definition load.
   38	      message id 'DC' type 'W' number cl_gui_cfw=&amp;gt;reason_no_init
   39	        raising create_error.
   40	    WHEN 4.
   41	      RAISE LIFETIME_ERROR.
   42	    WHEN 5.
   43	      RAISE LIFETIME_DYNPRO_DYNPRO_LINK.
   44	    WHEN OTHERS.
   45	      RAISE CNTL_ERROR.
   46	  ENDCASE.
   47	
   48	  m_container_type = CONTAINER_TYPE_CUSTOM.
   49	
   50	  CALL METHOD SET_VISIBLE
   51	      EXPORTING
   52	          VISIBLE = '1'
   53	      EXCEPTIONS
   54	          CNTL_SYSTEM_ERROR = 1
   55	          CNTL_ERROR = 2.
   56	
   57	  CASE SY-SUBRC.
   58	    WHEN 0.
   59	    WHEN 1.
   60	      RAISE CNTL_SYSTEM_ERROR.
   61	    WHEN 2.
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;	      RAISE CNTL_ERROR.
   63	    WHEN OTHERS.
   64	      RAISE CNTL_ERROR.
   65	  ENDCASE.
   66	
   67	  m_name = container_name.
   68	  call method set_window_property
   69	       exporting property_id = property_name
   70	                 value       = m_name
   71	                 keep_cache  = 'X'
   72	       exceptions others = 1.
   73	  if sy-subrc ne 0.
   74	    clear m_name.
   75	    raise cntl_error.
   76	  endif.
   77	
   78	  CALL METHOD ME-&amp;gt;REGISTER_CACHED_W_PROPERTY
   79	    EXPORTING
   80	      PROPERTY_ID             = property_height
   81	    EXCEPTIONS&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know, what is the problem and how can i solve it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 14:34:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775052#M1307276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-06T14:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while executing the report in the background!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775053#M1307277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Does the transaction contain any object oriented grid or OOPs object?&lt;/P&gt;&lt;P&gt;In that case it will not run in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ankur Parab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ankur Parab on Jul 6, 2009 8:08 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 14:38:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775053#M1307277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-06T14:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while executing the report in the background!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775054#M1307278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition to Ankar, who explained it actually very clear, whenever you are using these containers for displaying 'any' kind of Enjoy SAP (GUI) Control you can only use them in foreground. This is because these containers are created on a screen (DYNPRO), and in background screens can 'not be processed'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 14:41:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775054#M1307278</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-07-06T14:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while executing the report in the background!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775055#M1307279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SEE NOTE Note 774172 - Runtime error when  started in background&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 14:41:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775055#M1307279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-06T14:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while executing the report in the background!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775056#M1307280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;  If you are uploading any file from presentation server or the PC then it will not work in back ground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu Verma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 14:42:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775056#M1307280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-06T14:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while executing the report in the background!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775057#M1307281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is because your program is calling SAP Controls ( ALV Grid, ALV Tree's etc) which runs fine on foreground and cause error when running on background. You can resolve this by looking at other alternative such as &lt;/P&gt;&lt;P&gt;FM's or BAPI's to achieve the functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Karthik on Jul 6, 2009 4:49 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 14:45:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775057#M1307281</guid>
      <dc:creator>SG141</dc:creator>
      <dc:date>2009-07-06T14:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while executing the report in the background!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775058#M1307282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Micky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your instant reply and the error has been raised from the standard report while executing as a background scheduled job . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we solve this problem to use GUI in the background?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 09:06:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775058#M1307282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T09:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while executing the report in the background!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775059#M1307283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exception 'CNTL_ERROR'  was raised and the calling program did not catch the exception, due to this you have dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In you program use the TRY-CATCH block. in the CATCH catch the exception 'CNTL_ERROR' (CATCH CNTL_ERROR) and log the information or display the information. Since you are getting this problem in the backgound it's better you catch the exception and log it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 09:19:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775059#M1307283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T09:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while executing the report in the background!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775060#M1307284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai George,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is from standard program. Actually we are using the call transaction, during that some standard report is giving this dump. We cant change the standard report. Our real problem is to execute that report from background which is not happening because of some GUI issues. We are not getting, how to solve the problem. As it is running fine in foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 11:57:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775060#M1307284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T11:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while executing the report in the background!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775061#M1307285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harish ,&lt;/P&gt;&lt;P&gt;      Instead of call transaction , use sessions instead&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 12:56:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775061#M1307285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T12:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while executing the report in the background!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775062#M1307286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Harish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you been able to solve this problem? About running a program in BG?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 11:01:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775062#M1307286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-26T11:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while executing the report in the background!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775063#M1307287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Zhou,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a program that uses controls or frontend services like GUI-Upload/Download cannot be used in the background: These items require a connection to a frontend PC, which is not available in a background job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution is to rewrite the program in such a way that it works without controls and without GUI-up/download.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rüdiger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 14:33:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775063#M1307287</guid>
      <dc:creator>Ruediger_Plantiko</dc:creator>
      <dc:date>2012-07-27T14:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while executing the report in the background!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775064#M1307288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rüdiger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've figured out that it was caused by ALV controls. I was hoping for an easy fix to this problem, something SAP provides so I don't have to change too much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the meanwhile, I've created a workaround for running this in the background by clearing a flag in a FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Zhou&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 17:10:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775064#M1307288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-27T17:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while executing the report in the background!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775065#M1307289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Zhou, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;indeed, as you mention the ALV grid, there are some workarounds in the system, but there is no global solution. For example, the function module REUSE_ALV_GRID_DISPLAY detects internally whether it is called in background mode, and in this case it forwards the call to REUSE_ALV_LIST_DISPLAY which is runnable in background mode, since it creates an ABAP list. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But normally, when using objects of the control framework in your program, you are restricted to dialog mode. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Rüdiger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 20:40:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-the-report-in-the-background/m-p/5775065#M1307289</guid>
      <dc:creator>Ruediger_Plantiko</dc:creator>
      <dc:date>2012-07-27T20:40:49Z</dc:date>
    </item>
  </channel>
</rss>

