‎2008 May 15 1:02 PM
HI,
This is ram,i like to know how to upload data FROM TEXT FILE TO particular T.Code using RFC.....EXPLAIN WITH EXAMPLE.
THANKING YOU,
RAM
‎2008 May 15 1:44 PM
Your question kind of puzzles me I'm afraid.
1. Why would you want to use RFC to do this?
2. Were is your upload file coming from, local directory, SAP application server, or...?
There are a lot of examples around on SDN for uploading a file from local directory using method
CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD or from application server using OPEN DATASET.
(for the latter you can also do F1 help for syntax).
To a particular T-code. You are probably referring to a transaction (user input, dialog transaction) like create a business partner or create a user in SAP, correct?
For this you can go for BDC or BAPI's for example. Also for this a lot of code examples around on SDN.
If there is anything else you like to know, please ltell us.