on 06-17-2011 9:26 AM
Hi All,
This is my first thread, I have developed a PDF form using SFP and i am calling that form in my ABAP code till today morning it is working fine it is displaying data in pdf i can download suddenly in the evening it is not populating any data in my PDF but still i can download.
Test1 : FP_PDF_TEST_00
Version Information: 802.20080813094752.488190
Thanks
kumar
Hi All,
Please let me know if any one have the solution.
form create_pdf .
*genarate Functionmodule for I-form
call function 'FP_FUNCTION_MODULE_NAME'
exporting
i_name = 'ZPPM_002_PROCPDF'
importing
e_funcname = fm_name.
*fill output parameters
fp_outputparams-getpdf = 'X'.
*Form Processing: Call Form
call function 'FP_JOB_OPEN'
changing
ie_outputparams = fp_outputparams
exceptions
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
others = 5.
*fill output parameters to display pdf documet
fp_docparams-langu = 'X'.
fp_docparams-country = 'US'.
fp_docparams-fillable = 'X'.
* if gt_out[] is not initial.
*send data to interactive form
call function fm_name
exporting
/1bcdwb/docparams = fp_docparams "
ls_header = ls_waste
lt_item = gt_rkpf
aufnr = lv_aufnr
importing
/1bcdwb/formoutput = fp_formoutput
exceptions
usage_error = 1
system_error = 2
internal_error = 3
others = 4.
* endif.
here i am getting sy-subrc = 2 i.e system_error.
Same code i am using in other program but i am not facing any problem but this code some times working and some times not working.
Please any one have the solution.
Thanks,
Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.