hi,
i need to add record to sap standard table.
if i use insert then repeated key field not allowed me to do so.
should i do like this.
if record found use update whereas if record not found use insert.
loop
UPDATE ... SET ...
WHERE ....
IF sy-subrc = 0.
COMMIT WORK.
ELSE.
insert ....
COMMIT WORK
ENDIF.
endloop.
thanks