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


Please Help Members By Posting Answers For Below Questions

What are the basic objects of the data dictionary? : abap data dictionary

718


What is an rfc?

690


The max number of calling modes stacked at one time is?

703


What is foreign key relationship? : abap hr

695


What are the personnel administration related Infotypes

2154






Where do you find info on new developments in SAP?

1654


What is a variable in the sap abap?

635


can anyone please tell me, in orient paper mill project which fields exits for creating report.

1380


How do you find the information on the current screen?

689


What is hotspot?

1026


What are the functional modules used in sequence in bdc? : abap bdc

673


Some Realtime Objects on Bdc.

2517


What is a subroutine?

682


How memory management happens for internal tables and work areas in abap?

898


What are the different software packets available in the market? : sap abap hr

692