Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Loading flat file

Hi please help.

I am trying to load flat files into Qlikview but i have hit a wall.

I have text files with fixed length with A as File Transmission Header, BC as Header 1 Record Line and ND as Detail Line.

A describes the invoice header like Header indicator, message type, System record, number of records...,

BC describes header record details like account number, invoice number, invoice date, warehouse...

and ND describes the invoice details like line number, list price, product code...

Problem is i need to link the A to BC to ND.

A typical file looks like this

A472D20100107030009000004000077 03.00
BC000000000472017OKVSTE 00000047201620100106T01
ND003RB32536 0000005000000406790000000000000000000000000000 000 00000000000000 000 00000000000000 000 00000000000000 000 000000000000000004067900002033990000028476
BC000000000472023BUCCSP 00000047203520100106T01

ND005RB32536 0000001000000406800000000000000000000000000000 000 00000000000000 000 00000000000000 000 00000000000000 000 000000000000000004068000000406800000005695

Thanks

1 Reply
Not applicable
Author

Hi,

look for "subfield" and other string functions.

Good luck!

Rainer