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
Can a filed occur in several field groups?
Difference between top-of-page and top-of-page during at line- selection?
WHY CLUSTER TABLE CALLED AS CLUSTER TABLE.
I am uploading 100 records out of which say 59th record has error so what will happen if I am using synchronous or asynchronous method of bdc? Can we update the database using local update mode how? : abap bdc
Explain the difference between domain and data element?
What is the full form of spro? : sap abap hr
Hi guy.. i have to face an interview in a couple of day.. so can you please give me some good and tough question on abap.
What is your approach for writing a bdc program? : abap bdc
How many main windows are allowed in sapscript?
How to specify a client for database table processing?
What are ranges?
What is the collect statement?
visibility section for class level and attributes level
Why grouping of fields is required? What is the max no of modification groups for each field?
What is a subscreen? How can we use a subscreen?