Q
Problem solve Get help with specific problems with your technologies, process and projects.

Concatenating strings in a container operation

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?

I have two questions: 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) Example: /* <a href="&REJ_URL&&DOC&">here</a> Result: http://www.test.tkr/PSCDWGREQ/DRV_REJCOM.ASP?NO=<br>%20%20%20%20%200000000000000010000010868 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

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchContentManagement

SearchHRSoftware

Close