Antwort: Re: Editable Attachment

Florin Wach florin.wach at gmx.net
Mon Feb 25 09:05:01 EST 2008


He Chris,

I have found a nice trick here:

You can put the WF_Doc-Element to the _Adhoc_object list, where it then will be available under the object links in the work item preview (or alternatively you create an additional import parameter for this document).

Use a delegation/subtype for the WF_Doc and under the "Basic data" of that business object type choose tab "Defaults" and change the method from "Display" to "Edit"... he,
from now on, every click on the attachments opens the document in edit mode.
I'm not sure if this is, what you want, but you might think of restricting this edit-access to special cases (i.e. only when a work item is active) and put some more coding in this method.

Best wishes,
Florin


-------- Original-Nachricht --------
> Datum: Mon, 25 Feb 2008 12:05:29 +0100
> Von: "Christian Wallner" <C.Wallner at ats.net>
> An: "SAP Workflow Users\' Group" <sap-wug at mit.edu>
> Betreff: Antwort: Re: Editable Attachment

> Thanks Florin,
> 
> Very nice tipp, I'll surely try that and will keep you updated.:-)
> 
> br
> chris
> 
> 
> 
> 
> "Florin Wach" <florin.wach at gmx.net> 
> Gesendet von: sap-wug-bounces at mit.edu
> 25.02.2008 11:39
> Bitte antworten an
> "SAP Workflow Users' Group" <sap-wug at mit.edu>
> 
> 
> An
> "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Kopie
> 
> Thema
> Re: Editable Attachment
> 
> 
> 
> 
> 
> 
> Hello Christian,
> 
> the object method SOFM.Create uses a flag "ModifiableByAuthor" as an 
> import parameter, which is not set to 'X' by the calling method 
> WF_Doc.Create_SOFM.
> Please try to subtype and enhance the call within this method to flag this
> parameter.
> 
> I haven't look, why a WF_Doc is not changeable.
> 
> Best wishes,
> Florin
> 
> 
> -------- Original-Nachricht --------
> > Datum: Mon, 25 Feb 2008 10:47:22 +0100
> > Von: "Christian Wallner" <C.Wallner at ats.net>
> > An: sap-wug at mit.edu
> > Betreff: Editable Attachment
> 
> > Hi!
> > 
> > I have a question regarding editable attachments:
> > I created a workflow in which I want to have a word document where some 
> > inputs are made by the user who works with the workflow.
> > Therefore I have a step where the initial document is created. This 
> > document should be passed to the subsequent steps as an attachment 
> > (_ADHOC_Objects) which the user should be able to edit.
> > 
> > Unfortunately it seems that this is not possible. So I tried to convert 
> > the wf_doc into a sofm using WF_DOCUMENT.CREATE_SOFM. This works well 
> and 
> > I attached the created SOFM to _ATTACH_Objects. But when I try to edit 
> the
> > document in the next step the system says "No changeable attachments". 
> > 
> > This looks strange to me because when I create an attachment of type 
> "doc"
> > manually I AM actually able to edit it afterwards...
> > 
> > Any tipps are highly appreciated! :-)
> > 
> > regards,
> > Chris
> > AT&S Austria Technologie & Systemtechnik AG
> > Legal form | Rechtsform: Aktiengesellschaft
> > Registered office | Sitz: Fabriksgasse 13, 8700 Leoben, Austria 
> > Commercial Register Number | Firmenbuchnummer: FN 55638 x, Landesgericht
> > Leoben 
> > 
> > This e-mail and any attachment may contain confidential and/or 
> privileged
> > information. If you are not the intended recipient (or have received 
> this
> > e-mail in error) please notify the sender immediately and destroy this
> > e-mail. Any unauthorised copying, disclosure or distribution of the 
> material in
> > this e-mail is strictly forbidden.
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
> 
> 
> AT&S Austria Technologie & Systemtechnik AG
> Legal form | Rechtsform: Aktiengesellschaft
> Registered office | Sitz: Fabriksgasse 13, 8700 Leoben, Austria  
> Commercial Register Number | Firmenbuchnummer: FN 55638 x, Landesgericht
> Leoben 
> 
> This e-mail and any attachment may contain confidential and/or privileged
> information. If you are not the intended recipient (or have received this
> e-mail in error) please notify the sender immediately and destroy this
> e-mail. Any unauthorised copying, disclosure or distribution of the material in
> this e-mail is strictly forbidden.



More information about the SAP-WUG mailing list