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 did you transfer legacy data in the mid of the financial year (us) to the sap system? : sap abap hr
Where do you use help views?
If a table that is to be extended contains a long field, we cannot use append structures why? : abap data dictionary
What is the meaning of client independent?
What does the insert statement in extract datasets do? : abap modularization
What is an update task? : abap modularization
What is the sap abap?
What is a size category? : abap data dictionary
What will you code in start-of-selection & end-of-selecton & why?
Explain how data is stored in cluster table?
Some Realtime Examples on Exits .
What is a data dictionary? : abap data dictionary
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 the max. No. Of structures that can be included in a table or structure? : abap data dictionary
What is abap dictionary or data dictionary? What is the transaction to access abap dictionary? : abap data dictionary