on 01-10-2010 3:47 PM
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, sy-msgno = 101, sy-msgid = fprunx. 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?
Do you try to merge several forms in one PDF?
You must use this sequence without any possible change (doesn't work like SAPscript forms and Smart Forms):
1) FP_FUNCTION_MODULE_NAME to retrieve xxxx function module name
2) FP_JOB_OPEN
3) xxxx
4) FP_JOB_CLOSE
You cannot call xxxx several times between open and close.
Make sure the previous FP_JOB_CLOSE was successful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please check this link
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
PLease Ignore .
Edited by: Keshav.T on Jan 10, 2010 9:39 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.