on 02-26-2010 11:23 AM
Hi,
While importing a pipe " | " delimted (will apply to any delimter) text file, I have Long text field from source system which is having Product Descriptions in it. Users have enterd the data in multiple lines in that field in the source system, which is a valid case .
When we have extracted the data from source & trying to Import in Import Manager, the "enter" is taking a new line & hence as a new row. How do I import the data keeping the new lines in MDM?
Product_Id|Description|Language
001|Test 1|EN
002|Test
2|EN
003|Test 3|GB
here the Product Id 002 should be imported in text large field with description having the new line character.
Thanks,
Ketan
This is not possible on text delimited format. I don't know why SAP never want to implement CSV format on their tools, there is the same issue in PI.
Instead, use excel or XML format to perform it, but do prefer XML format.
Do you use PI in front of MDM ? On my current project, we implement a workaround to handle carriage return in flat file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok so the best way is to extract your data from SQL server as XML format into this kind of format:
<?xml version="1.0" encoding="UTF-8"?>
<Products>
<Product>
<Product_Id>001</Product_Id>
<Description><<![CDATA[ Test 1]]></Description>
<Language>EN</Language>
</Product>
<Product>
<Product_Id>002</Product_Id>
<Description><<![CDATA[ Test
2]]></Description>
<Language>EN</Language>
</Product>
<Product>
<Product_Id>003</Product_Id>
<Description><<![CDATA[ Test 3]]></Description>
<Language>GB</Language>
</Product>
</Products>
It is the only way to handle carriage return in Import Manager; with delimited text it is not possible.
Let us know.
Edited by: cau vianney on Mar 1, 2010 3:17 PM
Edited by: cau vianney on Mar 1, 2010 3:19 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please can you provide us following details:
1. Is there any middleware in between MDM and SQL Server.
2. How MDM is connecting to SQL Server? Using text file or Directly to SQL server(no text file)?
3. In case SQL server is creating File for MDM, then how it is creating. Did you define some procedures in SQL to do so?
Regards,
Shiv
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.