on 12-20-2013 7:39 AM
Hi Experts,
Can you please explain me with an example of replaceString functions in strings.
I am getting confussed here with this.
Thanks,
Ravi
Hi Ravi,
Understand replaceString in this way.
Suppose Input is coming as RaviBoppanna and you want only Boppanna should come out as Output.
Replace string will take 3 input values.
X : String in which something is to be replaced :-Your Input String here is RaviBoppanna.
Y: String to be replaced in X:-
Z: String to replace Y:-
Now see the mapping:-
OutPut:-
Regards,
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Abhi for explaining this..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
Replace string will have 3 input values.
X : String in which something is to be replaced
Y: String to be replaced in X
Z: String to replace Y
For example take requirement to check if the first two characters of the input are equal to "XM" then remove the first two characters from the input string and only map the rest of the string to a target field.You can achieve this requirement by using replace string functionality.
FYR check below links, first one is about functionality, second link is for example.
http://wiki.scn.sap.com/wiki/display/HOME/Message+Mapping++Replace+String
http://scn.sap.com/thread/3473505
Regards,
Neelima.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
Kindly go through this below blog you will understand the function of replace string.
http://wiki.scn.sap.com/wiki/display/HOME/Message+Mapping++Replace+String
Best Regards,
Monikandan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
Check this wiki Message Mapping Replace String - Wiki - SCN Wiki
, if there is something that you dont understand right, let us to know.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.