<?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: View Attachment List in ECC6. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-attachment-list-in-ecc6/m-p/3734024#M898730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is not much to go at from this description, but as far as I can see it could be something like this:&lt;/P&gt;&lt;P&gt;in method go_myobject-&amp;gt;start_service_direct an event is triggered and for this a handler (SET HANDLER) is defined ( SET HANDLER handler1 handler2 ... FOR oref|{ALL INSTANCES} &lt;/P&gt;&lt;P&gt;                                    [ACTIVATION act]. )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see there must be some sort of instance. However, no instance has yet been create&lt;/P&gt;&lt;P&gt;(CREATE OBJECT ...) so this will result in a short dump with NULL REFERENCE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Apr 2008 09:27:58 GMT</pubDate>
    <dc:creator>Sm1tje</dc:creator>
    <dc:date>2008-04-23T09:27:58Z</dc:date>
    <item>
      <title>View Attachment List in ECC6.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-attachment-list-in-ecc6/m-p/3734023#M898729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to assign the GOS service for the Z transaction  using a ehancment spot in PBO . Problem is I am getting the GOS service enabled for the transaction. But when I click on&lt;/P&gt;&lt;P&gt; "View Attachment list" service, it is given short dump in ECC6 where as in 4.6c not. IIt shows the followin dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET HANDLER: Reference to handler object cannot be NULL.    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current ABAP program "CL_GOS_TOOLBOX_VIEW===========CP" had to be&lt;/P&gt;&lt;P&gt; terminated because it has                                    &lt;/P&gt;&lt;P&gt;come across a statement that unfortunately cannot be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When specification a handler for an event in the SET HANDLER statement,    &lt;/P&gt;&lt;P&gt;the reference "IS_SERVICE-SERVICE" to the handler instance cannot be NULL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program                                 CL_GOS_TOOLBOX_VIEW===========CP             &lt;/P&gt;&lt;P&gt;Include                                 CL_GOS_TOOLBOX_VIEW===========CM004          &lt;/P&gt;&lt;P&gt;Row                                     69                                           &lt;/P&gt;&lt;P&gt;Module type                             (METHOD)                                     &lt;/P&gt;&lt;P&gt;Module Name                             DISPATCH_SERVICE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=============================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: lo_container type ref to cl_gui_custom_container,&lt;/P&gt;&lt;P&gt;        ls_object type borident.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_object-objtype = 'ZRECON'.&lt;/P&gt;&lt;P&gt; ls_object-objkey = gs_rec_all_scr-reconobj.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case ok_code.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;when 'ATTACH'.&lt;/P&gt;&lt;P&gt;      call method go_myobject-&amp;gt;start_service_direct&lt;/P&gt;&lt;P&gt;           exporting&lt;/P&gt;&lt;P&gt;             ip_service  = 'CREATE_ATTA'&lt;/P&gt;&lt;P&gt;             is_object   = ls_object&lt;/P&gt;&lt;P&gt;             io_container = lo_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when 'LIST'.&lt;/P&gt;&lt;P&gt;      call method go_myobject-&amp;gt;start_service_direct&lt;/P&gt;&lt;P&gt;           exporting&lt;/P&gt;&lt;P&gt;             ip_service  = 'VIEW_ATTA'&lt;/P&gt;&lt;P&gt;             is_object   = ls_object&lt;/P&gt;&lt;P&gt;             exceptions no_object = 1&lt;/P&gt;&lt;P&gt;             object_invalid = 2&lt;/P&gt;&lt;P&gt;             execution_failed = 3&lt;/P&gt;&lt;P&gt;             others = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The short dump given at &lt;/P&gt;&lt;P&gt;call method go_myobject-&amp;gt;start_service_direct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 08:29:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-attachment-list-in-ecc6/m-p/3734023#M898729</guid>
      <dc:creator>former_member463678</dc:creator>
      <dc:date>2008-04-23T08:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: View Attachment List in ECC6.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-attachment-list-in-ecc6/m-p/3734024#M898730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is not much to go at from this description, but as far as I can see it could be something like this:&lt;/P&gt;&lt;P&gt;in method go_myobject-&amp;gt;start_service_direct an event is triggered and for this a handler (SET HANDLER) is defined ( SET HANDLER handler1 handler2 ... FOR oref|{ALL INSTANCES} &lt;/P&gt;&lt;P&gt;                                    [ACTIVATION act]. )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see there must be some sort of instance. However, no instance has yet been create&lt;/P&gt;&lt;P&gt;(CREATE OBJECT ...) so this will result in a short dump with NULL REFERENCE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 09:27:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-attachment-list-in-ecc6/m-p/3734024#M898730</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-04-23T09:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: View Attachment List in ECC6.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-attachment-list-in-ecc6/m-p/3734025#M898731</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 replay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u tell me which object I need to create for this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Zakir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 10:50:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-attachment-list-in-ecc6/m-p/3734025#M898731</guid>
      <dc:creator>former_member463678</dc:creator>
      <dc:date>2008-04-23T10:50:45Z</dc:date>
    </item>
  </channel>
</rss>

