cancel
Showing results for 
Search instead for 
Did you mean: 

PREVIEW doesn't work

Former Member
0 Kudos

Hello experts!

I have to make a report for a client where he can print a PDF.

I start with 'FP_CALL_FUNCTION_NAME' and 'FP_JOB_OPEN'.

I call the PDF wirh the function module and make 'FP_JOB_CLOSE'.

I get the pop-up where I can select my printer and decide if I want to print or see a preview.

But after my selection nothing happens. Where is the error?

With the debuger I found out, that in 'FP_CALL_FUNCTION_NAME' in the function 'FUNCTION_EXISTS' I get sy-subrc= 1 and the program does:

MESSAGE e651(fl) WITH funcname RAISING function_not_exist.

Nevertheless I get the PDF as an output from 'FP_CALL_FUNCTION_NAME'.

I did everything like in the SAP PRESS Book. Where is my mistake?!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Problem solved!

Mistake was in the function 'FP_JOB_OPEN' in the parameter "gs_outputpar type sfpoutputparams".

I don't know why but as I clear all komponents in the code, the PDF-preview worked.