2014 Oct 23 4:15 PM
Hi everybody,
I am uploading a csv. For this I defined a structure in the dictionary.
As I also need a DB-Table for the insert I created a table with
The problem is know, that the only key-field is teh field MANDT
I tried to set some other key-fields
The other fields are in the include-structure. But it is not possible to set key fields in a structure.
How can I solve this ?
Thanks
Regards
Mario
2014 Oct 23 4:18 PM
Solved; I have to create tweo structures
Hi everybody,
I am uploading a csv. For this I defined a structure in the dictionary.
As I also need a DB-Table for the insert I created a table with
The problem is know, that the only key-field is teh field MANDT
I tried to set some other key-fields
The other fields are in the include-structure. But it is not possible to set key fields in a structure.
How can I solve this ?
Thanks
Regards
Mario
2014 Oct 23 4:18 PM
Solved; I have to create tweo structures
2014 Oct 23 5:44 PM
Hi,
You work to hard .
See here http://wiki.scn.sap.com/wiki/display/Snippets/upload+csv+files+into+internal+table
As you can see the upload is into buffer (ITAB) and then looping and splitting.
Regards .
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |