Antwort: Re: Editable Attachment
Christian Wallner
C.Wallner at ats.net
Mon Feb 25 06:56:42 EST 2008
Hi again,
I tried your proposal by doing the following:
I subtyped WF_DOC ->ZWF_DOC and created method ZCREATE_SOFM and enhanced
it as follows:
* --- fill Container ---
SWC_create_CONTAINER l_container.
SWC_SET_ELEMENT l_container 'DOCUMENTTITLE' l_PROPERTIES-DESCRIPT.
swc_set_element l_container 'DOCUMENTNAME' 'Document'(i01).
SWC_SET_ELEMENT l_container 'NO_DIALOG' 'X'.
SWC_SET_ELEMENT l_container 'ENJOY' 'X'.
* WALLNERC
SWC_SET_ELEMENT l_container 'MODIFIABLEBYAUTHOR' SPACE.
* WALLNERC
I debugged it to be sure that the parameter is passed to the SOFM.CREATE,
it works. But anyhow it doesn't matter to which value I set this
parameter, the attachment is not modifiable...:-(((
Because there's lots of information to collect in this wf I want to
collect it in 1 central attachment which is sent to the WF Initiator at
the end of the WF...Any ideas left?
regards,
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080225/93cd55ac/attachment.htm
More information about the SAP-WUG
mailing list