cancel
Showing results for 
Search instead for 
Did you mean: 

How to define Cell_editor in ALV to have input enabled + reacting on click

barbara_bendjama
Explorer
0 Kudos

Dear colleague,

I am reusing component SALV_WD_TABLE. For one column, I should allow input (direct or via f4 help), when there is nothing in, and if the field is filled, I should be able to click on it to launc a new application.

If I define my editor as input_field, I do not succeed to react on click.

If I define it as a link_to_action, I do not find out how to make it editable.

Is there a way to achieve this feature:

-either behing able to react on click for an input field, or switching cell_editor depending on line data.

thanks for feedback,

Barbara

Accepted Solutions (1)

Accepted Solutions (1)

saravanan_narayanan
Active Contributor
0 Kudos

Hello Barbara,

check out the cell variant option. for a column you can create two cell variants one for inputfield and other for linktoaction. if data is filled you can activate the LinkToAction cell variant and if not then activate the input field cell variant. But the drawback is once the data is entered user wont be able to change it.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0e7461d-5e6c-2b10-dda9-9e99df4d1...

BR, Saravanan

Answers (0)