on 09-08-2015 2:48 PM
Hi Sap All.
iam having an Issue where a field Names from IDOC with the value T'Stephen is getting the target mapped value as T'Stephen.
if the source is File then I can do some validation at the CC Parameters but this is a Idoc.
can any one provide a simple code to replace that invalid string.
Regards.
Jagdish.
hi jagdish,
can u try replace string option in mapping and check result.
else u can opt for udf also.
-rashmi
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 Inaki Vila.
must I go with Java Mapping or I can just create a udf ? inside message mapping.because when I create a udf with the mentioned code iam getting the error below
will be waiting for the response.
Regards.
Jagdish.
Hi Jagdish,
The line of code where you are getting the error starts with a Dot(.) which is illegal, remove the dot and then try running the mapping.
Best method would be to write the code first in NWDS and then use it in UDF.
For your requirement, you can fix this only by doing a Java Mapping or writing an UDF as mentioned by Inaki.
Regards,
Nitin Deshpande
Hi Jagdish,
With UDF would be easier to do it. However, if you want to know more about java mapping this Raghu Vamseedhar Reddy KadipiReddy blog could be helpful.
First of all, you would need to download the NWDS according your PI version, to do a java mapping: NWDS Download Links - Java Development - SCN Wiki
Regards.
This is correct handling of escaping characters in XML. What exaxtly is your issue? ' is correct XML value and understandable of all XML consumers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.