on 01-03-2014 6:30 AM
Hi all,
My requirement is I need to handle special characters in data.
For ex my data is coming like 'School Fees - ???' . I need to convert it to 'School Fees'.
I was doing hard coding till now but such data is coming frequently. So need a permanent solution for it.
Thanks,
Nakul Kothari
+919987039379
Hi
Nakul Kothari
check this link
regards
kamal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nakul,
Why don't you want to handle the special characters before loading the data to HANA.?
What is the ETL tool you are using for loading into HANA?
Based on your input we can validate the data and load the clean data into HANA. It can be done easily using SAP BODS using Validation Transform.
If you still want to handle it in HANA, you may need to write a generic procedure in HANA and reload the data into the table or you may need to keep your "if" conditions as calculated columns in the models and remove them ( This makes more if's depending on possible special characters).
Regards,
Krishna Tangudu
Hi Nakul,
We can use "Validation Transform" in BODS to remove the special characters.
Depending on whether you want to "Fail" the record if there is special character or you just want to replace all the special characters you may decide on creating the error table.
Have a look on the below thread for the similar activity:
The below document covers most of the capabilities along with validation transform:
Also remember you need to define these rules for all the data types, i.e. char ( where ever you feel you want to control ).
I am actually documenting the similar results which i will be publishing on monday @SCN as i am currently traveling and do not have access to the system now.
Regards,
Krishna Tangudu
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.