on ‎2010 Jan 26 10:14 PM
Hi,
I followed this fantastic e-learning session on [Send, Receive, and Process Interactive Forms via Email in SAP Application Server - ABAP (Session 4A)|http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/5087262b-59ef-2910-abb1-957000b7c3d4].
I created a form and successfully sent it to my non-sap mail box. I opened the pdf attachment in acrobat reader and found input fields and a sendmail button as designed. But I could not use the input fields and the send button does not work.
Do I need additional software or maybe anything is wrong with my form?
Regards,
Clemens
Request clarification before answering.
Try passing the Country. Like:
fp_docparams-country = p_countr.
Regards,
Naimesh Patel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
use this tutorial: (data there and back): http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c2567f2b-0b01-0010-b7b5-977cbf806...
Especially this part:
fp_docparams-FILLABLE = 'X'.
Now call the generated function module
call function fm_name
exporting
/1bcdwb/docparams = fp_docparams
Z_VNDBNK = wa_vndbnk
====> check for yourself on the page 7
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,
I think the problems doesn't comes from ADS credential because without it you won't be able to generate the forms.
I think that the problems comes from the code you wrote for generating the form, are you sure you set the form as "interactive" when you generate it ? Attribute FILLABLE must be set to 'X' in parameters SFPDOCPARAMS
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bonjour Bertrand,
my relevant code is
ls_sfpoutputparams-getpdf = 'X'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = ls_sfpoutputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
IF sy-subrc <> 0.
ASSERT 1 = 2.
ENDIF.
* create pdf
DATA:
fp_docparams TYPE sfpdocparams,
fp_result TYPE fpformoutput,
lv_pdf TYPE xstring.
fp_docparams-fillable = abap_true.
fp_docparams-langu = sy-langu.
CALL FUNCTION lv_funcname
EXPORTING
/1bcdbw/docparams = fp_docparams
co_head = ls_co_head
IMPORTING
/1bcdwb/formoutput = fp_result
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
ASSERT 1 = 2.
ENDIF.
lv_pdf = fp_result-pdf.
* Close spool job.
CALL FUNCTION 'FP_JOB_CLOSE'
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
ASSERT 1 = 2.
ENDIF.I could not find anything to control if my form is generated "interactive", I just create in SFP and actiavte it.
I do not understand fully, what 'FP_JOB_OPEN' and 'FP_JOB_CLOSE' is good for - without 'FP_JOB_CLOSE' it runs as well.
Regards,
Clemens
Hi Clemens,
Your code seemd to be correct , have you check that in your layout you define your field as not read-only field ?
Which version of adobe reader do you use ?
If you don't use 'FP_JOB_CLOSED' you can get trouble if for example you want to print several forms because SAP will give you an error message telling that job is already open ....
Regards
Hi,
I tried to add the country. no change.
When I use the adobe preview in SFP transaction, I can fill the form as planned.
Because I used a customer-specific structure filled with customer data, I can not send the form; actually I do't think this would help. In the form properties I can see that form filling is allowed, so may be the error is in the creation or sending of the pdf.
Any idea on how to proceed?
Regards,
Clemens
Hi,
have you installed Adobe Credentials? Without it you can't generate interactive form. The installation is described in ADS configuration guide. There is also a nice note Note 944221 about Adobe forms troubleshooting.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.