Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Logic to read data from Method Handler class structure in OOABAP

0 Likes
542

Hi Experts,

I am implementing an implicit enhancement under CL_WDR_TABLE_DATA_PROVIDER->SET_TABLE to read the sorted column field name which I will use it for another enhancement.

My data is in

ME->M_METHOD_HANDLER (type ref to CL_WDR_TABLE_METHOD_HNDL)

Attribute : CL_WDR_TABLE_METHOD_HNDL

Method: M_TABLE_PROPERTY_PROVIDER

Attribute: CL_SALV_WD_A_VIEW

Structure Deep: S_EVENT_INFO

Component : T_PARAMETERS

Field Name: COL / COLUMNN

Value: MATNR / MATNR

so finally I can see the values from "{O:4159*\CLASS=CL_SALV_WD_C_TABLE_V_TABLE}-S_EVENT_INFO-T_PARAMETERS[4]-NAME"

I want to write a logic to read the Name and its value from the above class/ attribute components.

PFA the image that shows the Field and table format details.

Kindly help me what are the data types should be provided to read the dynamic table values.

Thanks.dynamic-table-to-read-value-from-ooabap-class.jpg

0 REPLIES 0