Home > Ask the SAP Experts > SAP workflow/webflow Questions & Answers > Updating the absence infotype
Ask The SAP Expert: Questions & Answers
EMAIL THIS

Updating the absence infotype

Alon Raskin EXPERT RESPONSE FROM: Alon Raskin

Pose a Question
Other SAP Categories
Meet all SAP Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 30 January 2008
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:

  1. ARCHIVE_CREATE_FILE
  2. ARCHIVE_CREATE_TABLE

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?


>
EXPERT RESPONSE
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.


Sound Off! -   


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
SAP workflow/webflow
Using change documents to update a Z table
Approving workflows from Outlook
Calling a custom workflow
Tools for enabling SAP screens on a BlackBerry
Refreshing dynamic columns
Clearing pending workflow items
How to read the attachments of a workflow
Problem when GR is created
Lost workflow due to unassigned position
How to generate a new transport request from an already working workflow

SAP Workflow
Using change documents to update a Z table
Approving workflows from Outlook
Tools for enabling SAP screens on a BlackBerry
Calling a custom workflow
Is there a 'load of program' option in report generation?
Deleting entries from a dynamic table
Defining a structure in a report
Refreshing dynamic columns
Clearing pending workflow items
How to read the attachments of a workflow

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsBlogsTipsAsk the ExpertsWebcastsWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
SearchSAP.com is a search service provided by TechTarget and is completely
independent of and not affiliated with SAP AG.
  TechTarget - The IT Media ROI Experts