11-05-2007 6:44 AM
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.
GVV
11-05-2007 2:27 PM
Hi,
Someone found solution for something like this?
I've got the same problem.
I give user opurtunity to choose file from PC and attache it to the WF when i start it from mu custom program/screen.
It's going inside as SOFM object and going thrugh all WF steps.
At the end of the WF i wannt to archive this or make it as GOS object.
It's a vendor master data WF.
Thanks