cancel
Showing results for 
Search instead for 
Did you mean: 

How to get newly inserted row

Former Member
0 Kudos

Hi Friends,

I displayed Alv table with insert row button, how to get the value of newly inserted row . is there any interface??. Is it necesary

to bind the row with context node.i made the table columns as inputfield to edit.

Please help me.

Accepted Solutions (1)

Accepted Solutions (1)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Hi

You simply read the node which is binded to the ALV.

Abhi

Former Member
0 Kudos

Hi Abhimanyu,

Do u mean to read the inserted row we need only to read the context node?

I am trying to check whether the inserted row already exists or not.

Please tell!!

Regards,

Sumit Oberoi

abhimanyu_lagishetti7
Active Contributor
0 Kudos

read the context node, get the data in to internal table and check for the duplicate entries, use Append Row which inserts row at the last

Abhi

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi revathi raju ,

Binding to the node will be automatically taken care by the dynpro. you just need to bind the alv to a node of cardinality 1 - n.

Regards

Sarath