2008 Jun 20 9:36 AM
hi all
i got a flat file with some fields separated by space and some fields by comma .
how to handle the situation.
thnaks in advance
prasanna kumar
hi all
i got a flat file with some fields separated by space and some fields by comma .
how to handle the situation.
thnaks in advance
prasanna kumar
2008 Jun 20 9:38 AM
2008 Jun 20 9:42 AM
first declare on itab: itab1
like filed(250).
declare another itab : itab2 (declare here what are field in falt file)
after that using split command and pass the filed value to correspoing
field of tab2.
afther using bdcdata, upload the db
2008 Jun 20 9:41 AM
while downloading use field separator,
thn you will get same for all.
2008 Jun 20 9:42 AM
hi,
use the FM WS_UPLOAD.
your data will be saved on an internal table with only one field.
the field will then contain a line from your flat file. from there, use SPLIT to separate the values of the field.
regards,
Peter
2008 Jun 20 1:01 PM
Hi
When you are downloading data from the flat file, use the field seprator.
it will resolve your problem.
Rewards Points if useful.
Thanks & Regards
Nikunj Shah
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |