08-01-2007 1:43 PM
08-01-2007 1:45 PM
08-01-2007 1:48 PM
08-01-2007 1:49 PM
hi
ceat one module pool program
and at the pushbutton creat
write this code
SELECT SINGLE * FROM ZNNR INTO ZNNR WHERE EMPID = ZNNR-EMPID.
IF SY-SUBRC = 0.
MESSAGE E999 WITH TEXT-001.
ENDIF.
*IF SY-SUBRC <> 0.
INSERT INTO ZNNR VALUES ZNNR.
COMMIT WORK AND WAIT.
CLEAR ZNNR.
reward if helpfull