<?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: Create attachment using GOS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444290#M547366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check out this function module (for foreground only) &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;on how to use this fm, search this forum, i have already given sample codes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2007 05:55:28 GMT</pubDate>
    <dc:creator>athavanraja</dc:creator>
    <dc:date>2007-07-03T05:55:28Z</dc:date>
    <item>
      <title>Create attachment using GOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444280#M547356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working in SAP GTS (Global trade service) project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to attach a document (doc, pdf, xls, jpeg) to the customs declaration document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to do this via a report program. This program will run every night. It will attach the document for the document number created for the day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I proceed....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read some threads relating to this requirement, but I do I implement it in a program...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. First I had to do the attachment&lt;/P&gt;&lt;P&gt;2. I had to link the attachment to the document no&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to proceed... please help......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 20:46:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444280#M547356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T20:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create attachment using GOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444281#M547357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where are these files, on application server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 21:16:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444281#M547357</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-02T21:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create attachment using GOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444282#M547358</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 files are PC files.. These files are stored in a server and the file name corresponds to the document no....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So... I have to read the document nos from the table and have to attach the document ( which is in the PC folder) which corresponds to the doc. number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 21:34:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444282#M547358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T21:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Create attachment using GOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444283#M547359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your first issue is that this program will not be able to run in background if the files are on the frontend PC or other server.  If that is ok, then I have a funciton module which you pass the file path and name, the business object id, and key and it will automatically upload to the GOS of that document number.  Can this program be ran in foreground?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 21:40:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444283#M547359</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-02T21:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create attachment using GOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444284#M547360</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;Thanks....&lt;/P&gt;&lt;P&gt;Give me the function module.... I'll try it out...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks really....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 21:52:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444284#M547360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T21:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Create attachment using GOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444285#M547361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is ok to run this in the foreground?  If not, this funciton will do you absolutly no good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 21:54:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444285#M547361</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-02T21:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create attachment using GOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444286#M547362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok.... give me the function module name....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll try it out....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 21:57:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444286#M547362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T21:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create attachment using GOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444287#M547363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually it appears that I do not have access to the system at the moment, if you send me an email(on my business card) I can get it to you in the morning. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also,if you are interested, the code within this function module uses alot of the code seen here, just modified to upload from a filepath/filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/rammanohar.tiwari/blog/2005/10/10/generic-object-services-gos--in-background&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 22:03:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444287#M547363</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-02T22:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create attachment using GOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444288#M547364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BTW, it is a custom function module, it will not exist in your system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 22:04:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444288#M547364</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-02T22:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Create attachment using GOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444289#M547365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your immediate replies.&lt;/P&gt;&lt;P&gt;I got a clue now... and now I am proceeding with the code...&lt;/P&gt;&lt;P&gt;If I have any doubts, I will post it to the same thread....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jaffer Ali.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 23:23:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444289#M547365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T23:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create attachment using GOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444290#M547366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check out this function module (for foreground only) &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;on how to use this fm, search this forum, i have already given sample codes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 05:55:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-attachment-using-gos/m-p/2444290#M547366</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-07-03T05:55:28Z</dc:date>
    </item>
  </channel>
</rss>

