There is a file in application server. How can you upload it
and separate it as per different fields?
Answer Posted / ranjan
open dataset p_file for input in textmode encoding default.
if sy-subrc = 0.
do.
read dataset p_file into w_rec.
if sy-subrc = 0.
split w_rec at ',' into wa_final-fld1
wa_final-fld2
.
.
.
append wa_final to i_final.
else.
exit.
enddo.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How to set an Enhancement point for a custom report?
What are conversion & interface programs in sap?
what is abstract classes
What are the two ways for restricting the value range for a domain? : abap data dictionary
please any one can tell me How to validate the data in Table maintinance generator?how can u validate the table field values if u r entering the data into fields .it shows record is wrong?wher we can done validation in table maitenance generator before getting the data as out ?
What are the three components of a work process?
Explain the different types of view?
How can you display frames (horizontal and vertical lines) in lists?
Can I execute user exits? If yes, how?
What is a report?
Badi concepts
What is foreign key relationship? : abap hr
Which type of tables used this buffer?
What are different data types in abap/4?
Mention the various databases integrities?