2008 Jul 23 10:18 AM
Hi experts,
i am trying to upload a catalogue from an excel-file. I am using the FM: TEXT_CONVERT_XLS_TO_SAP.
I get my data into my internal table, but unfortunately the longtext can not be uploaded completly, because although my itab contains a string-field, i can not upload more than 255 characters per field.
Can anybody of you please advise what i need to do to get all characters into my itab?
Thanks in advance!
Points will be awarded for every helpfull answer!
Felix
2008 Jul 23 10:21 AM
HI
Replace the STRING TYPE by TEXT500 or TEXT600 as per requirement.
Aditya
Hi experts,
i am trying to upload a catalogue from an excel-file. I am using the FM: TEXT_CONVERT_XLS_TO_SAP.
I get my data into my internal table, but unfortunately the longtext can not be uploaded completly, because although my itab contains a string-field, i can not upload more than 255 characters per field.
Can anybody of you please advise what i need to do to get all characters into my itab?
Thanks in advance!
Points will be awarded for every helpfull answer!
Felix
2008 Jul 23 10:21 AM
HI
Replace the STRING TYPE by TEXT500 or TEXT600 as per requirement.
Aditya
2008 Jul 23 10:27 AM
Hi Aditya,
sorry, but i am still getting only 255 characters into may text512 field.
Do you have a better idea?
2008 Jul 23 3:34 PM
Hello, I have debugg the funcion and I have seen that in sentence: CALL METHOD l_iref_spreadsheet->get_ranges_data the function get value of excel in the table l_table_range. This table is declarated of type SOI_GENERIC_TABLE that has a field "Value" where get the content of excel. The problem is that the field value of l_table_range is type char(256).
The solution may be that you copy the function to Z and modify this fields for more length.
Hope help you.
2008 Jul 23 3:46 PM
2008 Jul 23 10:21 AM
HI
Replace the STRING TYPE by TEXT500 or TEXT600 as per requirement.
Aditya
2008 Jul 23 10:21 AM
2008 Jul 23 4:10 PM
Aparna is right, use GUI_UPLOAD.
I use it to upload my functional locations.
they have a long text descpription on them.
I created a table of type string & use it in the
GUI_UPLOAD CALL then parse based on
the delimiter from Excel...
You might be able to use a regular itab
with a string type field in that field's position. though.
Doug -
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |