Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Convert SOFM object to Binary format

Hi all,

I need to update the absence infotype record with the attachment after the employee's leave request is approved by the manager

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.

We thought of using following FM's to create the archive and add a link to PREL Object with proper key:

1. ARCHIVE_CREATE_FILE which takes filepath as input.

2. ARCHIVE_CREATE_TABLE accepts binary objects as input

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.

Can anyone help me with this.

Thanks in advance.


Former Member
Not what you were looking for? View more on this topic or Ask a question