Ask the Expert

Updating the absence infotype

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 Function Module (FM) "SAP_WAPI_GET_ATTACHMENTS". However, this is returning the attachment as "SOFM Object".

I am using the following FMs to create the archive and add a link to PREL Object with proper key:


How can I convert the SOFM Object either into a file or to a binary object format so that we can use the above FMs?

    Requires Free Membership to View

Use Function Module "SO_DOCUMENT_READ_API2" to read the contents of the SOFM and then pass it on to the appropriate archiving Function Module.

This was first published in January 2008

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: