<?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: GOS Document Attachment Issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/gos-document-attachment-issue/m-p/11090083#M1902478</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jelena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree the FM code has commit work but i remember facing a similar issue with this Fm and adding this extra commit. It worked for me then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Tanmay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jun 2015 19:36:17 GMT</pubDate>
    <dc:creator>TanmayVerma</dc:creator>
    <dc:date>2015-06-09T19:36:17Z</dc:date>
    <item>
      <title>GOS Document Attachment Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gos-document-attachment-issue/m-p/11090079#M1902474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to attach document at PO header level using the belwo FMs but at ME23 the document list is not getting populated , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO_FOLDER_ROOT_ID_GET&lt;/P&gt;&lt;P&gt;SO_OBJECT_INSERT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_object&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;objkey &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'4500000509'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_object&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;objtype &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'BUS2012'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_note&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;objkey&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'MESSAGE'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'BINARY_RELATION_CREATE_COMMIT'&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt;" Call the Function Module For Commit the Object&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; obj_rolea&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;ls_object&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; obj_roleb&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;ls_note&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; relationtype &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ATTA'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXCEPTIONS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;OTHERS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;i am getting SY_SUBRC = 0 even though not able to see the files at PO header level.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Vinodkumar,.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 14:09:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gos-document-attachment-issue/m-p/11090079#M1902474</guid>
      <dc:creator>vinodkumar_thangavel</dc:creator>
      <dc:date>2015-06-09T14:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: GOS Document Attachment Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gos-document-attachment-issue/m-p/11090080#M1902475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to call &lt;SPAN style="font-size: 13.3333330154419px;"&gt;BAPI_TRANSACTION_COMMIT after the&amp;nbsp; FM&amp;nbsp; BINARY_RELATION_CREATE_COMMIT. It worked for me. Hence if sy-subrc eq 0. call the below commit bapi.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'BAPI_TRANSACTION_COMMIT'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;wait &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'X'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Tanmay.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 14:59:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gos-document-attachment-issue/m-p/11090080#M1902475</guid>
      <dc:creator>TanmayVerma</dc:creator>
      <dc:date>2015-06-09T14:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: GOS Document Attachment Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gos-document-attachment-issue/m-p/11090081#M1902476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of SO_OBJECT_INSERT try with SO_DOCUMENT_INSERT_API1. I wrote a &lt;A href="http://friendlyabaper.blogspot.com/2008/07/oh-my-gos.html"&gt;blog&lt;/A&gt; about GOS attachments long time ago (there is also one on SCN), but later when I tried using the same code in another system it didn't work. I don't remember what the issue was exactly but just checked the program and it has a different FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There might even be some classes available or better FMs, keep in mind many posts on this were written over 5 years ago and a lot has changed since.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 19:24:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gos-document-attachment-issue/m-p/11090081#M1902476</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2015-06-09T19:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: GOS Document Attachment Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gos-document-attachment-issue/m-p/11090082#M1902477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tanmay, there should be no additional commit needed. If you look at the FM code it already has COMMIT in it (at least in our EHP4 version).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 19:26:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gos-document-attachment-issue/m-p/11090082#M1902477</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2015-06-09T19:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: GOS Document Attachment Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gos-document-attachment-issue/m-p/11090083#M1902478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jelena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree the FM code has commit work but i remember facing a similar issue with this Fm and adding this extra commit. It worked for me then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Tanmay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 19:36:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gos-document-attachment-issue/m-p/11090083#M1902478</guid>
      <dc:creator>TanmayVerma</dc:creator>
      <dc:date>2015-06-09T19:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: GOS Document Attachment Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gos-document-attachment-issue/m-p/11090084#M1902479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jelena , your blog rockzzz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually my problem was in linking the Document ID with FM&amp;nbsp; BINARY_RELATION_CREATE_COMMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you pls confirm is there any way to Name the files that are getting attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vinodkumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 09:00:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gos-document-attachment-issue/m-p/11090084#M1902479</guid>
      <dc:creator>vinodkumar_thangavel</dc:creator>
      <dc:date>2015-06-10T09:00:54Z</dc:date>
    </item>
  </channel>
</rss>

