cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to read the basic data during ON_CLICK event

Former Member
0 Kudos

Hi Experts,

I have developed one web dynpro application where I need to read the basic data from the primary table.Based on the on click event if i click on any row of this primary table i should get the details of this row.

For ex: In the first table which is ALV type and having the fields like MATNR etc ,if i click on MATNR then it should retrieve item details of corresponding material number from MARC table.

What i have done :

1.I have created an ALV table and created a link_to_action for the column MATNR.

2.I could trigger the on_click event.

Problem .

As the details of the particular clicked row is present in r_param , my problem is how to use this details in select statement so that i can use the value of the material number and select item details from MARC.

Please post your ideas and suggestions.

View Entire Topic
Former Member
0 Kudos

HI ,

You can directly retrieve the data from r_param.

field-symbols : <lv_id> type data.

assign R_PARAM->value->* to <lv_id>.

Now you can use this field symbol to get the vaules.

Regards

Kuldeep