cancel
Showing results for 
Search instead for 
Did you mean: 

Interactive Form with ABAP DDIC Interface

florian_halder
Participant
0 Kudos

Hi,

I'm new on adobe interactive forms and I have some problems. I have a form with a abap dictionary based interface.

When I test my web dynpro application with the interactive form, it is not interactive. 😛

And yes the property "enabled" of the UI-Element is marked.

First I watched an e-Learning an build a web dynpro application with a from which has a interface based on xml.

I generated the inteface of the form from my context. It works fine.

But with a interface based on xml I dont't know how I can get a table on my PDF in the Adobe Lifecycle Designer.

So I searched snd n the forum and found a tutorial (InteractiveForm_and_Dynamic_Tables). Like in this tutorial I created a interface based on ABAP Dictionary and a form with a table. Then I choose this form on my UI-Element as templateSource and generate the context from the interface. But as i mentioned above, now the PDF isn't interactive.

Any idea?

Thx Florian

PS: when someone can tell/help me in german it would be much easier for me to understand...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

in your context node for adobe form create subnode (attributes of this node = columns of your table) with cardinality 0..n. This subnode now acts as table in adobe livecycle designer.

Regards Jiri

florian_halder
Participant
0 Kudos

Hi Jiri,

thanks for your answer. This was to easy.

But its freaky because I thought I have done it this way.

Only for my interest, is it possible to use a interface based on Abap DDIC for interactive forms?

Thanks Florian

Former Member
0 Kudos

Hi,

I think only XML based forms can be used as interactive forms.

Regards Jiri

florian_halder
Participant
0 Kudos

hi,

ok thank you again.

This is the Link to the Thread with the Tutorial I mentioned in my first question:

[]

Link to tutorial:

[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/802f0ed1-a17a-2c10-7db4-d515a5b047ed]

In this tutorial they first make the interface (ABAP DDIC), the adobe form and then they generate the context for the view from the interface. But for me it doesn't work.

So in future I will use XML based interfeace...

Regards

Florian

Edited by: Florian Halder on Apr 16, 2010 10:27 AM

Answers (1)

Answers (1)

ankur_jain15
Explorer
0 Kudos

You can create Interactive form with ABAP dictionay based interface.  You need to add following code in method "WDDOMODIFYVIEW" of your view.

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

  LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.

  LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( ABAP_TRUE ).

Refer:: http://help.sap.com/saphelp_nw70/helpdata/en/42/c247dc6227311ce10000000a1553f7/content.htm