Calling methods in Send Mail step

Keohan, Susan - 1140 - MITLL keohan at ll.mit.edu
Mon Mar 5 12:54:24 EST 2012


Hi Volker,
I think you may find OSS Note 1523530 will help.


https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/in
dex2.htm?numm=1523530
----
Susan R. Keohan
SAP Workflow Specialist
Enterprise Applications
Information Services Department
MIT Lincoln Laboratory
244 Wood Street, LI-200
Lexington, MA. 02420
781-981-3561
keohan at LL.MIT.EDU


-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
Wegert, Volker
Sent: Monday, March 05, 2012 12:07 PM
To: SAP Workflow Users' Group
Subject: AW: Calling methods in Send Mail step

Mike,

Thanks for the hint. The usage of SAPscript explains a lot of the weird
stuff I've seen.
BTW, is there a way to increase the subject line length limitation of 50
characters?

Thanks
  Volker

-----Ursprüngliche Nachricht-----
Von: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] Im Auftrag von
Mike Pokraka
Gesendet: Montag, 5. März 2012 17:38
An: SAP Workflow Users' Group
Betreff: Re: Calling methods in Send Mail step

Hello Volker,

Unfortunately you can't use functional methods in Task descriptions. This is
not a limitation of the workflow system; it's because it uses the rather
primitive and OO-unaware SapScript for the work item description.

This is a bit misleading when using the email step as it tries to present a
pretty frontend to hide SapScript. You can use a container element on the
step for the methods needed in texts and just double up on the
binding:
WFOBJECT -> TSOBJECT, and
WFOBJECT.METHOD1( ) -> TSELEMENT1
Then use TSELEMENT1 in your description.

Hope that helps,
Mike


On Mon, March 5, 2012 2:47 pm, Wegert, Volker wrote:
> Hi all,
>
> I'm trying to use a functional method inside an expression of a Send 
> Mail step - &OBJECT.METHOD()& - with varying results. It works as long 
> as the expression is used in the subject line. If I use the very same 
> expression in the message body, nothing is inserted. Is this a known 
> issue or a bug that I should report?
>
> Thanks
>   Volker Wegert
>
>
>
>
> _____________________________________________
> HELIOS IT Service GmbH
>
> Volker Wegert
>
>
> E-Mail: volker.wegert at helios-kliniken.de 
> <blocked::mailto:volker.wegert at helios-kliniken.de>
>
> Haus 211, Zimmer D 018
> Schwanebecker Chaussee 50 - 13125 Berlin www.helios-kliniken.de 
> <http://www.helios-kliniken.de/> Telefon 030 / 9401 17338
>
>
> Geschäftsführer: Enrico Jensch
> Sitz der Gesellschaft: Berlin
> Handelsregister: Berlin-Charlottenburg HRB: 101458 B
>
> P Helfen Sie mit, die Umwelt zu schonen - müssen Sie diese Mail 
> wirklich ausdrucken?
>
>
> _______________________________________________
> 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

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5398 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20120305/d3b05706/attachment.bin


More information about the SAP-WUG mailing list