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 / 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 a projection view? : abap data dictionary

1123


How can the standard tables of sap be modified?

1182


What are client dependant objects in abap/sap?

1228


Explain what is runtime analysis?

1097


Is the basic list deleted when the new list is created?

1170


How to determine the attributes of an internal table?

1225


What are the different methods of passing data? : abap modularization

1123


What is payroll driver

2160


What are indexes? : abap hr

1219


Which objects are independent transport objects? : abap data dictionary

1062


Type casting and error handling

1490


Explain the Inportance of pa40? : abap hr

1108


How to load data from ms excel sheet to sap by using bdc method ? : abap bdc

1332


What is the bitwise operator in the sap abap?

1113


What is the length of function code at user-command?

1367