cancel
Showing results for 
Search instead for 
Did you mean: 

On Lead Select of the row of one table, populate another table

Former Member
0 Kudos

Hi Experts,

Suppose the context of my view is:

CostomerNode

-CustomerName

-CustomerDescription

-CustomerChildNode(Cardinality 1..n)

-FirstValue

-SecondValue

-ThirdValue

Now Suppose I have two tables-Table1 and Table2.

The Table1 is bound to CustomerNode

and its having two columns- Name(Bound to CustomerName)

and Description(Bound to Customer Description)

The Table2 is bound to CustomerChildNode

and its having 3 columns-FirstValue(Bound to firstValue)

SecondValue(Bound to secondValue)

ThirdValue(bound to thirdValue)

Now, on the lead select of the rows of the Table1,table2 should get populated with values.

How can this be achieved?

Thanks,

Monideepa

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

i think you can create one action and attach that with the property onLeadSelection().

with regards

shanto aloor

Answers (3)

Answers (3)

Former Member
0 Kudos

On changing the singleton property of CustomerChildNode to false, my problem got solved. I was able to add mutiple rows of CustomerChildNode for a single row of CostomerNode. Thanks everyone for your useful answers.

Former Member
0 Kudos

Hi,

Plz refer this document...for your requirement....

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6d599690-0201-0010-12bb-b9ea3ea3...

Hope this helps,

Regards,

Sudheer.

Former Member
0 Kudos

Hi, Monideepa Das.

I think you must create supply function for CustomerChildNode and write there your code for populating the second table.

When you select a record in first table, current element of CostomerNode changes and CustomerChildNode invalidates. If the second table bound to CustomerChildNode supply function will be executed automatically.