There is a file in application server. How can you upload it
and separate it as per different fields?
Answer Posted / pavani
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.
enddo.
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
What is the difference between bdc_open_group and bdc_open_dataset. : abap bdc
How are the date abd time field values stored in sap?
What are the organizational related infotypes? : abap hr
Hi my dear friends,Please give the answers for the following link http://www.saptechnical.com/InterviewQ/interviewQ.htm
stock transfer from one plant to another plant ? i want the total description.
Can we define our own match code id's for sap matchcodes ?
What are logical databases? : abap hr
What are aggregated objects : abap data dictionary
What is view? Different types of view.
What are the types of windows in sap script?
What is difference between dependent and independent data?
What are the different buffering methods?
how to use the xk01 in realtime.can it apply the others. how it it will goes to first page and next page.
What is a view? : abap data dictionary
what is difference between user exit, customer exit and badi?