How to put conditional coding in Task Description
Soady, Phil
phil.soady at sap.com
Fri May 16 12:01:52 EDT 2003
Yes it is possible as you wished...
Enter the task long text,
Change editor mode.
Now You see.
__ ___bla______________
__ ___bla_______________
2 byte field and the large text area.
The trick is the first field is normally a format command but it can contain
Sapscript command indicator.
ie /: is the sapscript command paragraph type.
so your text looks like this:
/: IF &A& = 'bla'
* &CONTAINER_VAR_A& show this field
/: ELSE
* &CONTAINER_VAR_B& something else displayed based on if test
/: ENDIF
hth
Phil Soady
Senior Consultant
Business Technologies
SAP Australia
* : 0412 213 079
* : phil.soady at sap.com
-----Original Message-----
From: Robin Sahasranam [mailto:Rsahasranam at worldbank.org]
Sent: Saturday, May 17, 2003 1:25 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: How to put conditional coding in Task Description
Hi Rick,
One way to do this would be:
Define an attribute for the object, say WI_TEXT and set its value in the object program. Use this new attribute in your description.
Robin Sahasranam
Rick Sample
<Rick.Sample at gbe.co To: Sap-Wug at Mitvma.Mit.Edu
m> cc:
Sent by: SAP Subject: How to put conditional coding in Task Description
Workflow
<Owner-SAP-WUG at MITV
MA.MIT.EDU>
05/16/2003 11:15 AM
Please respond to
SAP Workflow Users'
Group
I have a task and in the task DESCRIPTION text area, I want to put conditional logic. Just don't know how.
For instance,
If myValue = 'X'.
"Display this"
else.
"Display that"
endif.
Thanks
More information about the SAP-WUG
mailing list