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

about key field when updating a table using modulepool screen

Former Member
0 Likes
419

hi experts,

i am doing a modulepool program to update a Ztable.the ztable contains key fields. i have doubt that if i use the module pool screen to update a record by changing its one of the key field , can i update the existing record only , because if i change a key field ans save a new record is creating. can it be possible to update the same record in table when there a change in key field.

One more doubt i have is how to make the fileds in module pool screen mandatory. Plz help me out .

2 REPLIES 2
Read only

Former Member
0 Likes
398

To update the row with a key, you'll need to DELETE the OLD and INSERT the NEW.

Read only

christine_evans
Active Contributor
0 Likes
398

1. No, you won't be able to update a table record if you change its key fields in your screen. Why would you want to do such a thing?

2. Check that the field has something in it in the PAI.