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 are BAPI different from Normal function modules ?
Where are you used type casting?
What is the difference between the exits created in M.M and S&D?
How do you use tab sets in layout sets?
What is the master data necessary before you can start posting in MM?
What are the uses of secondary indexes?
How to read 5th record from Hash Internal Table?
What are the different types of the variable in the sap abap?
What are advantages and disadvantages of logical data base
SM35 transaction, How to automate BDC ?
Define spool request?
What is the client concept in sap?
What is a view in sap? : abap data dictionary
Where the payroll results are stored
any one can tell me which is the tables can store in ddic plese dont say db02l,please give me different ways of resideing the tables ?