Where have all the folders gone?

Mike Pokraka asap at workflowconnections.com
Wed Aug 22 12:02:41 EDT 2007


Hi Veit,

Hmmm, I thought I tried that but.... ah, it works now... it kinda finds
it's document regardless of folder *if* it was created as RAW - I think
that's where I may have gone wrong.

The big difference appears to be in the tables - SOFM uses SOFM and BCS
uses SOOD. Non-RAW's seem to get a doument type EXT, so as long as I code
for that we're OK. I noticed you can still determine the correct doctype
via the body part attributes.

Happy, thanks a lot!
Cheers,
Mike

On Wed, August 22, 2007 3:12 pm, Veit Unger wrote:
> 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
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>


-- 
Mike Pokraka
Senior Consultant
Workflow Connections
Mobile: +44(0)7786 910855




More information about the SAP-WUG mailing list