cancel
Showing results for 
Search instead for 
Did you mean: 

Error 101 using fp_job_open, fp_job_close in a function module

Former Member
0 Kudos

I have earlier made a program generating a pdf used for printing. Used fp_job_open -> Call function xxx -> fp_job_close. This program works fine.

Now I want to make a function module to generate this pdf for higher reusability, but when I call my generated FM its return sy-subrc = 1 and sy-msgno = 101. As far as I have investigate this error means "Job already open".

I tried to comment out the call to the fp_job_open and fp_job_close, but then I have no possibility to mark the ls_outputparams-getpdf = 'X' and ls_outputparams-nodialog = 'X'.

Any ideas anyone?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

The question is followed up in this thread:

Former Member
0 Kudos

I am not sure if this is the right forum for this question. Maybe: ABAP Developmnet -> Form printing [; is more proper?