<?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 error in a background execution in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned-error-in-a-background-execution/m-p/4499270#M1064547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You say that I can't use cl_gui_frontend_services method?? I use this metho (upload_file, download_file, delete_file...) for my program. It's mandatory!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Sep 2008 14:34:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-29T14:34:41Z</dc:date>
    <item>
      <title>OBJECTS_OBJREF_NOT_ASSIGNED error in a background execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned-error-in-a-background-execution/m-p/4499268#M1064545</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 have a problem at the background execution of my program. I have this error : "OBJECTS_OBJREF_NOT_ASSIGNED"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Information on where terminated                                     &lt;/P&gt;&lt;P&gt;    Termination occurred in the ABAP program "SAPLCNDP" - in        &lt;/P&gt;&lt;P&gt;     "DP_CONTROL_ASSIGN_TABLE".                                     &lt;/P&gt;&lt;P&gt;    The main program was "ZFI__SAPHIR_ES_SPLIT_TRIP_HEAD ".                                                                                &lt;/P&gt;&lt;P&gt;In the source code you have the termination point in line 1     &lt;/P&gt;&lt;P&gt;    of the (Include) program "LCNDPU10".                            &lt;/P&gt;&lt;P&gt;    The program "SAPLCNDP" was started as a background job.         &lt;/P&gt;&lt;P&gt;    Job Name....... "ZFI__SAPHIR_ES_SPLIT_TRIP_HEAD"                &lt;/P&gt;&lt;P&gt;    Job Initiator.. "COULOUMIESXA"                                  &lt;/P&gt;&lt;P&gt;    Job Number..... 15580300                                                                                &lt;/P&gt;&lt;P&gt;Source Code Extract                                                                                &lt;/P&gt;&lt;P&gt;Line  SourceCde                                                                                &lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; FUNCTION DP_CONTROL_ASSIGN_TABLE.                             &lt;/P&gt;&lt;P&gt;    2 *"----&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------" /&gt;&lt;P&gt;    3 &lt;STRONG&gt;"&lt;/STRONG&gt;"Lokale Schnittstelle:                                     &lt;/P&gt;&lt;P&gt;    4 *"  IMPORTING                                                 &lt;/P&gt;&lt;P&gt;    5 *"     REFERENCE(H_DP) TYPE  CNTL_HANDLE OPTIONAL             &lt;/P&gt;&lt;P&gt;    6 *"     REFERENCE(H_CNTL) TYPE  CNTL_HANDLE                    &lt;/P&gt;&lt;P&gt;    7 *"     VALUE(TABNAME) LIKE  X030L-TABNAME OPTIONAL            &lt;/P&gt;&lt;P&gt;    8 *"     VALUE(MEDIUM) TYPE  C OPTIONAL                         &lt;/P&gt;&lt;P&gt;    9 *"     VALUE(PROPERTYNAME) TYPE  C                            &lt;/P&gt;&lt;P&gt;   10 *"     VALUE(DATE) LIKE  SY-DATUM OPTIONAL                    &lt;/P&gt;&lt;P&gt;   11 *"     VALUE(TIME) LIKE  SY-UZEIT OPTIONAL                    &lt;/P&gt;&lt;P&gt;   12 *"     VALUE(DESCRIPTION) TYPE  C OPTIONAL                    &lt;/P&gt;&lt;P&gt;   13 *"  TABLES                                                    &lt;/P&gt;&lt;P&gt;   14 *"      DATA                                                  &lt;/P&gt;&lt;P&gt;   15 *"      TABFIELDS STRUCTURE  RFC_FIELDS OPTIONAL              &lt;/P&gt;&lt;P&gt;   16 *"      COLUMNS_TO_STRETCH TYPE  TABLE_OF_STRINGS OPTIONAL    &lt;/P&gt;&lt;P&gt;   17 *"  EXCEPTIONS                                                &lt;/P&gt;&lt;P&gt;   18 *"      DP_ERROR_CREATE                                       &lt;/P&gt;&lt;P&gt;   19 *"      DP_ERROR_SEND_DATA                                    &lt;/P&gt;&lt;P&gt;   20 *"      DP_ERROR_ASSIGN                                       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Active Calls/Events                                                                                &lt;/P&gt;&lt;P&gt;No.   Ty.          Program                             Include                             Line  &lt;/P&gt;&lt;P&gt;      Name                                                                                &lt;/P&gt;&lt;P&gt;6 FUNCTION     SAPLCNDP                            LCNDPU10                                1 &lt;/P&gt;&lt;P&gt;      DP_CONTROL_ASSIGN_TABLE                                                                    &lt;/P&gt;&lt;P&gt;    5 METHOD       CL_GUI_FRONTEND_SERVICES======CP    CL_GUI_FRONTEND_SERVICES======CM007    63 &lt;/P&gt;&lt;P&gt;      CL_GUI_FRONTEND_SERVICES=&amp;gt;DIRECTORY_LIST_FILES                                             &lt;/P&gt;&lt;P&gt;    4 FORM         ZFI__SAPHIR_ES_SPLIT_TRIP_HEAD      ZFI__SAPHIR_ES_SPLIT_INTERFACE        141 &lt;/P&gt;&lt;P&gt;      DIRECTORY_LIST_FILES                                                                       &lt;/P&gt;&lt;P&gt;    3 FORM         ZFI__SAPHIR_ES_SPLIT_TRIP_HEAD      ZFI__SAPHIR_ES_SPLIT_TRIP_HEAD        165 &lt;/P&gt;&lt;P&gt;      %_SEL_SCREEN                                                                                &lt;/P&gt;&lt;P&gt;2 MODULE (PAI) ZFI__SAPHIR_ES_SPLIT_TRIP_HEAD      ZFI__SAPHIR_ES_SPLIT_TRIP_HEAD        805 &lt;/P&gt;&lt;P&gt;      %_END_OF_SCREEN                                                                                &lt;/P&gt;&lt;P&gt;1 EVENT        ZFI__SAPHIR_ES_SPLIT_TRIP_HEAD      &amp;lt;SYSINI&amp;gt;                               20 &lt;/P&gt;&lt;P&gt;      SYSTEM-EXIT                                                                                &lt;/P&gt;&lt;P&gt;Thanks for help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 14:09:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned-error-in-a-background-execution/m-p/4499268#M1064545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T14:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED error in a background execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned-error-in-a-background-execution/m-p/4499269#M1064546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Frontend services will fail in Background, because of that you are getting the error in background.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 14:14:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned-error-in-a-background-execution/m-p/4499269#M1064546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T14:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED error in a background execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned-error-in-a-background-execution/m-p/4499270#M1064547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You say that I can't use cl_gui_frontend_services method?? I use this metho (upload_file, download_file, delete_file...) for my program. It's mandatory!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 14:34:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned-error-in-a-background-execution/m-p/4499270#M1064547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T14:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED error in a background execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned-error-in-a-background-execution/m-p/4499271#M1064548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then you may have to work with application server files(open dataset , Close dataset, Transfer, Read ) not the Presentation server files. Those methods will fail in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a document using using the approach you can try , but that is lengthy approach. check it here..&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 14:40:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned-error-in-a-background-execution/m-p/4499271#M1064548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T14:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED error in a background execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned-error-in-a-background-execution/m-p/4499272#M1064549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand your approach... Can I use frontend services methods? I don't use Open dataset, Transfer or Read! I used upload_file, download_file, directory_list_files, file_copy, file_delete methods...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 15:02:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned-error-in-a-background-execution/m-p/4499272#M1064549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T15:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED error in a background execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned-error-in-a-background-execution/m-p/4499273#M1064550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;Can I use frontend services methods? &lt;/P&gt;&lt;P&gt;No in Background processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you still want to use then try the approach mentioned here..&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vijay Babu Dudla on Sep 29, 2008 11:03 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 15:03:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned-error-in-a-background-execution/m-p/4499273#M1064550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T15:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED error in a background execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned-error-in-a-background-execution/m-p/4499274#M1064551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In fact, I need, in my program, to create a filter to retrieve several files in a directory. So, with  CL_GUI_FRONTEND_SERVICES, I used directory_list_files method. But, as you say, this method failed in background. So, my question is, how retrieve files name selected by the filter (ex : *.txt)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 07:02:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned-error-in-a-background-execution/m-p/4499274#M1064551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T07:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED error in a background execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned-error-in-a-background-execution/m-p/4499275#M1064552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I retrieve a file list in background without use directory_file_list method?? I try this code of the RSWATCH0 program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL 'C_DIR_READ_START' ID 'DIR'    FIELD a_dir_name&lt;/P&gt;&lt;P&gt;                          ID 'FILE'   FIELD a_generic_name&lt;/P&gt;&lt;P&gt;                          ID 'ERRNO'  FIELD file-errno&lt;/P&gt;&lt;P&gt;                          ID 'ERRMSG' FIELD file-errmsg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;    CLEAR file.&lt;/P&gt;&lt;P&gt;    CALL 'C_DIR_READ_NEXT'&lt;/P&gt;&lt;P&gt;      ID 'TYPE'   FIELD file-type&lt;/P&gt;&lt;P&gt;      ID 'NAME'   FIELD file-name&lt;/P&gt;&lt;P&gt;      ID 'LEN'    FIELD file-len&lt;/P&gt;&lt;P&gt;      ID 'OWNER'  FIELD file-owner&lt;/P&gt;&lt;P&gt;      ID 'MTIME'  FIELD file-mtime&lt;/P&gt;&lt;P&gt;      ID 'MODE'   FIELD file-mode&lt;/P&gt;&lt;P&gt;      ID 'ERRNO'  FIELD file-errno&lt;/P&gt;&lt;P&gt;      ID 'ERRMSG' FIELD file-errmsg.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, I retrieve files of SAP server random... I don't retrieve my files!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 08:51:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned-error-in-a-background-execution/m-p/4499275#M1064552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T08:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED error in a background execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned-error-in-a-background-execution/m-p/4499276#M1064553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you can do that. There is no straight forward solution to it. did you read the article mentioned above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 08:53:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned-error-in-a-background-execution/m-p/4499276#M1064553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T08:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: OBJECTS_OBJREF_NOT_ASSIGNED error in a background execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned-error-in-a-background-execution/m-p/4499277#M1064554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try your solution but, it don't work! The function RFC_REMOTE_FILE doesn't exist, there isn't destination server and in input, there is a file but I need a directory in input...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 09:41:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objects-objref-not-assigned-error-in-a-background-execution/m-p/4499277#M1064554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T09:41:30Z</dc:date>
    </item>
  </channel>
</rss>

