2006 Jun 26 11:08 AM
HI All,
How can we access a text file that is created by downloading data from an internal table in 4.7 through ECC5.0 ( without using middleware like XI or etc )
How can we access an internal table of a z program in 4.7 from ECC 5.0
Basically my requirement is based on accessing data from 4.7 to ECC 5.0
Plz share ur ideas on this.
rgds,
anil.
HI All,
How can we access a text file that is created by downloading data from an internal table in 4.7 through ECC5.0 ( without using middleware like XI or etc )
How can we access an internal table of a z program in 4.7 from ECC 5.0
Basically my requirement is based on accessing data from 4.7 to ECC 5.0
Plz share ur ideas on this.
rgds,
anil.
2006 Jun 26 11:10 AM
1) Ifthe file is on a local machine, then you can uise the function module
GUI_UPLOAD
2) If your file is on application server,
you need to use
open dataset for input
read dataset
close dataset commands in abap.
Regards,
ravi
2006 Jun 26 11:28 AM
HI Ravi,
thanks for ur reply.
1) Ifthe file is on a local machine, then you can uise the function module GUI_UPLOAD
how we can access the file on 4.7 server from ecc5.0 with fn module gui_upload. both are different machines...right?
u mean to say that in the text file path has to be given like //ipaddress/filename.txt
u mean the same??
2006 Jun 26 11:38 AM
Hi Sathish,
if you dont mind me answering
GUI_UPLoad is only used when the file is in the same pc from where it is called .
If it is on a different server or on the application server then please use like this
Here the filename should be where your file is on the server
OPEN DATASET (filename) IN TEXT MODE
READ DATASET (filename) INTO wa.
IF sy-subrc ne 0.
exit.
endif.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |