Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

upload data FROM TEXT FILE TO particular T.Code using RFC

Former Member
0 Likes
340

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

1 REPLY 1
Read only

Sm1tje
Active Contributor
0 Likes
277

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.