cancel
Showing results for 
Search instead for 
Did you mean: 

how to make a olumn as editable

Former Member
0 Kudos

Hi,

In a view im displaying a table with certain fields. The moment table being displayed i want a column (say 2nd col) as editable. Can anybody please let me know what exactly i have to do for this?

Rgds

Sudhanshu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi sudhanshu

To achieve this follow below steps:

1. Open the layout of view.

2. On the rightside, in UI elements list, Select the table control and expand it.

3. Select your 2nd column and expand it.

4. Select the TextView UI element existing in the 2nd, right click on it and select Remove Cell Editor from menu.

5. Now select 2nd column, right click and select Insert Cell Editor.

6. In popup, Give any ID and select InputField in typ.

7. Select the newly add InputField and bind the Value property to context attribute.

Regards,

Vikrant

Former Member
0 Kudos

AWESOME !! Thank you so much Vikrant.

Answers (2)

Answers (2)

Former Member
0 Kudos

Your table columns cell editor are textview by default, when you create a binding for columns you also get the option to choose type of UI element for each of the columns, for the second column you can choose input field.

Former Member
0 Kudos

Hi,

If you want to do it in ALV then check this link

LINK:[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1?quicklink=index&overridelayout=true]

Former Member
0 Kudos

No, its not ALV report.