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 a structure and a table? : abap data dictionary
What are the check tables and value tables?
Explain what is an rfc?
What is a data element?
Print options in smartforms?
What is sap abap data dictionary?
Difference between sy-tabix and sy-index? Can you check sy-subrc after perform?
What are the dynapro keywords?
What is the use of abap data dictionary? : abap data dictionary
What function does data dictionary perform?
Can you create an internal table dynamically?(at run time)
What are the data types of the abap/4 layer? : abap data dictionary
What is the max no of match code id's that can be defined for one match code object? : abap data dictionary
1 . how do u design technical documentation in abap ? 2 . what u currently devloped in sap abap ?
What will exactly the hide statement do?