on 05-16-2012 8:20 AM
Hi,
I am creating Webdynpro application based on the Interactive Form and unable to create Interactive Field.
When I select " Enabled" check Box then NO Out put (PDF ) is shown and only gray screeen browser open.
when I Deselec " Enabled" check Box then PDF open but not editable ( NON Interactive Mode).
Please suggest the solution for the same.
Regards
Sacin
Hi All,
Issue is resolved by Installing "ACF" from service.sap.
Thanks a lot for your Propt Reply.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
I already did the same thing, But not able to edit the field.
Please advice,
Rgds
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mohit,
I also faced same issue few weeks back...... I solved with 2 ways....
way 1:-
http://sapignite.com/tutorial-for-interactive-forms-by-adobe-using-webdynpro-for-abap/
see above link and do what is their in link eactly.... U will get output as interactive form.
way 2:-
-> Create interactive element in webdynpro...
->Create attribute pdf_source type xstring. and bind it with pdfsource property of element..
->And dont bind any thing to interactive ui element except pdfsource..
->Create one method in that method write the code like below..
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = 'ZFRM_TRP' "Here mention interface name
IMPORTING
e_funcname = lv_fm_name.
* Set output parameters and open spool job
*lv_fp_outputparams-device = 'PDF1'.
lv_fp_outputparams-nodialog = abap_true.
lv_fp_outputparams-getpdf = abap_true.
lv_fp_outputparams-connection = 'ADS'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = lv_fp_outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
IF sy-subrc <> 0. "#EC NEEDED
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Set form language and country (->form locale)
lv_fp_docparams-FILLABLE = 'X'. " You can make form is interactive.....
lv_fp_docparams-dynamic = abap_true.
lv_fp_docparams-langu = sy-langu.
CALL FUNCTION lv_fm_name
EXPORTING
/1bcdwb/docparams = lv_fp_docparams
emp_graph = lv_graph
it_header_details = ls_header_details
IMPORTING
/1bcdwb/formoutput = lv_gst_pdfop
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
* Close spool job
CALL FUNCTION 'FP_JOB_CLOSE'
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.
if lv_gst_pdfop-pdf is initial.
* wd_this->show_messages(
* im_message = 'Data Not Found ' ).
* return.
endif.
DATA lo_el_context TYPE REF TO if_wd_context_element.
DATA ls_context TYPE wd_this->element_context.
DATA lv_pdf_source TYPE wd_this->element_context-pdf_source.
* get element via lead selection
lo_el_context = wd_context->get_element( ).
* set single attribute
lo_el_context->set_attribute(
name = `PDF_SOURCE`
value = lv_gst_pdfop-pdf ).
...... Finaly u will get form output in pdf_source and just bind it.....
It will work....
If u have any doubts post here.....
Regards,
Venkat.
Mohit,
Create an context attribute with type of XSTRING and make binding with pdfSource of InteractiveForm.
and also Enabled should be enabled. Now you will be able to edit PDF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Experts,
Any suggestions for the same, I am stuck.
Rgds
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please check this link. I am explaining here step-by-step proceedure for the same.
Hi,
Refer the following document for interactive forms in WDA.
http://scn.sap.com/docs/DOC-9092
Hope its useful to u.
Regards
Jana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.