on 06-01-2008 5:06 AM
Hi All
I developed Web Dynpro application and trying to call adobe form and send it to Printer.
For this I am clciking one button in UI.
I have called following FM's to call ADOBE in the above button action.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME',
CALL FUNCTION 'FP_JOB_OPEN', CALL FUNCTION 'ADOBE Generated FM' and CALL FUNCTION 'FP_JOB_CLOSE'.
For the 'FP_JOB_OPEN' FM I am passing the following parameters.
w_parms-device = 'PRINTER'.
w_parms-dest = 'ZPDF'.
w_parms-preview = 'X'.
w_parms-nodialog = ' '.
w_parms-reqnew = 'X'.
w_parms-reqimm = 'X'.
w_parms-copies = 1.
w_parms-connection = 'ADS'.
w_parms-arcmode = '1'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = w_parms.
But I need Printer dialog box where we can select Printer before sending the ADOBE form to the Printer.
Please help me how we can get the Printer dialog box?
Thanks to all
Rama
Put a Flag
Send to Spool and print PDF
Edited by: Prabhakar Dharmala on Jun 5, 2008 10:18 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The print dialog for that function module will only be displayed if you are running with the SAPGUI since it is coded as Classic Dynpro. You would have to code your own printer dialog as a reusable component. It really isn't that difficult. I did the same thing in BSP.
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.