<?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: How to transfer attachments from backend to srm in Spend Management Q&amp;A</title>
    <link>https://community.sap.com/t5/spend-management-q-a/how-to-transfer-attachments-from-backend-to-srm/qaa-p/7429079#M111669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;logic found in&lt;/P&gt;&lt;P&gt;LBBP_PDH_TEXTF14   WHEN 'TEXT_ATT_ADD'.&lt;/P&gt;&lt;P&gt;LBBP_PDH_TEXTF20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;arthur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Dec 2010 10:12:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-23T10:12:16Z</dc:date>
    <item>
      <title>How to transfer attachments from backend to srm</title>
      <link>https://community.sap.com/t5/spend-management-q-a/how-to-transfer-attachments-from-backend-to-srm/qaq-p/7429075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking for a sollution that I can attach pdfs to a shoppincart which is created from the backend.&lt;/P&gt;&lt;P&gt;I found&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1827754"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but still I have no clue what or where I have to enter in the objectkey or other fields&lt;/P&gt;&lt;P&gt;some I recognize as dms fields but objectkey I don't recognize ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the bapi BAPI_SCEC_CREATE can be called from the backend and attachment information can be passed. &lt;/P&gt;&lt;P&gt;but as usual with SAP BAPI's no documentation exists or examples .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When going inside the bapi I found BBP_ATTACH_CONTENT_WEBGET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so the complete story is that I have a programm in the backend where a user enters some information necessary to create a shoppingcart and also has the possibility to add an attachment which will also be transfererd to the shoppingcart.&lt;/P&gt;&lt;P&gt;whether or not the file first has to be registered somewhere in dms or in business documents with OAWD I don't care as long as there is a possibility for a user to upload files directly.&lt;/P&gt;&lt;P&gt;(so I don't create a PR in sap system, I directly create the shoppingcart through the bapi)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the whole construction working and shoppingcarts get created and when I enter an url to a pdf file on a website. it's nicely downloaded and added to the shoppingcart. but now I want it to work with dms or business documents ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anybody got a clue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 16:22:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/how-to-transfer-attachments-from-backend-to-srm/qaq-p/7429075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-02T16:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer attachments from backend to srm</title>
      <link>https://community.sap.com/t5/spend-management-q-a/how-to-transfer-attachments-from-backend-to-srm/qaa-p/7429076#M111666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Where is original attachment saved? Is it accessible via Web? &lt;/P&gt;&lt;P&gt;I guess you would like to create a SC from legacy system automatically. Is it correct? &lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Masa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Dec 2010 02:50:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/how-to-transfer-attachments-from-backend-to-srm/qaa-p/7429076#M111666</guid>
      <dc:creator>masa_139</dc:creator>
      <dc:date>2010-12-03T02:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer attachments from backend to srm</title>
      <link>https://community.sap.com/t5/spend-management-q-a/how-to-transfer-attachments-from-backend-to-srm/qaa-p/7429077#M111667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the options for the location of saving original attachments depends on where SAP expects them to find with this function.&lt;/P&gt;&lt;P&gt;and that is what I can't figure out whether it is normal dms or as the descriptions of the fields indicate that it can also be business documents. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have build a z programm in the backend which can create a shoppingcart in srm (I can't use PR for this since then the shoppingcart is already approved in srm and we want to use the approval flow of the SC which is much better and already developed than approval flow of PR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in this Z programm users must also be able to select a file as attachment. this file for instance I have to saver first in dms or business documents or wherever to be able to sent through with the bapi BAPI_SCEC_CREATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so now I found this structure for passing attachments but I can't find any example on how to use the BDS fields like OBJKEY and DOC_ID ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARENT_GUID	BAPI_PARENT_GUID	CHAR	32	0	GUID bovenliggende record (kop of positie)&lt;/P&gt;&lt;P&gt;LOGICAL_SYSTEM	BDS_LOGSYS	CHAR	10	0	Business Document Service: ID van logisch systeem&lt;/P&gt;&lt;P&gt;CLASSNAME	BDS_CLSNAM	CHAR	30	0	Business Document Service: klassennaam&lt;/P&gt;&lt;P&gt;CLASSTYPE	BDS_CLSTYP	CHAR	2	0	Business Document Service: klassentype&lt;/P&gt;&lt;P&gt;OBJKEY	BDS_TYPEID	CHAR	70	0	Business Document Service: objectkey&lt;/P&gt;&lt;P&gt;DOC_ID	BDS_DOCID	CHAR	42	0	Business Document Service: document-ID&lt;/P&gt;&lt;P&gt;DOC_VER_NO	BDS_DVERNO	NUMC	8	0	Business Document Service: documentversienummer&lt;/P&gt;&lt;P&gt;DOC_VAR_ID	BDS_DVARID	NUMC	8	0	Business Document Service:  documentvariant-ID&lt;/P&gt;&lt;P&gt;DESCRIPTION	BDS_PROPVA	CHAR	64	0	Business Document Service: attribuutwaarde&lt;/P&gt;&lt;P&gt;URL	BBP_ATT_URL	CHAR	255	0	Uniform Resource Locator voor bijlagen verwervingsdocument&lt;/P&gt;&lt;P&gt;TYPE	BBP_ATT_TYPE	CHAR	1	0	Type bijlage bij een verwervingsdocument&lt;/P&gt;&lt;P&gt;INTERNAL_IND	BBP_ATT_INTERNAL	CHAR	1	0	Teken of een bijlage alleen intern wordt gebruikt&lt;/P&gt;&lt;P&gt;CATEG	BBP_ATT_CATEG	CHAR	1	0	Categorie bijlage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;arthur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Dec 2010 08:30:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/how-to-transfer-attachments-from-backend-to-srm/qaa-p/7429077#M111667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-03T08:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer attachments from backend to srm</title>
      <link>https://community.sap.com/t5/spend-management-q-a/how-to-transfer-attachments-from-backend-to-srm/qaa-p/7429078#M111668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As i look inside BBP_ATTACH_CONTENT_WEBGET more I can only conclude that I can use weburls for attachments ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to upload files directly from sap to a http:// address&lt;/P&gt;&lt;P&gt;or are files uploaded to the unix also accesible by http://  ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arthur&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: A. de Smidt on Dec 7, 2010 2:21 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 13:21:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/how-to-transfer-attachments-from-backend-to-srm/qaa-p/7429078#M111668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-07T13:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer attachments from backend to srm</title>
      <link>https://community.sap.com/t5/spend-management-q-a/how-to-transfer-attachments-from-backend-to-srm/qaa-p/7429079#M111669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;logic found in&lt;/P&gt;&lt;P&gt;LBBP_PDH_TEXTF14   WHEN 'TEXT_ATT_ADD'.&lt;/P&gt;&lt;P&gt;LBBP_PDH_TEXTF20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;arthur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Dec 2010 10:12:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/how-to-transfer-attachments-from-backend-to-srm/qaa-p/7429079#M111669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-23T10:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer attachments from backend to srm</title>
      <link>https://community.sap.com/t5/spend-management-q-a/how-to-transfer-attachments-from-backend-to-srm/qaa-p/7429080#M111670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi smidth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you pls share your solution&lt;/P&gt;&lt;P&gt;how did you solved the attachment problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 10:35:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/how-to-transfer-attachments-from-backend-to-srm/qaa-p/7429080#M111670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-08T10:35:48Z</dc:date>
    </item>
  </channel>
</rss>

