on 05-17-2010 9:12 PM
Hi All,
Can anyone help me here.
I am trying to use function modules FP_JOB_OPEN, FP_JOB_CLOSE,FP_FUNCTION_MODULE_NAME and call generated function modules in one function module with in the loop and then reading the hex string of pdf. I am looping so that I can read the string for multiple form.
But hex string of pdf that i recieve is a single string for single form. This string contains details of the last record in the loop. I have also done the config setting for bundling record print in FPCONNECT. Should i do any other setting or set any of the parameter so that the function module using all these function module gets the pdf hex string for all the records in the loop..
Thanks
Santoshi
Hi Santoshi,
I have a requrement to print multiple form . I want to append a smart form with another one. Two forms name will be different. And my program will run in foreground.
Can U please help me with elaborative description...
Thanks in Advance
Regards
Ajoy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Santhoshi,
If you got your issue resolved. Why cant you share the solution. Whether otto suggestion helped or mine helped. So share the information which can guide the other consultants.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I hope you don´t want to call the form printing for multiple forms in one batch (loop inside open job and close job). I am not sure, but think you should open and close each job inside the loop or you will not get all the sources.
regards Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Santhosi,
I think you need to move the data from export parameter of your calling FM(fm_name) to a internal table. Then loop that table and convert it to your format. Hoping this solves your problem.
Ex:
loop at itab_final.
call fm_name
importing
..............
exporting
output = l_output.
append l_output to it_output.
clear l_output.
endloop.
That will give the pdfs as many records in itab_final.
loop at it_output.
do your converting.
...
endloop.
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 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.