Concatenate values in a workflow

Jane Simonetti JSimone at smud.org
Wed Jul 26 11:35:39 EDT 2006


There is a method called StringConcatenate under object CCPSUPPORT that concatenates up to 4 strings, with or without space. However, I think this object is part of the ISU (utilities) module.
 
BEGIN_METHOD STRINGCONCATENATE CHANGING CONTAINER.               
DATA:                                                            
      RESULT LIKE EBAGEN-VALUE,                                  
      WITHSPACE LIKE EBAGEN-KENNZX,                              
      OPERAND4 LIKE EBAGEN-VALUE,                                
      OPERAND3 LIKE EBAGEN-VALUE,                                
      OPERAND2 LIKE EBAGEN-VALUE,                                
      OPERAND1 LIKE EBAGEN-VALUE.                                
  SWC_GET_ELEMENT CONTAINER 'WithSpace' WITHSPACE.               
  SWC_GET_ELEMENT CONTAINER 'Operand4' OPERAND4.                 
  SWC_GET_ELEMENT CONTAINER 'Operand3' OPERAND3.                 
  SWC_GET_ELEMENT CONTAINER 'Operand2' OPERAND2.                 
  SWC_GET_ELEMENT CONTAINER 'Operand1' OPERAND1.                 
  IF WITHSPACE <> SPACE.                                         
    CONCATENATE OPERAND1 OPERAND2 OPERAND3 OPERAND4 INTO RESULT  
              SEPARATED BY SPACE.                                
  ELSE.                                                          
    CONCATENATE OPERAND1 OPERAND2 OPERAND3 OPERAND4 INTO RESULT. 
  ENDIF.                                                         
  SWC_SET_ELEMENT CONTAINER 'Result' RESULT.                     
END_METHOD.                                                      
 
Jane Simonetti
Technical Developer - Workflow
Business Technology Projects
Sacramento Municipal Utility District 
916.732.5234 
 
-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu]On Behalf Of IVONETE APARECIDA ROMANO SP-ESC
Sent: Wednesday, July 26, 2006 8:14 AM
To: SAP Workflow Users' Group
Subject: Concatenate values in a workflow
 
Hi,
 
Someone Knows if Is there some way to concatenate the value of two container elements into another container element in a workflow without using abap program?
 
Thanks,
 
Ivonete A Romano
Sistemas de Informação - São Paulo
Projeto Fórmula  
*55.11.5212-3742 *55.11.5182-4632 
* ivonete.romano at braskem.com.br  
P Antes de imprimir pense em seu compromisso com o Meio Ambiente
 
Esta mensagem pode conter informações confidenciais e sujeitas a sigilo. A utilização, cópia e divulgação não autorizadas desta mensagem são expressamente proibidas. Se você recebeu esta mensagem por engano, por favor avise imediatamente o remetente, respondendo o e-mail e apagando-o em seguida.
Caso esta mensagem e anexos contenham termos em negociação, sob nenhuma hipótese estes poderão ser considerados como acordo definitivo ou novação a qualquer pacto eventualmente existente entre as partes.
 
 
This message may contain confidential and privileged information. Unauthorized use, copy or disclosure of this message is expressly prohibited. If you received this message in error, please contact the sender immediately and delete this message outright. 
If this message and its attachments contain terms and conditions under negotiation, they shall not be deemed as a definitive agreement or supersede any other arrangement that may exist between the parties.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20060726/5d6b1b9e/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 167 bytes
Desc: image001.gif
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20060726/5d6b1b9e/attachment.gif


More information about the SAP-WUG mailing list