2013 Jan 21 4:00 AM
Hi,
I need to call the Adobe form Function Module inside a loop. So I want to concatenate all PDF outputs in a Single PDF file. Here is my Function call code
call function iv_fm_name
exporting
/1bcdwb/docparams = is_docparams
bil_prt_com = is_interface
importing
/1bcdwb/formoutput = es_formoutput
exceptions
usage_error = 1
system_error = 2
internal_error = 3
others = 4.
Any suggestions Please to get this done in my ABAP print Progam.
THanks
Swarna....
2013 Jan 21 9:20 AM
This should work and there should be no problem in combining multiple pdf's into one. Hope this helps. Let me know if any additional info is required.
Thanks,
Tooshar Bendale
This should work and there should be no problem in combining multiple pdf's into one. Hope this helps. Let me know if any additional info is required.
Thanks,
Tooshar Bendale
2013 Jan 21 4:10 AM
Hi Ram,
You have to loop at the internal table which is having all the records(lt_interface).
loop at lt_interface into is_interface.
call function iv_fm_name
exporting
/1bcdwb/docparams = is_docparams
bil_prt_com = is_interface
importing
/1bcdwb/formoutput = es_formoutput
exceptions
usage_error = 1
system_error = 2
internal_error = 3
others = 4.
endloop.
Regards,
Mahidhar.
2013 Jan 21 6:06 AM
Hi
Thanks for the reply.. I have no problem with the looping.
I was asking for the merging of ADobe form output PDF files.
I read in SDN that it is not possible...
So wanted to know if any other way to do this.
Thanks
swara
2013 Jan 21 7:56 AM
It is not possible with Adobe forms( AFAIK ), you can do it with sap script or smart forms by collecting otf data and then converting it into PDF in one shot.
2013 Jan 21 8:02 AM
Hi Kesav,
I have a doubt here. Cant we convert the Adobe form to OTF to convert into PDFs and then use again Merge and then after megre we can convert into PDF in one shot. Is that not possible
What say?
2013 Jan 21 8:39 AM
Hi Venkat,
We tried this some time back, but this technique does not work with adobe forms.
2013 Jan 21 9:20 AM
This should work and there should be no problem in combining multiple pdf's into one. Hope this helps. Let me know if any additional info is required.
Thanks,
Tooshar Bendale
2013 Jan 22 6:48 PM
Thanks Friends for the valuable Suggestions..
I was having problem with printing the Deep structured table data. Now I am able to resolve it.
Now my Issue is to print the Country name which is dynamic one in the table in the Footer section of the Master page.
I am not able to get that data as it belongs to master page.
Any suggestions Please to resolve this ?
Thanks
Swarna
2013 Jan 24 5:38 AM
Hi Swarna,
You can use java script for this. Select the text element on layout through which you want to print country and add the java script to this.
lets say your country field in master page is lv_country and you text element in body page is lb_country.
Dont bind country text element with any variable in Object tab as we are doing this using java script.
this.rawValue = navigationpath.lv_country.rawValue.
Here navigation path is the path from top node to your master page country variable in heirarchy structure.
If you have any prob please share.
Regards,
Mahidhar.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |