AW: Calling methods in Send Mail step

Wegert, Volker volker.wegert at helios-kliniken.de
Mon Mar 5 12:06:45 EST 2012


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



More information about the SAP-WUG mailing list