<br><font size=2 face="sans-serif">Hi Mike,</font>
<br>
<br><font size=2 face="sans-serif">I remember having read all kinds of
sofm documents in a CRM system with cl_document_bcs using the method &quot;getu_instance_by_key&quot;
ignoring any eventual folder information.</font>
<br>
<br><font size=2 face="sans-serif">Maybe that works for you, too.</font>
<br>
<br>
<br><font size=2 face="sans-serif">kind regards,</font>
<br><font size=2 face="sans-serif">Veit </font>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">Dipl. WiInf. Veit Unger <br>
- <br>
eMail: veit.unger@de.ibm.com <br>
Telefon: +(49) 170 914 7650 <br>
<br>
IBM Global Business Services <br>
Nahmitzer Damm 12 - 12277 Berlin . Germany <br>
<br>
--<br>
IBM Deutschland GmbH<br>
Vorsitzender des Aufsichtsrats: Hans Ulrich Maerki<br>
Geschäftsführung: Martin Jetter (Vorsitzender), Rudolf Bauer, Christian
Diedrich, Christoph Grandpierre, Matthias Hartmann, Thomas Fell, Michael
Diemer<br>
Sitz der Gesellschaft: Stuttgart<br>
Registergericht: Amtsgericht Stuttgart, HRB 14562 WEEE-Reg.-Nr. DE 99369940</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Mike Pokraka&quot;
&lt;asap@workflowconnections.com&gt;</b> </font>
<br><font size=1 face="sans-serif">Sent by: sap-wug-bounces@mit.edu</font>
<p><font size=1 face="sans-serif">22.08.2007 14:52</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
&quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">sap-wug@mit.edu</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Where have all the folders gone?</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Hello Wuggers,<br>
<br>
Question about the difference between SOFM and the newer BCS classes (620<br>
here):<br>
<br>
Traditional SOFM attachments use folders within SapOffice. For various<br>
reasons I am avoiding SOFM and using CL_DOCUMENT_BCS instead. However SOFM<br>
stores it's documents in a folder and BCS stuff doesn't (although it once<br>
did).<br>
<br>
This is still fine when we create an attachment using BCS: Simply attach<br>
it to WF as a SOFM object with a blank folder in the key and all works
as<br>
it should.<br>
<br>
The other way round this is a problem: if an attachment is created<br>
manually or by WF then this is done using SOFM (at least here on 620)<br>
which will create it in a folder.<br>
This is bad, because CL_DOCUMENT_BCS doesn't use folders, so the<br>
SOFM-created attachment cannot be read using BCS. Some old code is still<br>
in CL_DOCUMENT_BCS which *used to* work the same as SOFM but this has been<br>
commented out.<br>
<br>
This is creating a really annoying inconsistency around a simple piece
of<br>
functionality - has anyone had to deal with this before?<br>
<br>
Any input appreciated,<br>
Mike<br>
<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
</font></tt>
<br>