<?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 PO with Attachment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-po-with-attachment/m-p/4985512#M1161496</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;answerd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Sep 2009 08:10:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-02T08:10:39Z</dc:date>
    <item>
      <title>Create PO with Attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-po-with-attachment/m-p/4985503#M1161487</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 have a requirement to &lt;/P&gt;&lt;P&gt; 1. Upload all PO with BAPI - BAPI_PO_CREATE1 &lt;STRONG&gt;WITH attachments&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already used the BAPI to create the Po's. Now Attachment part is left. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone having suggestions please reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 07:36:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-po-with-attachment/m-p/4985503#M1161487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T07:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create PO with Attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-po-with-attachment/m-p/4985504#M1161488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Varun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to use below FM's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO_ATTACHMENT_LIST_READ - Gets the list of all attachments in the&lt;/P&gt;&lt;P&gt;system.&lt;/P&gt;&lt;P&gt;SO_ATTACHMENT_READ - Retrieves attachment data.&lt;/P&gt;&lt;P&gt;SO_ATTACHMENT_INSERT - Saves an attachment to SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 07:42:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-po-with-attachment/m-p/4985504#M1161488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T07:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create PO with Attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-po-with-attachment/m-p/4985505#M1161489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks prasanth for your reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes SO_ATTACHMENT_INSERT can bve used. but i want to use it for uploading multiple attachments.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Lets say i first run the BAPI to create then what information will be input into this function module and how do get this information. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 07:48:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-po-with-attachment/m-p/4985505#M1161489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T07:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create PO with Attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-po-with-attachment/m-p/4985506#M1161490</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;you can attach manually any document to PO without using Document Management System ( DMS ).&lt;/P&gt;&lt;P&gt;Save you PO in ME21N and again open with change ( ME22N ) then you can attach document through &lt;/P&gt;&lt;P&gt;Service for Object button. Service for Object button available down side of Command screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just click your service object button -&amp;gt; create -&amp;gt; create attachment &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then select your window directory ( which file you need to attach) select your file Now your system shows message service "Create attachment" is started. &lt;/P&gt;&lt;P&gt;save again your po. You can seeyour attachment in same field ( Service for Object ) select and create and check attachment list. You can attach as many document in your PO. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aakash Banga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 07:49:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-po-with-attachment/m-p/4985506#M1161490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T07:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create PO with Attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-po-with-attachment/m-p/4985507#M1161491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes aakash but i want it like bulk upload to all corresponding PO's. manually yes i know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 07:52:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-po-with-attachment/m-p/4985507#M1161491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T07:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create PO with Attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-po-with-attachment/m-p/4985508#M1161492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the below link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdb.info/how-do-you-add-an-attachment-to-a-purchase-order/" target="test_blank"&gt;http://www.sapdb.info/how-do-you-add-an-attachment-to-a-purchase-order/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 08:10:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-po-with-attachment/m-p/4985508#M1161492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T08:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Create PO with Attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-po-with-attachment/m-p/4985509#M1161493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking at function module &lt;STRONG&gt;SO_ATTACHMENT_INSERT&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Can anyone explain me how to use it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 08:44:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-po-with-attachment/m-p/4985509#M1161493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T08:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Create PO with Attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-po-with-attachment/m-p/4985510#M1161494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;check this .....very useful &lt;/P&gt;&lt;P&gt;&lt;A href="http://michaelxuhan.spaces.live.com/blog/cns!C6A105EFC55AE48F!233.entry" target="test_blank"&gt;http://michaelxuhan.spaces.live.com/blog/cns!C6A105EFC55AE48F!233.entry&lt;/A&gt;&lt;/P&gt;&lt;P&gt; hd_dat-objdes = header_mail.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'SO_ATTACHMENT_INSERT'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              object_id                  = object_id&lt;/P&gt;&lt;P&gt;              attach_type                = attach_type&lt;/P&gt;&lt;P&gt;              object_hd_change           = hd_dat&lt;/P&gt;&lt;P&gt;              owner                      = sy-uname&lt;/P&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;              objcont                    = l_objcont&lt;/P&gt;&lt;P&gt;              objhead                    = l_objhead&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;              active_user_not_exist      = 35&lt;/P&gt;&lt;P&gt;              communication_failure      = 71&lt;/P&gt;&lt;P&gt;              object_type_not_exist      = 17&lt;/P&gt;&lt;P&gt;              operation_no_authorization = 21&lt;/P&gt;&lt;P&gt;              owner_not_exist            = 22&lt;/P&gt;&lt;P&gt;              parameter_error            = 23&lt;/P&gt;&lt;P&gt;              substitute_not_active      = 31&lt;/P&gt;&lt;P&gt;              substitute_not_defined     = 32&lt;/P&gt;&lt;P&gt;              system_failure             = 72&lt;/P&gt;&lt;P&gt;              x_error                    = 1000.&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;gt; 0.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/rammanohar.tiwari/blog/2006/03/25/generic-object-services-gos--in-background--part-ii&lt;/P&gt;&lt;P&gt;check this blog&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2009 07:02:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-po-with-attachment/m-p/4985510#M1161494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-14T07:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Create PO with Attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-po-with-attachment/m-p/4985511#M1161495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rimpa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot for your post.&lt;/P&gt;&lt;P&gt;can you provide the content of MSN spaces site here. (just copy paste it), as i cannot access  this site from my office . its blocked. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2009 07:13:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-po-with-attachment/m-p/4985511#M1161495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-14T07:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create PO with Attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-po-with-attachment/m-p/4985512#M1161496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;answerd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 08:10:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-po-with-attachment/m-p/4985512#M1161496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-02T08:10:39Z</dc:date>
    </item>
  </channel>
</rss>

