cancel
Showing results for 
Search instead for 
Did you mean: 

How to make table editable?

Former Member
0 Kudos

hi to all.

i am new in ABAP Webdynpro...

i was added a table in view which is showing data of sflight.

now i want to add a new row at the end of table or any where whic is blank and after entering data i want save that data in sflight.

can anybody give a way that i have to follow to do such thing.

thanks in advance.

and Good answer rewarded.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please go through the below thread

Hope it helps...

Regards,

Prakash.

Answers (1)

Answers (1)

Former Member
0 Kudos

hi

create a pushbutton in the toolbar of that table, and in the event of that button you do as follows

create a structure same as your table line, and append this in itab

then bind the table using LO_NODE_N1->BIND_TABLE( ITAB ). it will add new row in ur table.

Now again read the table with all enteries ( the new one also) using statement

LO_NODE_N1->GET_STATIC_ATTRIBUTES_TABLE(

IMPORTING

TABLE = ITAB).

now process your itab as you want.

Yogesh N