on 06-05-2012 11:20 AM
Hi Experts;
Please suggest me how do I concatenate two strings separated by <TAB> in SAP XI.
example:
Input1: ONE
Input2: TWO
output should be: "ONE TWO"
I have tried with UDF but it is not giving the output as expected.
String output = Input1 + "\t" + Input2;
return output;
this returns "ONETWO" in SAP XI.
Thanks in advance.
Regards,
Suman
Hi,
Use stand function : Concat
open the notepad-> press tab -> copy the space and paste the same under Concat function
A small observation: Your UDF will also work. If u properly view the UDF output u will notice, tab is coming in between two strings(to cross chk go to the test tab under ur mapping -> execute it and view the output in Source text view)
Thanks
Amit Srivastava
Message was edited by: Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suman ,
Try this link .
Concatenating respecting blanks.
http://help.sap.com/abapdocu_70/en/ABAPCONCATENATE.htm
With REgards,
Sudhir S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Suman,
First u can to concatenate ONE with tab space and then both to two.
"ONE" -->Concate--> " " output is : "ONE ".
then
"ONE "-->Concate-->"TWO" output is "ONE TWO".
Regards
Gagandeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.