Skip to Content
0
Dec 04, 2008 at 07:13 AM

mapping between view controller and component controller

287 Views

Hi Experts,

I am new to web dynpro ABAP. First I created an application using one input field and one button, my view name is V1. In view context, I created one node viz. NODE1 using table SFLIGHT, fields chosen are CARRID CONNID and FLDATE. I have bind that to my input field and for button I have not done any thing. So, when I am running this application it is allowing me to select value for my input field. After this, I have added a table to the view layout. I have added to nodes using sflight table in COMPONENT CONTROLLER. First node is SFLIGHT with CARRID, CONNID, FLDATE, PRICE and PLANETYPE and second node is NODE1(same name) with only CARRID. Now in VIEW CONTEXT it is showing -

CONTEXT

NODE1

CARRID

CONNID

FLDATE

(which I had created in VIEW CONTEXT for input field)

CONTEXT COMPONENT CONTROLLER

SFLIGHT

CARRID

CONNID

FLDATE

PRICE

PLANETYPE

NODE1

CARRID

(which I had created in component controller after adding table)

Now both this context should be matched as per my knowledge, so that when I bind the table it should V1.SFLIGHT.<fieldname> and not as V1.NODE1.<fieldname>

But I don't know how to match them. Please help.