Hi experts,
I have to write a file to a unix server destination which is a file path.
I can view the file when i connect through telnet. But when i try to write to that file path from SAP. I am not able to do it.
i used open dataset <filepath> for output. and the sy-subrc return was 8
how to write a file to the unix server from sap. ?
Please help.
Regards
Kothai
1st try fm AUTHORITY_CHECK_DATASET
A.
Hi,
To write the file to unix (app server) we need to use dataset only
This is the syntax.
open dataset 'test1.dat' for output in text mode encoding default.
Returncode:8 means file could not be opened, so please make sure you've given total path correctly (Make sure you have given forward slash in between folders) , if you still get this error it could be authorization issue.
Pavan
Message was edited by:
Pavan Kothapalli
Add a comment