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 dynapro keywords?

822


please give the remaining answers.

1916


what are the 2 other types of views, which are not allowed in release 3.0? : abap data dictionary

753


What is difference between check table and value table ?

773


What is the functionality of BIZTALK and how it handles the IDOC’s and how u will transfer the IDOCS to the BIZTALK ?

2404






What work you have done in HR module

1046


What are local objects?

750


What are the two methods for modifying sap standard tables?

938


What is meant by performance analysis? Have done anything to improve the performance?

698


Search help exit details.

1051


wat are the process that can be executed & tracked in a workflow?

1815


What are the internal tables and work area?

689


A subroutine can contain nested form and endform blocks. State true or false. : abap modularization

973


What is the significance of delivery class? : abap data dictionary

708


What is the difference between the function module and a normal abap/4 subroutine? : abap modularization

839