Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to trigger Save button in module pool

Former Member
0 Likes
1,869

Hi,

i created one screen in MP with SAVE button when i enter data in data input fileds in the screen and click save button function key it shd save in my Transparent table which i created ,can any one had idea,

thanx in advance

6 REPLIES 6
Read only

Former Member
0 Likes
1,221

Hi,

Data does not get updated just by making the SAVE button. You need to code for updating your tables in order to SAVE data there.

Write your code when the SAVE event gets triggered.

Revert in case i was not clear.

Thanks,

Daya

Read only

0 Likes
1,221

This message was moderated.

Read only

0 Likes
1,221

Hi,

You can use UPDATE, MODIFY keywords for this.

Please read F1 help provided for these keywords or search SDN for this.

Also note that you must first lock (En queue) your table update the database and then De queue it to avoid data inconsistencies.

Hope this may help you.

Thanks,

Daya.

Read only

0 Likes
1,221

Hi,

Please See the SCN Forum Rules Before Posting.

With Regards,

Sumodh.P

Read only

Former Member
0 Likes
1,221

Hi,

First assign a Function code for the SAVE button in the menu/gui status

In the PAI of the screen, check the Function code , If it is equal to Save, Write the logic in the PAI module to update the transparent table

Hope this helps

Regards

Shiva

Read only

Former Member
0 Likes
1,221

Hi,

I think you are not implementing code for SAVE operation in PAI event.

Cheers

VJ