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


Please Help Members By Posting Answers For Below Questions

What is the meaning of client independent?

768


visibility section for class level and attributes level

1061


How to get that a secondary index is attached to a select query?

1134


Differentiate database index and match code.

839


What are the types of the programming language used in the sap abap software?

842


How do you set up background jobs in sap?

751


How can you find the field/data underlying a transaction?

822


How do I find the output type of a table or a program?

778


Hi! I want to join SAP ABAP course in Hyderabad, can any one tell me where should I join? and Which is the best institute for SAP WORKSHOP? Thank you...

1216


hi,how to diable the popup window which is displayed afetr executing the SAP script program?

1813


what is difference between user exit, customer exit and badi?

4621


What is the transaction code to display the payroll results ? : abap hr

795


What is sap script? Describe its components.

825


What are the types of subroutines? : abap modularization

785


What are critical issues you have faced in your project

3122