cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic form in Webdynpro for ABAP - Context Cardinality question

Former Member
0 Kudos

Hello -

I have an adobe form in a webdynpro for ABAP application which I want to be able to be dynamic. Basically I want to be able to use a Webdynpro context node with a cardinality of 1-N and the form will take each node of the context and create a page for each one. I am able to do a static form with a context node that has a 1-1 cardinality, but once I change my cardinality to 1-N on the node the static form no longer works (there is no data). Is what I want to do possible? I've looked through all the documentation I could find and could not get a definite answer. Any help would be appreciated.

 

Widget (1-N) 
     -Widget_info (1-1) 
          *Name 
          *Sku 
          *Description 
     -Widget_plant (1-M) 
          *Plant_Code 
          *Plant_State 
          *Plant_City
     -Widget_pic (1-1)
          *Picture

... So I want to have a form which can print a page for each widget in the context (the number of which can vary). That form would have the Name, sku, description, plant_code, plant_state, plant city and the picture on it. (This is just a generic example of what I need to do)

Regards,

- Jason

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Ok, I think I found a bug... It seems for adobe forms in WD4A, the root context node must be 1-1 and you must nest the 1-n node within that... Not sure why, but it worked. So in my case my context would look like this:


FOO_NODE (1-1)
     Widget (1-N) 
          -Widget_info (1-1) 
               *Name 
               *Sku 
               *Description 
          -Widget_plant (1-M) 
               *Plant_Code 
               *Plant_State 
               *Plant_City
          -Widget_pic (1-1)
               *Picture