cancel
Showing results for 
Search instead for 
Did you mean: 

Table UI with Editable cell

former_member185241
Active Participant
0 Kudos

Hi All,

I have to develop an View similar to SO View( VA01 ) , There we have a table table no where we can choose item , quantity etc,

Similarly i have to do in webDynpro.

I am not getting how to make a table cell editable.. attach search help to item cell... Binding context to this..

Please Guide me

Thanks and regards

Abhishek

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Abhishek,

     I didn't see any issue while creating any issue to create a normal table UI  element with editable fields.

You can check the following points:-

1. Take  context node of cardinality 0...N / 1...N.

2. Take table ui element in layout and by using 'create container from' bind these table with the node take the attributes as input field.

3. You must populate the entries in table before it display or create append some blank rows while display. You will be able to see the input fields..

& regarding search help if you can attach search help in context attribute properties  ( activate dictionary search help) . It will be displayed automatically in the table.

Check these & reply in case of any issue.

Regards,

Monishankar

former_member185241
Active Participant
0 Kudos

Hi Monishankar

Table UI is now taking data.
Now how to take data from context
Which method should i use ?

Former Member
0 Kudos

Hi Abhishek,

     You can find several threads & tutorial on these.

  First identify the action when you want to populate data inthe table.

( may be in wddoinit / any other action)

In the req. action use code wizard to populate table.

Find the below link for tutorials of web dynpro abap,u ill get clarification about these.

http://scn.sap.com/docs/DOC-8863

Regards,

Monishankar

former_member185241
Active Participant
0 Kudos

Ok Monishankar,

Thanks and Regards

Abhishek

Answers (2)

Answers (2)

Former Member
0 Kudos

Will binding the table to the context you need to change the Cell Editor of table column from text view to

i/p field.

Input help can be specified in the properties of the node

former_member185241
Active Participant
0 Kudos

Hi Bhanu,

I have done this also, but at run time it is showing nothing means only table is showing without any column and also in non editable mode..

former_member185241
Active Participant
0 Kudos

Hi Bhanu,

I have done this also, but at run time it is showing nothing means only table is showing without any column and also in non editable mode..

Former Member
0 Kudos

Hi Abhishek,

Just make sure your binding for table ui element is with "Data source" property of the table

Update binding , activate each and every view , component controller.

Other than this i dnt see any problem

former_member185241
Active Participant
0 Kudos

Hi Bhanu,

After binding the empty internal table to it , it is working.

Now to get data from context which method should i use?

Get_static_attributes will not work no because it will return workarea but i want to take internal table containing all the data that user has entered in the table ui.

If you have any idea please suggest me

Thanks

Abhishek

Former Member
0 Kudos
former_member185241
Active Participant
0 Kudos

Hi Shambu,

My Table is not ALV. It is Normal Table UI

former_member185241
Active Participant
0 Kudos

Hi Shambu,

My Table is not ALV. It is Normal Table UI