on 06-12-2009 4:54 PM
Hi Everyone,
I have an existing adobe form created thro transaction SFP and its working well.
I need to launch the form with a Webdynpro application now. I was able to embed the adobe form into the Webdynpro View. The View's context is supposed to pick up the context of the adobe form automatically.
However I am getting the following error - Either your Interactive form UI element is not bound to a context or a corresponding context does not exist.
I am not sure how to proceed coz the I executed the Adobe from in SFP and its working perfectly and obviously its bound to a context/ interface.
Any Ideas?
thanks for your suggestions in advance !
Liz
Solved.
The code in the method - modifyview made the form interactive .
-If you are using an existing interface, make sure that you populate the fields from the view (& not interface).
-Secondly declare the parameters in the import/export tab of the interface.
thanks all!! Best, Liz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use the existing Adobe Form that is created in SFP Tcode. If you are linking this existing Form to the WebDynpro then you will have only WebDynpro Print Form i.e. it cannot be made as interactive, if you check the Enabled property also this cannot be interactive. Its better you execute the Adobe Form you created in SFP Tcode and save to desktop and then create a new webdynpro application and specify the new template source and when the designer is opened for editing there you upload the downloaded Adobe Form.This way you can have a work around.
Regards
Pradeep Goli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Again my existing Interface's context is not getting mapped into the View's context.
I am making one final try before I create the context from the view itself.
I looked at my Interface's properties -> its ABAP Dictionary based interface.
Abhishek mentioned tht I had to create it as an XML Schema based interface. If I choose this option, its asking me for a XML Schema source and asks me to load a File. I am not sure abt this step.
Abhishek, can you share your expertise in the issue above.
If this doesnt work, I will try the other option of creating a new Interface/context for the existing form from the View itself.
All suggestions are appreciated ! thanks
Liz
Pradeep,
You are right. This time I could bind the context from my interface (even though it was ABAP based).
I have one quick one for you - you mentioned earlier that when we embed an existing form into Web. View, we cannot have an Interactive form even when we check the 'enabled' property. Can you throw more light onto this pls?
The runtime error that i am encountering now says :
Adobe Processing Exception: PDF is not interactive. Data can be only imported into Interactive forms.
the source text of error is:
get result
m_pdf_object->get_document ( importing pdfdata = pdf ).
catch cx_fp_exception into lr_fpexc.
raise exception type cx_wd_general
exporting
previous = lr_fpexc
and this exception is not caught ! I am still lost
thanks again for your help!
Liz
Hi,
The interface of the UI element InteractiveForm contains the method SET_LEGACY_EDITING_MODE, which in turn contains a Boolean parameter. The form is then ready for input
method WDDOMODIFYVIEW.
data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
check first_time = abap_true.
LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT(u2018INTERACTIVE_FORM_1u2019).
LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
endmethod.
Regards
Runal
Hi,
You can use the exisAdobe Form that is being created from the SFP Transaction, but it can be used as WebDynpro Print Form only. its better you execute that already created Form and now create one WebDynpro application and give the new template source and when the designer is opened there you upload the your executed form.
Regards
Pradeep Goli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
To use the forms with WD Abap the interface type should be XML type and when you use Interactive Form UI element you need to specify the form name in the template source and then it ask for the interface from which it will get the data. Now, here you have specify the interface name(already created) and bind it to the context of the view.Or, you can create the interface from the context of the view holding the form.
Ideally, you should create the interface from the context of the view in which the form is going to be used and then use this interface for the form.
Thanks,
Abhishek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
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.