<?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: OBJECTS_OBJREF_NOT_ASSIGNED in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638720#M1762673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;this is the statement where the program fails:&lt;/P&gt;&lt;P&gt;FUNCTION DP_CONTROL_ASSIGN_TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean about "using JDBG"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jul 2013 11:23:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-07-30T11:23:11Z</dc:date>
    <item>
      <title>OBJECTS_OBJREF_NOT_ASSIGNED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638713#M1762666</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 get the above error when a Z program runs in background don't know if it is a program error&lt;/P&gt;&lt;P&gt;I found this solution but it is not clear what to do:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.slashsap.com/2012/07/runtime-error-objectsobjrefnotassigned.html"&gt;http://www.slashsap.com/2012/07/runtime-error-objectsobjrefnotassigned.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 08:18:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638713#M1762666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-30T08:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638714#M1762667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi a a,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check&amp;nbsp; OSS note &lt;STRONG&gt;1061148&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 08:24:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638714#M1762667</guid>
      <dc:creator>former_member209120</dc:creator>
      <dc:date>2013-07-30T08:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638715#M1762668</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;Can you paste the dump from ST22? The link which you mentioned says that the error is caused by a program with functionality of accessing a file on frontend machine and the program is ran in background because of file is on frontend machine the program fails when program tries to open the file on frontend machine. so eiher move the file to application server while running a background job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uploading a flat file that's sitting on a client workstation (Presentation Layer) is not possible. You will either have to execute the upload from the client workstation in foreground mode or FTP the file to the SAP BW application server and then read and load the flat file from there in background mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srikanth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 08:26:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638715#M1762668</guid>
      <dc:creator>former_member213275</dc:creator>
      <dc:date>2013-07-30T08:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638716#M1762669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It would be better if you paste the Dump message in order to find the error.&lt;/P&gt;&lt;P&gt;Secondly, as per your update, &lt;/P&gt;&lt;P&gt;1. In a background scheduled program, you cannot use any GUI_UPLOAD functions.&amp;nbsp; &lt;/P&gt;&lt;P&gt;2. You cannot read file from your desktop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please review at above points in your program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 08:45:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638716#M1762669</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2013-07-30T08:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638717#M1762670</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;my error is "Dump objects_objref_not_assigned" and not "Dump objects_objref_not_assigned in the SUS ASN"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;snote trx says the note is not implementable in my system&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 09:11:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638717#M1762670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-30T09:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638718#M1762671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I paste the error analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You attempted to use a 'NULL' object reference (points to 'nothing')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; access a component (variable: " ").&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; An object reference must point to an object (an instance of a class)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; before it can be used to access components.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Either the reference was never set or it was set to 'NULL' using the&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLEAR statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 09:21:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638718#M1762671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-30T09:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638719#M1762672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First thing is check the statement on which dump has occured.&lt;/P&gt;&lt;P&gt;if it is an object then there will be some statement like for eg. a-&amp;gt;b&lt;/P&gt;&lt;P&gt;here a stands for the object ref.&lt;/P&gt;&lt;P&gt;Check for the statement "create object" where this statement is called.&lt;/P&gt;&lt;P&gt;Now using JDBG, run the same job and check if statement "create object" is getting called or not.&lt;/P&gt;&lt;P&gt;If it is getting called then the reference create is cleared either by free object command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 09:43:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638719#M1762672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-30T09:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638720#M1762673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;this is the statement where the program fails:&lt;/P&gt;&lt;P&gt;FUNCTION DP_CONTROL_ASSIGN_TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean about "using JDBG"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 11:23:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638720#M1762673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-30T11:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638721#M1762674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read &lt;A href="http://help.sap.com/saphelp_nw70ehp2/helpdata/en/a9/5208086a6e448aa35f08357d958af5/content.htm"&gt;&lt;SPAN class="SAPXDPTitle "&gt;Starting and Directly Debugging ABAP Programs&lt;/SPAN&gt;&lt;/A&gt; in online help.sap.com, look for &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;H5 class="SAPXDPTitle sansserif"&gt;Background Jobs:&lt;/H5&gt;&lt;P class="SAPXDPParagraph "&gt;In the job overview (SM37):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt; Select an inactive job. &lt;/LI&gt;&lt;LI&gt; Enter &lt;EM class="SAPXDPScreenElement " title="Object name"&gt;jdbg&lt;/EM&gt; in the command line of the system function bar.&lt;/LI&gt;&lt;/UL&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But did you look in your z-program for GUI function/class not available ion background ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Read text description of FM DP_CONTROL_ASSIGN_TABLE : "Assigning a Structured Table to a &lt;STRONG&gt;Control&lt;/STRONG&gt;".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 11:34:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638721#M1762674</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-07-30T11:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638722#M1762675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly read this post:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/1067064"&gt;http://scn.sap.com/thread/1067064&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this the reason for your problem?&lt;/P&gt;&lt;P&gt;Is your report running fine when executing in foreground?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 11:45:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638722#M1762675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-30T11:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638723#M1762676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Can you please paste the Dump message here,so that we can help you much better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Katrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 12:00:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638723#M1762676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-30T12:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638724#M1762677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, when running in foreground the program runs correctly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 12:25:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638724#M1762677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-30T12:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638725#M1762678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "You attempted to use a 'NULL' object reference (points to 'nothing')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; access a component (variable: " ").&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; An object reference must point to an object (an instance of a class)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; before it can be used to access components.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Either the reference was never set or it was set to 'NULL' using the&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLEAR statement."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 12:59:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638725#M1762678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-30T12:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638726#M1762679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok but this error is in Z program or in a standard program?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 13:23:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638726#M1762679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-30T13:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638727#M1762680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You write yourself &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;I get the above error when a Z program runs in background&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So someone in your system used a control oriented FM without checking GUI availabiliy (would not be the first...) this FM starts with a DP_CREATE FM which check if JAVA-GUI or WINDOWS-GUI is available...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 13:31:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638727#M1762680</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-07-30T13:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638728#M1762681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The most likely cause for your program to fail in background mode is the fact that you're currently employing static methods such as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;cl_gui_frontend_services=&amp;gt;directory_browse&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;cl_gui_frontend_services=&amp;gt;directory_exist&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;cl_gui_frontend_services=&amp;gt;directory_create&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;cl_gui_frontend_services=&amp;gt;gui_download&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Since these methods directly trigger according actions in the SAP GUI (aka &lt;EM&gt;frontend&lt;/EM&gt;) e.g. they check the existence of a directory (&lt;SPAN style="font-family: courier new,courier;"&gt;directory_exist&lt;/SPAN&gt;) in the filesystem of the &lt;EM&gt;frontend&lt;/EM&gt; system (which is the PC that actually runs your SAP GUI).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;When you run such a program in batch mode there is no such thing as a &lt;EM&gt;frontend&lt;/EM&gt; (or SAP GUI) - which is the explanation why you get an invalid reference (&lt;EM&gt;null&lt;/EM&gt;) when you use such a method in batch mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;To solve this issue you should track all &lt;SPAN style="font-family: courier new,courier;"&gt;cl_gui_frontend_services&lt;/SPAN&gt; method calls and find suitable function modules to replace their functionality with plain &lt;EM&gt;application level&lt;/EM&gt; logic (no &lt;EM&gt;frontend&lt;/EM&gt; involved, e.g. &lt;SPAN style="font-family: courier new,courier;"&gt;UPLOAD&lt;/SPAN&gt; function module is not a good idea either)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&amp;nbsp; Chris&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 14:35:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638728#M1762681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-30T14:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638729#M1762682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm telling the above statement because there is also a list of standard programs in ST22 log&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 14:39:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638729#M1762682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-30T14:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638730#M1762683</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;in the abap program I can read the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CALL &lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;CL_GUI_FRONTEND_SERVICES&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;DIRECTORY_LIST_FILES&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;In this case what fm do I have to change?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;I tried to change the above code like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;FILE_READ_AND_CONVERT_SAP_DATA&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;DIRECTORY_LIST_FILES&lt;/LI&gt;&lt;LI&gt;FILE_READ_AND_GET_TAB&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;DIRECTORY_LIST_FILES﻿&lt;/LI&gt;&lt;LI&gt;ARCHIVFILE_CLIENT_TO_CLIENT&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;DIRECTORY_LIST_FILES&lt;/LI&gt;&lt;LI&gt;ARCHIVFILE_CLIENT_TO_SERVER&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;DIRECTORY_LIST_FILES&lt;/LI&gt;&lt;LI&gt;ARCHIVFILE_CLIENT_TO_TABLE﻿&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;DIRECTORY_LIST_FILES&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it won't work﻿:&lt;/P&gt;&lt;P&gt;The type "FILE_READ_AND_CONVERT_SAP_DATA=&amp;gt;DIRECTORY_LIST_FILES" is&amp;nbsp; unknown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is there any FM which could work in a background job?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 07:40:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638730#M1762683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-02T07:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638731#M1762684</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;The problem you're currently facing is the fact that in batch mode there is no such thing as a &lt;EM&gt;presentation layer&lt;/EM&gt; or &lt;EM&gt;frontend&lt;/EM&gt; since your program is running autonomously in background on the &lt;EM&gt;application layer&lt;/EM&gt;. And this is the reason why all your client-related calls fail.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/256154" width="450" /&gt;&lt;/P&gt;&lt;P&gt;If you look at this illustration you see a scenario where you as a user communicate with the &lt;EM&gt;application layer&lt;/EM&gt; through the SAP GUI.&lt;/P&gt;&lt;P&gt;All the methods that you listed are relying on the SAP GUI being in place - which for batch execution is not the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you could use is the following scenario:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/256155" /&gt;&lt;/P&gt;&lt;P&gt;In this scenario the file(s) that your program uses in batch mode are first put onto an FTP server from where they are retrieved via function module calls such as:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;CALL FUNCTION&lt;/STRONG&gt; &lt;SPAN style="color: #3366ff;"&gt;'HTTP_SCRAMBLE'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;CALL FUNCTION&lt;/STRONG&gt; &lt;SPAN style="color: #3366ff;"&gt;'FTP_CONNECT'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;CALL FUNCTION&lt;/STRONG&gt; &lt;SPAN style="color: #3366ff;"&gt;'FTP_R3_TO_SERVER'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;CALL FUNCTION&lt;/STRONG&gt; &lt;SPAN style="color: #3366ff;"&gt;'FTP_CLIENT_TO_R3'&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;CALL FUNCTION&lt;/STRONG&gt; &lt;SPAN style="color: #3366ff;"&gt;'FTP_DISCONNECT'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 10:17:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638731#M1762684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-02T10:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638732#M1762685</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;ok, it is clear by a basis point of view but when I change &lt;SPAN class="L0S52"&gt;"CALL &lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;CL_GUI_FRONTEND_SERVICES&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;DIRECTORY_LIST_FILES" into &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;"ARCHIVFILE_CLIENT_TO_SERVER&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;DIRECTORY_LIST_FILES﻿",&amp;nbsp; &lt;/P&gt;&lt;P&gt;the program generates the error &lt;STRONG&gt;ARCHIVFILE_CLIENT_TO_SERVER=&amp;gt;DIRECTORY_LIST_FILES" is&amp;nbsp; unknown.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 11:48:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned/m-p/9638732#M1762685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-02T11:48:28Z</dc:date>
    </item>
  </channel>
</rss>

