2007 Mar 21 9:25 AM
hi friends,
can u please help me how the .xls file can be transfer from presentation to application server, and if the file is in application server how to transfer it to presentation server...........
advance thanks to all.........
regards,
ranjith.
2007 Mar 21 9:29 AM
hi friends,
can u please help me how the .xls file can be transfer from presentation to application server, and if the file is in application server how to transfer it to presentation server...........
advance thanks to all.........
regards,
ranjith.
2007 Mar 21 9:29 AM
2007 Mar 21 9:29 AM
Hi,
Both the above required functions can be achieved using OPEN DATASET and CLOSE DATASET.
Try this and it will help u.
Regards,
Himanshu
2007 Mar 21 9:35 AM
To move a file from presentation layer to application layer,
call function Gui_upload and load save that file contents into an internal table.
Now write that Table table into application layer using
OPEN DATASET <FILENAME> FOR INPUT.
loop at internal table into <work area>
TRANSFER <workarea> TO Filename.
endloop.
The above creates a file in Application Layer.
To read a file from application
OPEN DATASET <FILENAME> FOR INPUT.
read dataset <filename > into <workarea>.
close dataset,
now u will have a internal table with the contents of file in application layer.
Use GUI_download to write file to presentation layer.
Regards
2007 Mar 21 2:34 PM
Hi Ranjith,
there are two function modules you can use....
C13Z_FRONT_END_TO_APPL to go from presentation to application server
C13Z_APPL_TO_FRONT_END to go from app server to front end
Mick Kelly
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |