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
What is the disadvantage of a call by reference? : abap modularization
Can a constructor be declared private? If yes then in which scenario?
What are the aggregate objects in data dictionary? : sap abap data dictionary
How many ways can a sap system be accessed?
What are the client dependant objects in abap / sap?
Can you assign a matchcode object to a parameter? If so how?
A subroutine can be terminated unconditionally using exit. State true or false : abap modularization
Can we use on change of between select and endselect?
What is the function of a domain? : abap data dictionary
Explain what are the events used for logical database?
Explain what is the difference between primary key and unique key?
What are internal tables? How do you get the number of lines in an internal table? How to use a specific number occurs statement?
Explain what are the problems in processing batch input sessions?
what is call back in alv?
pls if any one have idea ,reply as soon as possible 1.Allied solution group inc. is a genuine company or not ? 2.what is update module. 3.Transaction: scc3 what it is?