cancel
Showing results for 
Search instead for 
Did you mean: 

Interactive Forms - Context error

Former Member
0 Kudos

Friends,

I am working on an Adobe Interactive form using ABAP Web Dynpro (WDA).

I am encountering errors in the display. I have created a form of ZCI layout type. I have set the displayType to "native" and checked the "enabled" property in the InteractiveForm property in the WDA view.

When i execute the Web Dynpro application in the browser, the fields are in display only mode and are not interactive.

I have not created any attributes in the context.

My question is - does Context creation got to do anything with this error. If not, what else could be the reason.

I am new to Adobe Interactive Forms using ABAP Dynpro.

Please help.

Thanks and Regards.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi...

Place the following code in domodifyview

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( 'INTERACTIVE_FORM' ).

lr_method_handler ?= lr_interactive_form->_method_handler.

lr_method_handler->set_legacy_editing_enabled( abap_true ).

Thanks

Gopal.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Please also check that your form is xml-schema based. Go to SFP and click on the "Interface radio button". Select your interface. Go to the Properties tab and make sure that Interface type property is set to "XML-Schema based Inteface". Also make sure that XML Schema source property is set to generated.

Regards

Thashin

Former Member
0 Kudos

Hi,

The form is XML-schema based. The Interface type is XML-Schema based interface and it is set to generated.

Still the form display error occurs.

Thanks and Regards.

Former Member
0 Kudos

Hi

Please could you send me your form. I just want to upload it and see if it is interactive in my configuration.

Regards

Thashin

Former Member
0 Kudos

Thashin,

I have mailed the form to your email id as provided in your profile.

Please let me know if the form works in your configuration.

Thanks and Regards.

Former Member
0 Kudos

Hi

As per my reply to your mail please let me know if you have done the same.

Regards

Thashin

Edited by: Thoshin Naicker on Aug 11, 2008 3:10 PM

Former Member
0 Kudos

Thashin,

I followed all your steps. Still i am encountering the same error.

Does context cardinality have anything to do with the error.

Thanks and Regards.

Former Member
0 Kudos

Hi

Could you send me screenshots of your stuff. Also could you check whether the ADSSAP SP level = J2EE Engine SP level. I dont think that cardinality would affect whether a form is interactive or not. The screenshot with the context node that i sent you was the default cardinality you get when creating a node. Also if you have Active Components Framework installed on your pc then try deleting it. How are you creating the form? are you going into SFP first and then in WDA calling the form or are you using forward navigation in WDA to do it. I used forward navigation for the example screenshots.

Regards

Thashin

Former Member
0 Kudos

Thashin,

I have mailed the screenshots to your email id.

Thanks and Regards.

Former Member
0 Kudos

Hi

Please change your layout type to ZCI layout. Also please check that your form is set to dynamic pdf..ie goto form properties in ALD. Have a look at my previous mail that i sent you. the screenshot name is form_properties2.JPG.

Regards

Thashin

Former Member
0 Kudos

no reply. so closed it.