<?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 Uploading attachments in Purchase Requisition through Code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-attachments-in-purchase-requisition-through-code/m-p/10759697#M1876627</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am going to develop an BSP (SAPUI5) application where I need to create purchase requisition. Hence, instead of using ME51N, those functionality need to be available in my application. Hence, I am using some function modules like BAPI_PR_CREATE or BAPI_REQUISITION_CREATE etc for creating the purchase requisition. Uploading attachment is one of the functionality available in ME51N. Currently attachments are already available in the system which are visible through ME52n etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I replicate the functionality of uploading attachment in purchase requisition in ME51N/ME52N using ABAP code? If anybody has experience in this kind of requirement it will be of great help if you please share me the same. It is an urgent requirement.&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;Subhabaha Pal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Dec 2014 05:14:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-12-18T05:14:47Z</dc:date>
    <item>
      <title>Uploading attachments in Purchase Requisition through Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-attachments-in-purchase-requisition-through-code/m-p/10759697#M1876627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am going to develop an BSP (SAPUI5) application where I need to create purchase requisition. Hence, instead of using ME51N, those functionality need to be available in my application. Hence, I am using some function modules like BAPI_PR_CREATE or BAPI_REQUISITION_CREATE etc for creating the purchase requisition. Uploading attachment is one of the functionality available in ME51N. Currently attachments are already available in the system which are visible through ME52n etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I replicate the functionality of uploading attachment in purchase requisition in ME51N/ME52N using ABAP code? If anybody has experience in this kind of requirement it will be of great help if you please share me the same. It is an urgent requirement.&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;Subhabaha Pal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 05:14:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-attachments-in-purchase-requisition-through-code/m-p/10759697#M1876627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-18T05:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading attachments in Purchase Requisition through Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-attachments-in-purchase-requisition-through-code/m-p/10759698#M1876628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure whether you are using GOS or content repository to store documents. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to create class handlers to receive xstring from your UI and upload into SAP via FM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For content repository you could use FM like &lt;SPAN style="color: #333333; font-size: 12px;"&gt;SCMS_DOC_CREATE , &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;ARCHIV_CONNECTION_INSERT. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 05:27:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-attachments-in-purchase-requisition-through-code/m-p/10759698#M1876628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-18T05:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading attachments in Purchase Requisition through Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-attachments-in-purchase-requisition-through-code/m-p/10759699#M1876629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niyaz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using GOS in order to store documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please suggest any code to upload PR attachment document through code?&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;Subhabaha Pal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 06:32:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-attachments-in-purchase-requisition-through-code/m-p/10759699#M1876629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-18T06:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading attachments in Purchase Requisition through Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-attachments-in-purchase-requisition-through-code/m-p/10759700#M1876630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at below links. Refer to reply by &lt;SPAN style="font-size: 11px; color: #333333; background: #ffffff;"&gt;&lt;STRONG&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" data-avatarid="50917" data-externalid="" data-presence="null" data-userid="147920" data-username="kesavadas.thekkillath" href="https://answers.sap.com/people/kesavadas.thekkillath" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; color: #3778c7; background: transparent;"&gt;Kesavadas Thekkillath&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/message/13925228#13925228" title="http://scn.sap.com/message/13925228#13925228"&gt;http://scn.sap.com/message/13925228#13925228&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Also below link.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;A __default_attr="1485230" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="Massive GOS Upload" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Niyaz Ahamed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 06:42:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-attachments-in-purchase-requisition-through-code/m-p/10759700#M1876630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-18T06:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading attachments in Purchase Requisition through Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-attachments-in-purchase-requisition-through-code/m-p/10759701#M1876631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Niyaz ... I am going through the link to see if it helps.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 06:51:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-attachments-in-purchase-requisition-through-code/m-p/10759701#M1876631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-18T06:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading attachments in Purchase Requisition through Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-attachments-in-purchase-requisition-through-code/m-p/10759702#M1876632</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;Try Class CL_BDS_DOCUMENT_SET&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;&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Dec 2014 08:04:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-attachments-in-purchase-requisition-through-code/m-p/10759702#M1876632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-21T08:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading attachments in Purchase Requisition through Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-attachments-in-purchase-requisition-through-code/m-p/10759703#M1876633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ron for your kind help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the method SAVE in class cl_fitv_gos for attachment upload and it worked fine for me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot Ron for your kind help.&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;Subhabaha Pal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 09:02:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-attachments-in-purchase-requisition-through-code/m-p/10759703#M1876633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-12T09:02:58Z</dc:date>
    </item>
  </channel>
</rss>

