on 10-07-2008 10:01 PM
Hello all. I was wondering if there are any examples/samples to IMPORT an .CSV / .XLS file into SAP B1.
There are about 2500 + lines in this excel file and I am looking to import the data into a Sales Order Form, but I don't know where to begin.
This Excel file cannot change it's format, so that is why I cannot use the DTW (Data Transfer Workbench).
Any help would be much appreciated. Thanks in advance!
Hi,
the easiest way is to use a .csv instead of .xls.
because the .csv you can open like a normal textfile in your addon.
go through the .csv line by line
you have to split the each line in it's "fields" - the separator is usually ;
add the data to a document object.
the logik itself shouldn't be that difficult
it's just some "writing work"
lg David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any sample code I can analyze please?
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,
First try to copy all the data from csv to any one temporary table. And after that you can refer that table for replecating onto B1 tables.
It should work.
regards:
SANDY
Edited by: | Sandeep Saini | Roorkee | India on Oct 8, 2008 2:04 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
10 | |
9 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.