<?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: Upload (Attach) documents to a custom application in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-attach-documents-to-a-custom-application/m-p/10997141#M1896092</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;If I understand what you need, follow my remarks:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly put in the detail table that you already created a field with an unique key, as a sequential number (SNR0 transaction) or UUID (Created by CL_SYSTEM_UUID class), and then create a new table to store the data files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This second table need to be linked with the another one, to do it link using the field created above and include at least 2 fields: LENGHT as integer (INT4) and DATA as binary string (XSTRING).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this table will be possible to save the file data, to get and put on costumer's computer you can use a report with ALV or create a Web Dynpro to do all needed tasks, and if you choose an ALV and all documents are images you can use the class CL_GUI_HTML_VIEWER to show it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to remember too that would be nice if you use the CL_ABAP_GZIP class before save to compress the file and save space on database...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 May 2015 16:35:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-05-05T16:35:14Z</dc:date>
    <item>
      <title>Upload (Attach) documents to a custom application</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-attach-documents-to-a-custom-application/m-p/10997140#M1896091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a requirement.&lt;/P&gt;&lt;P&gt;our finance team is getting the Bank Guarantee in Hard copy.&lt;/P&gt;&lt;P&gt;And at present they are maintaining&amp;nbsp; all the Details(Like bank name, bank address, Value, customer, customer name, Guarantee valid from &amp;amp; to ) in Excel sheet and the scanned document in a folder on their desktop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now they want to bring into SAP.so for that data to maintain I created a Z Table &amp;amp; Maintained all the data &amp;amp; given a Z report for seeing the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But they want to upload (Attach) the scanned copy of that Bank guarantee to the corresponding document in z table. so how to upload the scanned (pdf or image or word) copy into sap and they want to open &amp;amp; see in the sap itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;already I searched the sdn, for GOS creation for custom program , but that document is for 4.6c version.we are on ecc 6.0 version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please suggest a solution , how to upload&amp;nbsp; &amp;amp; manage the documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 06:20:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-attach-documents-to-a-custom-application/m-p/10997140#M1896091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-05-05T06:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Upload (Attach) documents to a custom application</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-attach-documents-to-a-custom-application/m-p/10997141#M1896092</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;If I understand what you need, follow my remarks:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly put in the detail table that you already created a field with an unique key, as a sequential number (SNR0 transaction) or UUID (Created by CL_SYSTEM_UUID class), and then create a new table to store the data files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This second table need to be linked with the another one, to do it link using the field created above and include at least 2 fields: LENGHT as integer (INT4) and DATA as binary string (XSTRING).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this table will be possible to save the file data, to get and put on costumer's computer you can use a report with ALV or create a Web Dynpro to do all needed tasks, and if you choose an ALV and all documents are images you can use the class CL_GUI_HTML_VIEWER to show it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to remember too that would be nice if you use the CL_ABAP_GZIP class before save to compress the file and save space on database...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 16:35:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-attach-documents-to-a-custom-application/m-p/10997141#M1896092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-05-05T16:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Upload (Attach) documents to a custom application</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-attach-documents-to-a-custom-application/m-p/10997142#M1896093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can attach all the documents in DMS and save this DMS number into your Z table(Linking with bank guarantee details).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shadab Maldar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 08:59:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-attach-documents-to-a-custom-application/m-p/10997142#M1896093</guid>
      <dc:creator>shadab_maldar</dc:creator>
      <dc:date>2015-05-06T08:59:38Z</dc:date>
    </item>
  </channel>
</rss>

