2007 Apr 25 8:07 AM
Hi,
I am trying to write the Idoc to a file on the Presentation server.
i am getting a message as below
The IDoc was written to file '
DocumentsandSettings\ahmedmsy\Desktop\O_235_0000000000310078'.
However no file exist at that location.
ths status of the idoc is 3. and it says "Data passed to port OK".
When i give the file path of application server for e.g. /tmp/
then the idoc is creating a file in the location and it exists there as well.
I am giving the filepath in WE21 and my port is a file port and the outbound file is a physical directory.
Can anyone help me in generating a file on the presentation server.
Thanks
2007 Apr 25 8:19 AM
The file will not written to the presentation server, but to the application server (Unix or so), and particular in directory
DocumentsandSettings\ahmedmsy\Desktop\ or something like that.
regards,
Hans
Please reward all helpful answers !!!!!
2007 Apr 25 8:19 AM
The file will not written to the presentation server, but to the application server (Unix or so), and particular in directory
DocumentsandSettings\ahmedmsy\Desktop\ or something like that.
regards,
Hans
Please reward all helpful answers !!!!!
2007 Apr 25 8:38 AM
Hi Hans
Thanks for taking the time to reply to my query.
In we21 in file port
In outbound file Tab if we press F1 then it says input the filename in this format
" Under the UNIX operating system : /usr/sap/T70/SYS/global/idoc/
Under the Windows operating system:
sapdevdb\sapmnt\T70\SYS\global\idoc\
Do not forget the last slash, as the file name is simply appended as a directory! In the example T70 is the name of the R/3 system.
"
So does it mean that we cannot write to presentation server at all.
2007 Apr 25 8:51 AM
ok, you're right, but sometimes idocs are written in background mode, so there is no link to the presentation server.
Maybe it's better to always write it to the application server, and look at the file by using transaction AL11.
If you need the file on the presentation server, you can write kind of a ftp program by using GUI_DOWNLOAD.
regards,
Hans
Please reward all helpful answers !!!!!
2007 Apr 28 9:45 AM
Dear Hans
Is there any means of attaching the download program to the Idoc procesing so that every time an idoc is generated the Download program also get executed and the file is saved at a particular location specified.
Your kind reply is much appreciated.
Thanks