Where have all the folders gone?

Veit Unger veit.unger at de.ibm.com
Wed Aug 22 10:12:10 EDT 2007


Hi Mike,

I remember having read all kinds of sofm documents in a CRM system with 
cl_document_bcs using the method "getu_instance_by_key" ignoring any 
eventual folder information.

Maybe that works for you, too.


kind regards,
Veit 



Dipl. WiInf. Veit Unger 
- 
eMail: veit.unger at de.ibm.com 
Telefon: +(49) 170 914 7650 

IBM Global Business Services 
Nahmitzer Damm 12 - 12277 Berlin . Germany 

--
IBM Deutschland GmbH
Vorsitzender des Aufsichtsrats: Hans Ulrich Maerki
Geschäftsführung: Martin Jetter (Vorsitzender), Rudolf Bauer, Christian 
Diedrich, Christoph Grandpierre, Matthias Hartmann, Thomas Fell, Michael 
Diemer
Sitz der Gesellschaft: Stuttgart
Registergericht: Amtsgericht Stuttgart, HRB 14562 WEEE-Reg.-Nr. DE 
99369940



"Mike Pokraka" <asap at workflowconnections.com> 
Sent by: sap-wug-bounces at mit.edu
22.08.2007 14:52
Please respond to
"SAP Workflow Users' Group" <sap-wug at mit.edu>


To
sap-wug at mit.edu
cc

Subject
Where have all the folders gone?






Hello Wuggers,

Question about the difference between SOFM and the newer BCS classes (620
here):

Traditional SOFM attachments use folders within SapOffice. For various
reasons I am avoiding SOFM and using CL_DOCUMENT_BCS instead. However SOFM
stores it's documents in a folder and BCS stuff doesn't (although it once
did).

This is still fine when we create an attachment using BCS: Simply attach
it to WF as a SOFM object with a blank folder in the key and all works as
it should.

The other way round this is a problem: if an attachment is created
manually or by WF then this is done using SOFM (at least here on 620)
which will create it in a folder.
This is bad, because CL_DOCUMENT_BCS doesn't use folders, so the
SOFM-created attachment cannot be read using BCS. Some old code is still
in CL_DOCUMENT_BCS which *used to* work the same as SOFM but this has been
commented out.

This is creating a really annoying inconsistency around a simple piece of
functionality - has anyone had to deal with this before?

Any input appreciated,
Mike


_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20070822/1ecde420/attachment.htm


More information about the SAP-WUG mailing list