on 08-10-2011 9:53 AM
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?!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.