I've created a screen, and inside the layout painter I created a 'form' based on the table (using the wizard that appears when you hit F6). So now I have all the fields to create the row, and I've created a 'save' button to, but obviously nothing happens yet.
Could anyone link me to some kind of guid on how to make this functional? I'm a beginner at ABAP and I'm having quite some trouble with this.. Thanks!
edit
I'm also trying to update a row in the database, but using this code, every row in the database get's deleted, not only the one with the specified ID. Does anyone know what I'm doing wrong?
UPDATE zmotoren_jat SET:
prijs = zmotoren_jat-prijs,
naam = zmotoren_jat-naam
WHERE motorid = zmotoren_jat-motorid. "this line doesn't seem to work!