on 06-24-2008 6:16 PM
Hello,
We've upgraded CRM from 3.0->5.0 and I have a program using smartforms that no longer works. Its supposed to produce an email with a .pdf file as an attachment but the resulting pdf file comes out corrupt.
I've traced it back far enough to see that the OTF table is constructed differently now and it is also much smaller than in 3.0.
Does anyone have any ideas or know what exactly is happening here?
Points if useful.
thanks,
Matt
just creat a spool in your program and then pass the spool to the function module CONVERT_OTFSPOOLJOB_2_PDF
now u get a pdf table pass this to GUI_download.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
once check report RSTXPDF4
and see the code in it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
p.s...i'm assuming its not an SAP coding error and it has to do with my control params to CALL FUNCTION fm_name.
After the FM is called the output param "job_output_info-otfdata[]" is a table of length 2020 whereas in CRM 3.0 it has a length of over 19000.
Hope this helps...
Matt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.