<?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: Program Custom Upload attachment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-custom-upload-attachment/m-p/12184268#M1980134</link>
    <description>&lt;P&gt;Hello  &lt;SPAN class="mention-scrubbed"&gt;jandrivay&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;If you want to just upload/download files from the application server (without attaching them to SAP documents) then have a look at Shiromani's answer. Look for CL_GUI_FRONTEND_SERVICES class with GUI_UPLOAD/GUI_DOWNLOAD methods and for the OPEN DATASET ABAP keyword.&lt;/P&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Mateusz</description>
    <pubDate>Thu, 11 Jun 2020 10:34:05 GMT</pubDate>
    <dc:creator>MateuszAdamus</dc:creator>
    <dc:date>2020-06-11T10:34:05Z</dc:date>
    <item>
      <title>Program Custom Upload attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-custom-upload-attachment/m-p/12184260#M1980126</link>
      <description>&lt;P&gt;Hi all, &lt;BR /&gt;&lt;BR /&gt;Is there a way to make&lt;STRONG&gt; program Z to upload attachment&lt;/STRONG&gt; like ,word,excel,ppt,jpeg,pdf to server SAP, and we can download this file ??&lt;/P&gt;
  &lt;P&gt;i just try upload program from tcode OAOR , standard BDS SAP and then i read my file from Z custom.&lt;BR /&gt;but i dont know how to make program upload this file..&lt;/P&gt;
  &lt;P&gt;if you have a way, I'm very happy if you can share ^^.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 01:30:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-custom-upload-attachment/m-p/12184260#M1980126</guid>
      <dc:creator>jandrivay</dc:creator>
      <dc:date>2020-06-09T01:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Program Custom Upload attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-custom-upload-attachment/m-p/12184261#M1980127</link>
      <description>&lt;P&gt;Hi Steward,&lt;/P&gt;&lt;P&gt;If you want to upload files from presentation server, you can use GUI_UPLOAD in your program and place them on AL11(Application server), and you can download whenever needed using Open Dataset and Close Dataset. &lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.sap.com/questions/10997529/download-and-upload-of-file-to-server-dir-al11.html" target="test_blank"&gt;https://answers.sap.com/questions/10997529/download-and-upload-of-file-to-server-dir-al11.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shiromani Soni&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 02:16:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-custom-upload-attachment/m-p/12184261#M1980127</guid>
      <dc:creator>shiromani_soni1</dc:creator>
      <dc:date>2020-06-09T02:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Program Custom Upload attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-custom-upload-attachment/m-p/12184262#M1980128</link>
      <description>&lt;P&gt;I guess you mean upload a file stored in user's laptop. If you want to upload it to OAOR, the same way as a user does it manually:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Read the file from the user's laptop into memory (you can find snippets easily)&lt;/LI&gt;&lt;LI&gt;Use CL_BDS_DOCUMENT_SET to write the file (you can find snippets easily)&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 09 Jun 2020 07:51:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-custom-upload-attachment/m-p/12184262#M1980128</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-06-09T07:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Program Custom Upload attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-custom-upload-attachment/m-p/12184263#M1980129</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; ,&lt;/P&gt;&lt;P&gt;do you have a sample program using that class method ?&lt;BR /&gt;im just see Function Module when i save and debug from OAOR like this.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1817706-oaor.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 01:46:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-custom-upload-attachment/m-p/12184263#M1980129</guid>
      <dc:creator>jandrivay</dc:creator>
      <dc:date>2020-06-10T01:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Program Custom Upload attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-custom-upload-attachment/m-p/12184264#M1980130</link>
      <description>&lt;P&gt;Hello  &lt;SPAN class="mention-scrubbed"&gt;jandrivay&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;What exactly do you want to achieve?&lt;/P&gt;&lt;P&gt;Upload a file in a Z* report with relation to an existing SAP document (Sales Order, Invoice, etc)?&lt;/P&gt;&lt;P&gt;Upload a file in a Z* report (without relation to a document) and be able to download it when needed?&lt;/P&gt;Kind regards,&lt;BR /&gt;Mateusz</description>
      <pubDate>Wed, 10 Jun 2020 06:41:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-custom-upload-attachment/m-p/12184264#M1980130</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2020-06-10T06:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Program Custom Upload attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-custom-upload-attachment/m-p/12184265#M1980131</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;jandrivay&lt;/SPAN&gt; Did you search CL_BDS_DOCUMENT_SET? Do you have issues with those snippets?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 06:50:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-custom-upload-attachment/m-p/12184265#M1980131</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-06-10T06:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Program Custom Upload attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-custom-upload-attachment/m-p/12184266#M1980132</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;mateusz_adamus_dd&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Yes, i want to create program Z* with feature attach file ( pdf,word,excel,ppt, image ) to server SAP, and then i will create program to download that files.&lt;BR /&gt;&lt;BR /&gt;im just read some website how to upload that files and i refer to BDS tcode OAOR.&lt;/P&gt;&lt;P&gt;Hi, &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; &lt;BR /&gt;I've tried debugging, but I haven't found where the file is saved, and the process &amp;gt;.&amp;lt;&lt;/P&gt;&lt;P&gt;cause it tcode standard&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 01:22:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-custom-upload-attachment/m-p/12184266#M1980132</guid>
      <dc:creator>jandrivay</dc:creator>
      <dc:date>2020-06-11T01:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Program Custom Upload attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-custom-upload-attachment/m-p/12184267#M1980133</link>
      <description>&lt;P&gt;Why debugging? I'm telling you to search the web, there are existing snippets to write documents to BDS. Just search CL_BDS_DOCUMENT_SET.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 06:43:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-custom-upload-attachment/m-p/12184267#M1980133</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-06-11T06:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Program Custom Upload attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-custom-upload-attachment/m-p/12184268#M1980134</link>
      <description>&lt;P&gt;Hello  &lt;SPAN class="mention-scrubbed"&gt;jandrivay&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;If you want to just upload/download files from the application server (without attaching them to SAP documents) then have a look at Shiromani's answer. Look for CL_GUI_FRONTEND_SERVICES class with GUI_UPLOAD/GUI_DOWNLOAD methods and for the OPEN DATASET ABAP keyword.&lt;/P&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Mateusz</description>
      <pubDate>Thu, 11 Jun 2020 10:34:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-custom-upload-attachment/m-p/12184268#M1980134</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2020-06-11T10:34:05Z</dc:date>
    </item>
  </channel>
</rss>

