on 10-10-2008 11:07 AM
HI Experts,
Here i have the requirement that i have to send the details to printer depending on the IP, which i will get from Thirdparty(JAVA)
So iam using the field PALPDHOST(IP Address) of Table TSP03D and iam taking the value of PADEST(from the same table) and assinging the value to the parameter
w_compop-TDDEST.
But iam not getting proper results.
I requet all to help me that what is te difference between
Control parameter DEVICE(ctrl_param-device) and
Output options TDDEST( w_compop-TDDEST).
And what exact values i have to assign to them.
Thanks in advance,
Ravi.
Hi Ravi,
You have to pass the below details to output_options.
output_options-tddest = printer (Eg: LOCL).
Then select the corresponding name from SH_PRIN table. Pass the printer name.
SELECT SINGLE lname
FROM sh_prin
INTO aux_printer
WHERE kname = passed_data-printer.
IF sy-subrc = 0.
options-tdprinter = aux_printer (Eg: Local).
ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.