<?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: Problem with FM GOS_EXECUTE_SERVICE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-gos-execute-service/m-p/1704043#M308513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't used them myself, but there are a number of CL_GOS* classes that can probably do what you want. Take a look at CL_GOS_SRV_ATTACHMENT_CREATE in particular.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Nov 2006 13:00:51 GMT</pubDate>
    <dc:creator>michael-john_turner</dc:creator>
    <dc:date>2006-11-17T13:00:51Z</dc:date>
    <item>
      <title>Problem with FM GOS_EXECUTE_SERVICE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-gos-execute-service/m-p/1704042#M308512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;we use this FM under 4.6C and there are no Problem.&lt;/P&gt;&lt;P&gt;Now we have changed to ECC6 and this FM doesn't work with&lt;/P&gt;&lt;P&gt;'CREATE_ATT'. If we use it with VIEW_ATT, there are no Problems.&lt;/P&gt;&lt;P&gt;Here my FM-Call&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'GOS_EXECUTE_SERVICE'&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              = IS_OBJECT&lt;/P&gt;&lt;P&gt;      IP_NO_COMMIT           = ' '&lt;/P&gt;&lt;P&gt;      IP_POPUP               = ' '&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    EP_EVENT               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    EP_STATUS              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    EP_ICON                =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      EXECUTION_FAILED       = 1&lt;/P&gt;&lt;P&gt;      OTHERS                 = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any new CALL or other FM or CL..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Dieter Gröhn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 12:46:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-gos-execute-service/m-p/1704042#M308512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T12:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM GOS_EXECUTE_SERVICE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-gos-execute-service/m-p/1704043#M308513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't used them myself, but there are a number of CL_GOS* classes that can probably do what you want. Take a look at CL_GOS_SRV_ATTACHMENT_CREATE in particular.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 13:00:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-gos-execute-service/m-p/1704043#M308513</guid>
      <dc:creator>michael-john_turner</dc:creator>
      <dc:date>2006-11-17T13:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM GOS_EXECUTE_SERVICE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-gos-execute-service/m-p/1704044#M308514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael-John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your Answer. I use CL_GOS_SRV_ATTACHMENT_CREATE &lt;/P&gt;&lt;P&gt;and i get the dialog to attach a file. It makes the upload. But how can i &lt;/P&gt;&lt;P&gt;attach it to my BUS2080 Object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried it with -&amp;gt;SET_OBJECT but it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Idea??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 13:51:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-gos-execute-service/m-p/1704044#M308514</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T13:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM GOS_EXECUTE_SERVICE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-gos-execute-service/m-p/1704045#M308515</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;Instead of call function module, you can do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; select * from sgosattr where name ne 'VIEW_ATTA'&lt;/P&gt;&lt;P&gt;                           and name ne 'PCATTA_CREA'.&lt;/P&gt;&lt;P&gt;   i_service-sign = 'E'.&lt;/P&gt;&lt;P&gt;    i_service-option = c_eq.     " EQ&lt;/P&gt;&lt;P&gt;    i_service-low = sgosattr-name.&lt;/P&gt;&lt;P&gt;    append i_service to i_services.&lt;/P&gt;&lt;P&gt;  endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i_borident-objtype = 'BUS2080 '.&lt;/P&gt;&lt;P&gt; i_borident-objkey = v_docno.&lt;/P&gt;&lt;P&gt; create object gos_manager&lt;/P&gt;&lt;P&gt;   exporting&lt;/P&gt;&lt;P&gt;     is_object            = i_borident&lt;/P&gt;&lt;P&gt;     it_service_selection = i_services&lt;/P&gt;&lt;P&gt;     ip_no_commit         = ' '&lt;/P&gt;&lt;P&gt;   exceptions&lt;/P&gt;&lt;P&gt;     object_invalid       = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 14:41:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-gos-execute-service/m-p/1704045#M308515</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2006-11-17T14:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM GOS_EXECUTE_SERVICE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-gos-execute-service/m-p/1704046#M308516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ars,&lt;/P&gt;&lt;P&gt;thanks for your answer.&lt;/P&gt;&lt;P&gt;It solved my problem not directly but you give me&lt;/P&gt;&lt;P&gt;an idea to search in this forum for PCATTA_CREA and i find a solution (thanks to Andrei Chapovalov).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: MY_OBJECT    TYPE REF TO CL_GOS_MANAGER,&lt;/P&gt;&lt;P&gt;      LS_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,&lt;/P&gt;&lt;P&gt;      LS_OBJECT    TYPE BORIDENT OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBJECT MY_OBJECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LS_OBJECT-OBJKEY = '000000000000'.&lt;/P&gt;&lt;P&gt;LS_OBJECT-OBJTYPE = 'BUS2080'.&lt;/P&gt;&lt;P&gt;APPEND LS_OBJECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD MY_OBJECT-&amp;gt;START_SERVICE_DIRECT&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IP_SERVICE   = 'VIEW_ATTA'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    IP_SERVICE   = 'PCATTA_CREA'&lt;/P&gt;&lt;P&gt;    IS_OBJECT    = LS_OBJECT&lt;/P&gt;&lt;P&gt;    IO_CONTAINER = LS_CONTAINER.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Dieter Gröhn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 15:37:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-gos-execute-service/m-p/1704046#M308516</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T15:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM GOS_EXECUTE_SERVICE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-gos-execute-service/m-p/1704047#M308517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can also use this FM to create attachment/s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDS_BUSINESSDOCUMENT_CREATEF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;search the forum with the FM name i have earlier explained how to use the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2006 13:46:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-gos-execute-service/m-p/1704047#M308517</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-11-18T13:46:55Z</dc:date>
    </item>
  </channel>
</rss>

