I have a screen in ABAP that makes it possible to update a database row. It's sort of working: I can update the 'row' but the problem is, that it's updating EVERY row in the table and not the one specified in the where clause.
This is the code I'm using:
UPDATE zmotoren_jat SET:
prijs = zmotoren_jat-prijs,
naam = zmotoren_jat-naam
WHERE motorid = zmotoren_jat-motorid. "this line doesn't seem to work!
Any idea why this won't work? I'm sure that 'motorid' exists: I'm not getting an error and I'm using the same line, motorid = zmotoren_jat-motorid
to delete a row, which does work.