1. How do I concatenate two strings in a container operation? I'm trying to concatenate the workflow initiator and '@company.com' into a variable to build an email address. If I can't do the concatenation in the container operation, where else can I do it?
2. How do I build a URL within a task description? When I place two expressions beside each other to build the URL in the task description, the URL shows up with a '<BR>' and %20 between the two strings that make up the URL. (Send mail (Selfitem.SendTaskDescription) step)
/* <a href="&REJ_URL&&DOC&">here</a>
Two possible approaches here.
* You could write a generic method which you pass the two strings in and it returns a concatenation of the two. Keep the method generic in case the requirement comes up again for another workflow/scenario.
* I would instantiate the Object USR01 based on the Workflow Initiator and then retrieve the e-mail address from the User Master Record via an attribute (ADR6- SMTP_ADDR).
Dig Deeper on SAP workflow development
Related Q&A from Alon Raskin
Find out how to configure clients so that the same version of an SAP workflow item is used when the workflow is triggered in separate clients. Continue Reading
An SAP user has created a user decision step in an SAP workflow item and wants to know how an end user can send an attachment to other users. Continue Reading
A SearchSAP.com reader wants to know how to hide the forward button in an SAP Business Workplace toolbar. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.