cancel
Showing results for 
Search instead for 
Did you mean: 

Print issue in Web Dynpro

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member184112
Active Contributor
0 Kudos

Put a Flag

Send to Spool and print PDF

Edited by: Prabhakar Dharmala on Jun 5, 2008 10:18 AM

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

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.