Seeburger CSV file - Tab Delimited - srcDelimiter
Hi
Does anyone know the correct 'Parameter Value' entry I need to use for :
Module Key "BIC"
Parameter Name "srcDelimiter"
The documentation states that you must use a String with the length of 6 characters, and the order is:
subfield, field, decimal, quoting, fieldgroup, segment
Specifically, I want to define the 'field' delimiter as a Tab.
Thanks
Hi
We don't have a problem with 'real' EDI (Edifact or Tradacoms).
My problem is trying to receive a simple Tab Delimited text file via AS2, into XI.
The BIC mapping used is from type CSV to type XML.
Comma delimited is fine, as a comma is specified on the BIC mapping as the source delimiter.
I'm wondering if I can override this on the CC module chain, using the srcDelimiter parameter.
Thanks
Similar Messages
-
Problem importing CSV or tab-delimited file into Address Book
I am trying to import a text file (tab delimited) or csv file into address book. The files are created in Excel and consist 8 columns with address info (first name, last name, street, city etc). For the sake of simplicity, the file only contains 2 records - so all in all 3 rows with data where the first row contains the headers as described above.
I am perfectly able to import the fields first name, last name using Address Book's text import feature. However, as soon as I try to map Address Book's address field (Home, work or other) to my text file's headers, the import wizard stops responding. I can still scroll through the records with the left and right error, but the record count is screwed up ("-3 of 2") and clicking the OK button doesn't result in anything.
So I am able to import the names but not the addresses - so I better rename the Address Book to Name Book
Any clue of what's going wrong?I've been wrestling with the exact same problem. I have come to a solution, though serendipitously. The address variables belong to a group say address Office.
1 - I creted a column with address Office which clued in AddressBook the the existence of the data for +address Other+ (and it assigned the columns ot the proper data)
2 - address book does have an entry of address with all group elements of same colour, normally. I reassign address other to address office
3 - I also assign address office (in right-hand column) to address office.
At this point I have two groups of address office
4 - I indicate to the second group 'do not import'
5 - Then hit OK
It seems that this loop is necessary to instantiate the proper group name to the group of variables. Why? who knows. Bad UI? Clearly. Apple engineers should've thought about it before? no kidding... -
Feature request : import of multi-line notes in CSV or tab-delimited file
This is a feature request to the AddressBook development team:
Following a question posted here and asked to support (thanks to Barry and Julia from ADC), it turns out that AddressBook is not ready yet to import multi-line notes from a CSV or tab-delimited file.
I would like to kindly suggest the AddressBook development team to update the import methods for such flat files to parse the text of what is assigned to the Notes field, and convert documented escape sequences to their pre-determined corresponding special character.
I would think that the following would be pretty easy to implement, and easy for the targeted audience (enthousiasts power-users and up) to remember:
"\n " : mark a new line (same as ^p in Word)
"\t " : replace by a tab
I would keep the trailing space to avoid problems with DOS-type file path problems.
and of course...
"\\n " and "\\t " for whoever would want to import notes about \n and \t
For example, in a Notes column, the text:
"Escape sequence \\n :\n move the text to a new line\n \n while escape sequence \\t :\t move the text to the next horizontal tab"
would give the following (just consider text between <Note> marks):
<Note>
Escape sequence \n:
move the text to a new line
while escape sequence \t: move the text to the next horizontal tab
</Note>
Thanks for reading...
Frédéric DenisThe developers do not necessarily read these USER discussion pages. If you want to make suggestions and know they will be read (which is at least a step towards implementation) use the OS X feedback page.
AK -
Uploading text file (TAB delimited) to Oracle database table
Hi, im creating a form that will upload a text file(TAB delimited) that will insert a data in a database table. How would i do this? And what trigger will i use in the upload button? Please help..
Thanks,
Majichi majic,
Check any of this site related to oracle sql and plsql
and do reply me if not found.
1) http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96624/03_types.htm#LNPLS003
Oracle composite data type help
2) http://www.cs.umb.edu/cs634/ora9idocs/appdev.920/a96624/07_errs.htm#784
Oracle plsql help good one check out
3) http://www.orafaq.com/faqsql.htm#WHAT
Oracle frequently asked questions
4) http://www.bijoos.com/ora9/index.htm
Oracle diff version comparasion help in above no 4 web site
5) http://www.unix.org.ua/orelly/oracle/prog2/index.htm
Oracle oreilly hand book good book for oracle pl/sql
6) http://www.orafaq.com/glossary/faqgloss.htm#SQL_Loader
check out for oracle faq good one
7) http://www.rittman.net/archives/cat_oracle_9ias.html
check out for Froms10g Installation and much more
8) http://www.devarticles.com/c/a/Oracle/Creating-a-Database-in-Oracle-9i/2/
check this for creating a oracle database in 9i***
9) http://tahiti.oracle.com/
suggested my many user for oracle help..check out this also
10) http://www.jlcomp.demon.co.uk/faq/ind_faq.html
For Full oracle related questions and answer****
Regards,
Asif A K. -
Newby - Problems exporting non-standard characters to .CSV or tab delimited
I am trying to export data from a table where many of the text fields contain non-standard characters like double quotes *["]* or *tabs*. If I *export to a .CSV* file, the embedded double quotes invariably foul up the alignment of the output columns and if I select a *tab delimited export*, the embedded tabs do the same thing.
Is there anyway that I can specify the text delimiter to use so that I can select a character that is not used in the text (like, for example the tilde *[*]*)?
I am using Discoverer 3.1
Thanks in advanceHi,
With a complicated export requirement like this it is often better to create a calculation that returns the fields in the required format as a single column e.g.
col1||'~'||col2||'~'||col3
Then you can just export the report as a text and get all the fields with the correct separators and replaced characters.
Rod West -
Building a CSV with TAB Delimited
Apex 3.1.2
Customer wants to build a Apex Report with CSV output, but have TAB delimited columns, not comma delimited. Any ideas on how to insert a TAB into the CSV "Separator" column?
Thanks,
DwightThanks Tony.
Appears that in my version of Apex at least, only one character can be entered in the "Separator" column so putting "\t" doesn't work. Going to massage the file afterwards. Thanks for the help.
Dwight -
How to convert Mail attachment file Tab Delimited file to XML.
Hi PI Experts
I have XI scenario: MAIL XI SAP (ABAP Proxy), the process is
1. XI will receive tab delimited file as attachment in mail.
2. XI will convert the tab delimited file into XML, then map to the target structure.
3. Target will be posted into ECC through ABAP Proxy.
Can anyone help me how can I convert the attachment file (i.e. Tab delimited file) to XML while configuring the sender side.
Thanks in AdvanceI just grabed what I answered from another thread. It should work.
Processing sequence as follows:
1. localejbs/AF_Modules/PayloadSwapBean Local Enterprise Bean swap1
2. localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean tran1
3. sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean Local Enterprise Bean mail
Module Configuration as follows: Fill the XXXX part with your info.
swap1 swap.keyName payload-name
swap1 swap.keyValue MailAttachment-1
tran1 Transform.Class com.sap.aii.messaging.adapter.Conversion
tran1 Transform.ContentType ext/xml;charset=utf-8
tran1 xml.conversionType SimplePlain2XML
tran1 xml.documentName XXXXXXX_Mail
tran1 xml.documentNamespace http://XXXXX.com.au/XXXX
tran1 xml.fieldSeparator \t
tran1 xml.processFieldNames fromConfiguration
tran1 xml.structureTitle rows
Once you set up the above configuration, you will get one record at a time.
Create a souce message interface like the followings:
XXXXXXXXX_Mail
rows
record
Target message interface:
XXXXXXXXX
rows
field 1
field 2
field 3
Write a UDF function to remove the TAB space
public removeTABSpace(String record,Container container){
//write your code here
StringTokenizer st = new StringTokenizer(record,"\t",false);
String t="";
while (st.hasMoreElements()) t += st.nextElement();
return t;
Write another UDF to get the field 1 for example:
public String getField1(String input,Container container){
int counter=0;
int beginIndex=0;
int endIndex=0;
int i;
for (i=0;i<input.length();i++){
if (input.charAt(i)==34){
counter=counter+1;
if (counter==1){
beginIndex=i+1;
counter=0;
break;
for (i=0;i<input.length();i++){
if (input.charAt(i)==34){
counter=counter+1;
if (counter==2){
endIndex=i;
counter=0;
break;
input=input.substring(beginIndex,endIndex);
return input;
Get the mapping like the followings:
record - removeTABSpace - getField1 - field 1
If you need to get field 2, you will need to write another UDF similar to the above one to handle it. -
Issues with external table from text file ( tab delimiter )
Hello Guru,
--Data in my file, file name : TEST1 ( tab delimiter )
"C1" "C2"
"test column1" "01/27/2012"
"test column1" "01/27/2012"
"test column1" "01/09/2012"
-- Table
CREATE TABLE EXT_TEST
C1 VARCHAR2(50 BYTE),
C2 VARCHAR2(12 BYTE)
ORGANIZATION EXTERNAL
TYPE ORACLE_LOADER DEFAULT DIRECTORY "TEST"
ACCESS PARAMETERS ( RECORDS DELIMITED BY NEWLINE
SKIP 1 FIELDS
TERMINATED BY X'9' missing field VALUES are NULL REJECT ROWS
WITH ALL NULL FIELDS ) LOCATION ( 'TEST1' )
REJECT LIMIT UNLIMITED;
-- my current output
select * from EXT_TEST ;
C1 C2
"test column1" "01/27/2012"
"test column1" "01/27/2012"
"test column1" "01/09/2012"
-- I need output in this way
C1 C2
"test column1" "01/27/2012"
"test column1" "01/27/2012"
"test column1" "01/09/2012"
my version :
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
"CORE 10.2.0.5.0 Production"
TNS for HPUX: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production
Please help me resolve this and learn further steps.
Thank You!Try this:
-- Etc ---
FIELDS TERMINATED BY X'9'
OPTIONALLY ENCLOSED BY '"'
missing field VALUES are NULL REJECT ROWS
-- Etc ---
{code}
:p -
First Row Record is not inserted from CSV file while bulk insert in sql server
Hi Everyone,
I have a csv file that needs to be inserted in sql server. The csv file will be format will be like below.
1,Mr,"x,y",4
2,Mr,"a,b",5
3,Ms,"v,b",6
While Bulk insert it coniders the 2nd column as two values (comma separte) and makes two entries .So i used filelterminator.xml.
Now, the fields are entered into the column correctly. But now the problem is, the first row of the csv file is not reading in sql server. when i removed the terminator, i can get the all records. But i must use the above code terminator. If
am using means, am not getting the first row record.
Please suggests me some solution.
Thanks,
SelvamHi,
I have a csv file (comma(,) delimited) like this which is to be insert to sql server. The format of the file when open in notepad like below:
Id,FirstName,LastName,FullName,Gender
1,xx,yy,"xx,yy",M
2,zz,cc,"zz,cc",F
3,aa,vv,"aa,vv",F
The below is the bulk insert query which is used for insert above records,
EXEC(BULK INSERT EmployeeData FROM '''+@FilePath+'''WITH
(formatfile=''d:\FieldTerminator.xml'',
ROWTERMINATOR=''\n'',
FIRSTROW=2)'
Here, I have used format file for the "Fullname" which has comma(,) within the field. The format file is:
The problem is , it skip the first record (1,xx,yy,"xx,yy",M) when i use the format file. When i remove the format file from the query, it takes all the records but the "fullName" field makes the problem because of comma(,) within the
field. So i must use the format file to handle this. So please suggest me , why the first record skipped always when i use the above format file.
If i give the "FirstRow=1" in bulk insert, it shows the "String or binary data would be truncated.
The statement has been terminated." error. I have checked the datatype length.
Please update me the solution.
Regards,
Selvam. M -
How to upload .csv file with tab as delimiter.
HI,
I want to upload a .csv file with tab as delimiter to unix path in background.
I know there is function module 'GUI_UPLOAD', but in my case data is available in an internal table .
upload the *.CSV :
OPEN DATASET lv_filename
FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc = 0.
* Write file records into file on application server
LOOP AT gt_datatab INTO gs_datatab.
TRANSFER gs_datatab TO lv_filename.
ENDLOOP.
CLOSE DATASET lv_filename.Bhanu,
Define a local variable of type CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
LV_TAB TYPE CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB
LOOP AT GT_DATATAB INTO GS_DATATAB.
CONCATENATE GS_DATATAB-FIELD1
GS_DATATAB-FIELD2
GS_DATATAB-FIELDN
INTO LV_STRING SEPARATED BY LV_TAB.
TRANSFER LV_STRING TO lv_filename.
ENDLOOP.
Thanks,
Vikram.M -
The selected file does not appear to be a valid comma separated values (csv) file or a valid tab delimited file. Choose a different file.
I guess your question is, "what's wrong with the file?"
You're going to have to figure that out yourself, as we cannot see the file.
Importing into Address book requires either a tab-delimited or a comma-delimited file. You can export out of most spreadsheets into a csv file. However, you need to make sure you clean up the file first. If you have a field that has commas in the field, they will create new fields at the comma. So, some lines will have more fields than the others, causing issues like the error you saw. -
Stage tab delimited CSV file and load the data into a different table
Hi,
I pretty new to writing PL/SQL packages.
We are using Application express for our development. We get CSV files which is stored as a BLOB content in a table. I need to write a trigger that would get executed once the user the uploads the file and parse thru the Blob content and upload or stage the data in a different table.
I would like to see if there is any tutorial or article that could explain the above process with the example or sample code to do the same. Any help in this regard will be highly appreciated.Hi,
This is slightly unusual but at the same time easy to solve. You can read through a blob using the dbms_lob package, which is one of the Oracle supplied packages. This is presumably the bit you are missing, as once you know how you read a lob the rest is programming 101.
Alternatively, you could write the lob out to a file on the server using another built in package called utl_file. This file can be parsed using an appropriately defined external table. External tables are the easiest way of reading data from flat files, including csv.
I say unusual because why are you loading a csv file into a blob? A clob is almost understandable but if you can load into a column in a table why not skip this bit and just load the data as it comes in straight into the right table?
All of what I have described is documented functionality, assuming you are on 9i or greater. But you didn't provide a version so I can't provide a link to the documentation ;)
HTH
Chris -
Inserting a tab delimited file
Hi there,
I am inserting data into a database from text files. I can easily do this in sql with csv files but I need to be able to do it with tab delimited files. I know you can do this from the built in Oracle tool (I am using express edition) but I was wandering if anyone know how to write a script for it in sql.
Any help would be greatly appreciated.
ThanksIf you are using SQL Loader to load the data use below syntex
FIELDS TERMINATED BY X'9'
The X'9' is Hexadecimal Format -> X
and Hex 9 is the ASCII code of the TAB character.
Check out the link for more details:
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:533222350291
Regards
Arun -
Opening a tab-delimited file in numbers
Hello,
I have a tab-delimited file with the extension .srt to open in Numbers. I can do this easily in Microsoft Excel by going to the Open menu. It then gives me the option to say how the file is delimited and then it opens it. I can't seem to do this in Numbers... When I get to the Open menu and try to open the file, it is grayed out, so unaccessible... how does one do this in Mac?
ThanksAs was explained here many times, Numbers may open csv files if :
(1) the file name ends with ".csv"
(2) values are separated by commas if the decimal char in use on the machine is the period
values are separated by semi-colons if the decimal char in use on the machine is the comma.
(3) we have no way to change the values separator.
Yvan KOENIG (VALLAURIS, France) samedi 18 juin 2011 20:50:54
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
Please : Search for questions similar to your own before submitting them to the community
To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer ! -
Parse tab delimited file after upload
I could use some advice. I have a requirement to parse and insert an uploaded, tab delimited file using APEX. Directly off of the file system, I would do this with an external table, but here I am uploading the file into a CLOB field. Does PL/SQL have any native functions to parse delimited files?
The user will not have access to the data load part of APEX, although I have seen numerous requests on this forum for that functionality to be added to the user GUI. Thoughts?j,
I wrote this a while ago...
http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html
I've since improved the code a little bit. If you like the solution, I could do a new post with the latest code.
Regards,
Dan
Blog: http://DanielMcGhan.us/
Work: http://SkillBuilders.com/
Maybe you are looking for
-
Serial number problem upgrading from Tryout and 5.1 to 5.5 CS Standard
Hi Long one...! I bought a new iMac and CS5.5 Design Standard. Installed it. Didn't have my education serial at the time so ran as trial. All good. Received serial from Adobe. Put it in and Indesign was OK with it and upgraded to 5.5, but others stay
-
I can't connect my ipad to PC. iTunes doesn't recognise it. In turn I receive an error that this connection can't be established as a returning fault from ipad. why that happens??
-
Remove Title Bar From Form, Visual C# Express
I have been told to set the Border to 0 or "none". I was also told to set the ControlBox to False. This only removed the minimize, maximize and exit icons. There is no Border setting on the Form Properties. Is that in the Ultimate version? Otherwis
-
Error message (0x0000022)
After I uninstalled and reinstalled Adobe Reader, I get a error message on start-up, (0x0000022). When I try to open Reader I get a window asking me to turn of protective mode using some radio buttons. But then the app fails to open.
-
Hello world I have created a TLD and I am trying to form my application Web to use tld, but it gives the following error me: failure ( 2192): Internal error: Unexpected error condition thrown (unknown exception,no description), stack: java.lang.NoSuc