Skip to Content

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

Determining lead column and selected column of table

Hello,

maybe this is a general issue of understanding, but even I've studied the online help and the tutorials excessive, I did not get the point in above mentioned problem.

I have a table named TAB_SFLIGHTS, that is connected to the context DATA_SFLIGHTS. For the table I have implemented a method for the event ON_LEAD_SELECT:

method ONACTIONFILL_DETAIL_VIEW .

data: NODE type ref to IF_WD_CONTEXT_NODE,

wa_flights type sflights,

FLIGHTS type table of sflights,

NODE = WD_CONTEXT->GET_CHILD_NODE( 'DETAIL_SFLIGHTS' ).

select single * from SFLIGHTS into wa_FLIGHTS.

append wa_flights to flights.

NODE->BIND_ELEMENTS( FLIGHTS ).

endmethod.

At the moment it will show any entry from SFLIGHT in the Flight detail screen, but it should show the entry that was marked in the table.

How can I access the column values of the marked table column in this example?

Thank you in advance.

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question