<?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 Convert SOFM object to Binary format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-sofm-object-to-binary-format/m-p/2987501#M705484</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 need to update the absence infotype record with the attachment after the employee's leave request is approved by the manager &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the attachment in my workflow work item. I can extract the attachment from workflow using  the FM - SAP_WAPI_GET_ATTACHMENTS. However this is returning the attachment in SOFM Object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We thought of using following FM's to create the archive and add a link to PREL Object with proper key:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  ARCHIVE_CREATE_FILE which takes filepath as input.&lt;/P&gt;&lt;P&gt;2. ARCHIVE_CREATE_TABLE accepts binary objects as input&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, we are struck now at converting the SOFM Object either into a file or to a binaryobject format so that we can use any of the above FMs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GVV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Nov 2007 06:44:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-05T06:44:49Z</dc:date>
    <item>
      <title>Convert SOFM object to Binary format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-sofm-object-to-binary-format/m-p/2987501#M705484</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 need to update the absence infotype record with the attachment after the employee's leave request is approved by the manager &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the attachment in my workflow work item. I can extract the attachment from workflow using  the FM - SAP_WAPI_GET_ATTACHMENTS. However this is returning the attachment in SOFM Object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We thought of using following FM's to create the archive and add a link to PREL Object with proper key:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  ARCHIVE_CREATE_FILE which takes filepath as input.&lt;/P&gt;&lt;P&gt;2. ARCHIVE_CREATE_TABLE accepts binary objects as input&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, we are struck now at converting the SOFM Object either into a file or to a binaryobject format so that we can use any of the above FMs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GVV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 06:44:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-sofm-object-to-binary-format/m-p/2987501#M705484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T06:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SOFM object to Binary format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-sofm-object-to-binary-format/m-p/2987502#M705485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Someone found solution for something like this?&lt;/P&gt;&lt;P&gt;I've got the same problem.&lt;/P&gt;&lt;P&gt;I give user opurtunity to choose file from PC and attache it to the WF when i start it from mu custom program/screen.&lt;/P&gt;&lt;P&gt;It's going inside as SOFM object and going thrugh all WF steps.&lt;/P&gt;&lt;P&gt;At the end of the WF i wannt to archive this or make it as GOS object.&lt;/P&gt;&lt;P&gt;It's a vendor master data WF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 14:27:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-sofm-object-to-binary-format/m-p/2987502#M705485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T14:27:41Z</dc:date>
    </item>
  </channel>
</rss>

