on 07-04-2013 10:02 PM
Hi All,
I have a file to Idoc scenario. I need help regarding Java class to replace/append string in the incoming file.
e.g. : Free text in the file - /kunal/pi
New string : http://www.sap.com/kunal/pi
Need help regarding the same. As the conversion is happening in the free text field cant use concat function in the graphical mapping.
We are using XSLT mapping for the interface flow. As there is no specific tags for the field value the value to replaced is coming in a free text field.
So we have decided/zeroed upon having a java class to do the same before actual mapping takes place.
If it can be achieved via other ways please provide steps for doing the same.
If java class is required requesting your help in providing the code fpr the same as I am beginner in Java modules.
Thanks in advance.
Hi,
you can achieve this using cancat function.
http://msdn.microsoft.com/en-us/library/aa987057(v=vs.80).aspx
if you want to append follow this.
http://www.tutorialspoint.com/java/stringbuffer_append.htm
if you have ESR objects mapping then you can achieve this using cancat function in graphical mapping also.
Regards,
Muniyappan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.