cancel
Showing results for 
Search instead for 
Did you mean: 

Map node from different View Container

former_member300754
Participant
0 Kudos

hi all,

i have a question about WDA. In case i have 3 view controllers: V_MAIN, V_A, and V_B. This program lets the user to fill out the form on V_A and V_B. V_MAIN has view containers embedded by V_A and V_B.

If i want an application to submit the form by click the Submit button on V_MAIN. The button has an action to send the parameters which fetch from V_A and V_B to do something further.

I've tried to declare the variable by

data: lr_v_a type if_v_a=>element_node.

the system shows an error "The type if_v_a=>element_node. is unknown"

Do you guys have any ideas about this? Please share me then.

Hope you can figure out what I'm saying. Thanks in advance.

Peerasit

Accepted Solutions (1)

Accepted Solutions (1)

raja_narayanan2
Active Participant
0 Kudos

Hi...

Use Global Component controller for all the view your using.... so that any time if you want data.... you can access it from the component controller...... try to use always global........

so if you click submit and want to do something further..... you can get the values from component controller and pass it to the next process..... its simple.....

Hope this will help you.....

Thanks & regards

Raja

former_member300754
Participant
0 Kudos

Hi Raja,

Thanks for your advise. Do you have any how-to document on Internet? Thanks in advance.

Regards,

Peerasit

Former Member
0 Kudos

Hi,

Try to add your context nodes with attributes to Component controller context insted of view contexts.So that they are available where ever you want.

Just go through the basic materials of Web Dynpro for ABAP.

Answers (0)