Hi Group,
the below is the code where the problem is occuring.... Please suggest some solution for this.
IF ldf_subrc = 0.
MESSAGE s605(01).
COMMIT WORK.
ELSE.
Create error log.[Internal error: Update of table failed]
lds_msg-msgtyp = 'E'.
lds_msg-msgid = 'CMPERS'.
lds_msg-msgnr = '126'.
lds_msg-msgv1 = 'ZAM2013'.
MESSAGE ID lds_msg-msgid TYPE lds_msg-msgtyp NUMBER lds_msg-msgnr
WITH lds_msg-msgv1
INTO lds_msg-text.
APPEND lds_msg TO prt_msg.
ROLLBACK WORK.
ENDIF.
After the sy-subrc check is true, there should be the status message "Data Saved" and then it has to do the commit work , but here the message just blinks for a second and then dissappears.
Any suggestions???
Regards,
Kumar.