cancel
Showing results for 
Search instead for 
Did you mean: 

update of database table on save button of different component

Former Member
0 Kudos

Hi all,

I wanted to update the data base table on click of save button which is present in other component.

The component A i have the view screen and I made node with dictionary structure. I want to modify the database table once user click on save button which is in Component B.

I tried to change the node of view present in component A and make interface node as yes but could not change it.

any approach ?

Regards

Accepted Solutions (1)

Accepted Solutions (1)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Answers (1)

Answers (1)

arjun_thakur
Active Contributor
0 Kudos

Hi Kiran,

Just make the node(which contains all the data ) on component A as interface node, map it in the component B. In the OnAction method of Save button of component B, just read that node and get the values in an internal table and then use ABAP modify statement to modify the database table according to the data present in the internal table.

Regards

Arjun

Former Member
0 Kudos

Hi Arjun,

I forgot to mention ,I am using the Enhancement implementation for Component 1,I made view1 under enhancement implementation .When I am trying to change the node of view1 i am not able to select the interface node as yes .

any points you can highlight

Thanks