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
How collect statement is different from append?
What is a multiple line field?
How to load data from ms excel sheet to sap by using bdc method ? : abap bdc
What is the use of 'table index'?
Does sap handle multiple currencies?
What is difference between float and packed data type?
What are the steps in creating screen ?
visibility section for class level and attributes level
can anyone do BDC or BAPI for F-02 and F-04 transactions.If it LSMW also.Kindly let me know.
Explain the advantages of abap query tool?
What is the length of function code at user-command?
Is it possible to run host command from SAP environment? How do you run?
Suppose the client wants me the vacancy to be displayed on a website as well as ess. How should I do it? : sap abap hr
Explain the advantages and disadvantages of different types of bdc's?
Proxy Programming with ABAP - How to develop the Proxy identification through programming