<?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>Question Re: Services for Objects - Create Attachment in Additional Q&amp;A</title>
    <link>https://community.sap.com/t5/additional-q-a/services-for-objects-create-attachment/qaa-p/10887460#M134392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To avoid the popup asking for file upload permission, try to see if Elevated Trust Mode helps (if you didn't do this already). Refer to note &lt;SPAN style="color: #333333; font-size: 12px;"&gt;2025591 for the details.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Mar 2015 17:41:50 GMT</pubDate>
    <dc:creator>Tamas_Hoznek</dc:creator>
    <dc:date>2015-03-08T17:41:50Z</dc:date>
    <item>
      <title>Services for Objects - Create Attachment</title>
      <link>https://community.sap.com/t5/additional-q-a/services-for-objects-create-attachment/qaq-p/10887459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am creating a flavor for ME51N Create Purchase Requisition and currently stumped on how to successfully attach a document. In the standard SAP GUI, users can click Services for Objects menu/button then Create &amp;gt; Create Attachment, locate the file and attach it. In Personas/the Web Application Server, I recorded this process and added it to a script button. See the script recorded below:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/660007" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the script, two pop-up boxes appear simultaneously. The Import file is technically first and I can click Ok and still upload the file. The Error still comes up though:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/660026" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I tried cleaning up the original script (below) and the errors still appear, same as above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/660027" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My current assumption is related to the Import file" Allow to open local file?" pop-up box potentially. In the standard SAP GUI this does not happen at all, users can simply grab the file. Although the error errors states that an executed step failed, if I click the Ok button in the Import file box, I can proceed with attaching the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is going here? Is there a way to avoid the error message? My ultimate goal is to create a script button for usres to click to attach their documents to the new Purchase Req. I appreciate any and all assistance and/or suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2015 03:37:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/services-for-objects-create-attachment/qaq-p/10887459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-08T03:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Services for Objects - Create Attachment</title>
      <link>https://community.sap.com/t5/additional-q-a/services-for-objects-create-attachment/qaa-p/10887460#M134392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To avoid the popup asking for file upload permission, try to see if Elevated Trust Mode helps (if you didn't do this already). Refer to note &lt;SPAN style="color: #333333; font-size: 12px;"&gt;2025591 for the details.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2015 17:41:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/services-for-objects-create-attachment/qaa-p/10887460#M134392</guid>
      <dc:creator>Tamas_Hoznek</dc:creator>
      <dc:date>2015-03-08T17:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Services for Objects - Create Attachment</title>
      <link>https://community.sap.com/t5/additional-q-a/services-for-objects-create-attachment/qaa-p/10887461#M134393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tamas, may I post here a related question?&lt;/P&gt;&lt;P&gt;I have a very similar script to fire a Create&lt;SPAN style="font-size: 10pt;"&gt; Attachment menu option for a Quality Notification document (QM01 flavor). I don't mind the "Allow to open a local file?" message, but it appears twice! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/691488" height="122" width="253" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/691438" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 14:32:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/services-for-objects-create-attachment/qaa-p/10887461#M134393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-23T14:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Services for Objects - Create Attachment</title>
      <link>https://community.sap.com/t5/additional-q-a/services-for-objects-create-attachment/qaa-p/10887462#M134394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Honestly, I don't know why would this appear twice... but with elevated trust mode, no popup should appear. Did you try that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 15:39:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/services-for-objects-create-attachment/qaa-p/10887462#M134394</guid>
      <dc:creator>Tamas_Hoznek</dc:creator>
      <dc:date>2015-04-23T15:39:14Z</dc:date>
    </item>
  </channel>
</rss>

