cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a row to a table control.

senthil_kumar29
Participant
0 Kudos

Hi,

I like add a row to table control.

Is that the table control have an empty row, so the user make an entry, or do we need set some attributes to amke it happe.

Could you please some code sample also.

Cheers,

Sam

Accepted Solutions (0)

Answers (4)

Answers (4)

senthil_kumar29
Participant
0 Kudos

Thank U friends.

former_member189631
Active Contributor
0 Kudos

Hi Sam,

U can click ur table in root element container.. Rightclick add rows..

Regards,

Ramganesan K

former_member196517
Contributor
0 Kudos

Hi Sam,

there is one propery displayemptyrows in tablecontrol , you have to just check that to true .

Anuj

senthil_kumar29
Participant
0 Kudos

Hi,

Thanx for Ur answer.

Cheers,

Sam

former_member758419
Active Participant
0 Kudos

Hi,

U need to bind the Table to a Context Node, and in order to add a row or fill the table with values u need to write the Abap code or select queries to fill the context node with values, which in turn, these values will appear in the Table.

Here is a step by step Tutorial which deals with a simple webdynpro application to fill a table UI element with the values of SFLIGHT table.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cb243c45-0801-0010-eb9c-886...

Hope this helps,