Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

onlead select Error

Hai every one ,

i created one Table and under table individual fileds are avialble ragarding to that table.

when ever the lead select will taken place on table that data will be displayed curresponding fields .

the problem is when ever the on lead select i done on table.

in one of the column name clientname .

the onlead select cllientname will reflect remaining all the client name fileds.

i not getting what is the reason behind when onlead selection taken place that one filed only getting reflected on remaining fileds.

if any one knows tell me .

under onlead selection i written this code.

IPrivateDisplayView.ITable_DisplayNode nodeTable_Display = wdContext.nodeTable_Display();

int leadSelectedIndex = nodeTable_Display.getLeadSelection();

IPrivateDisplayView.ITable_DisplayElement table_DisplayElement = nodeTable_Display.getTable_DisplayElementAt(leadSelectedIndex);

fillDataInDetailNode(table_DisplayElement);

replied

Why are u writitng big code for 1 liner?

Try this.

fillDataInDetailNode(wdContext.currentTable_DisplayElement());

-Ashutosh

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question