2013 Sep 19 12:52 PM
Hello All,
can you let me know to how to create a PDF stream similar to the PDF stream generated in smart forms using FM CONVERT_OTF.
Thanks,
Sundeep
Hello All,
can you let me know to how to create a PDF stream similar to the PDF stream generated in smart forms using FM CONVERT_OTF.
Thanks,
Sundeep
2013 Sep 20 7:46 AM
Hi Sundeep,
Very simple, just look at this thread: Adobe forms:Unable to get the generated pdf in ... | SCN
Regards,
Custodio
2013 Sep 20 7:53 AM
Hi Sundeep,
While calling the function module of the adobe form, you can the PDF stream using the import parameter as below (here within the structure ls_fpformoutput you will get the PDF stream as required by you):
data: ls_fpformoutput type fpformoutput.
* Call function module
CALL FUNCTION 'ADOBE_FM_NAME'
EXPORTING
/1bcdwb/docparams = 'XXXXX'
gs_header = 'XXXXX'
IMPORTING
/1bcdwb/formoutput = ls_fpformoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Thanks,
Arnab
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |