‎2008 May 13 4:13 PM
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 .
‎2008 May 13 4:19 PM
To update the row with a key, you'll need to DELETE the OLD and INSERT the NEW.
‎2008 May 13 4:20 PM
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.