Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Can a filed occur in several field groups?

1090


Difference between top-of-page and top-of-page during at line- selection?

2392


WHY CLUSTER TABLE CALLED AS CLUSTER TABLE.

2334


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

3520


Explain the difference between domain and data element?

1069


What is the full form of spro? : sap abap hr

1385


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.

2123


What is your approach for writing a bdc program? : abap bdc

1082


How many main windows are allowed in sapscript?

1071


How to specify a client for database table processing?

1210


What are ranges?

1091


What is the collect statement?

1188


visibility section for class level and attributes level

1491


Why grouping of fields is required? What is the max no of modification groups for each field?

1074


What is a subscreen? How can we use a subscreen?

1138