on 11-20-2015 2:19 PM
Hello everybody,
I try to exceute a script when a user wants to print a document.
In RZ10 I added the following parameter:
rspo/host_spool/print /usr/local/bin/do_sap_print.sh &P &C &F &J &m &o &L &T
In SPAD I added a printer .
When I print a test the script exceuted successfully with "return code 0" ( + exit 0) .
But the SAP spool protocol printed "(l_rc = 1)" .
Does anybody has some hints or tricks to execute the script an retrun the code 0 to the SAP System ?
Best regards
A. Moore
Hello,
I solved the problem.
The script repoted some infomation text to stdout and than the SAP spooler reacts with RC1 and a red message. Without any information to stdout, the script and the SAP spooler works fine.
best regards
Alex Moore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Alexander,
I guess you see the l_rc = 1 in the spool log.
Does the spool log show any other information? E.g. what exactly the host reported as the problem?
Also: where exactly was the "return code 0" logged?
Best regards,
Laszlo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.