on 02-18-2006 10:40 AM
Hi Friends,
In BSP Application, when I wrote onInputProcessing Eventhandler for Save Button as follows.
when'save'
itab_wa-field1 = 'student'.
Append ITAB_WA TO ITAB.
MODIFY STD1 FROM TABLE ITAB.
If sy-subrc = 0.
MESSAGE I000(ZMSG1).
Endif.
But I am not getting any popup message.
Even for delete button , I would like to write a confirm delete message before deleting actual record. I am not getting this one as well.
PLS Mail me in this regard.
regards
CSM Reddy
you cannot do that. You have to remember that you are working for web frontend.
in your case declare a variable called saved type string in page attribute.
when'save'
<b>clear saved .</b>
itab_wa-field1 = 'student'.
Append ITAB_WA TO ITAB.
MODIFY STD1 FROM TABLE ITAB.
If sy-subrc = 0.
<b> saved = 'X' .</b>
Endif.
now in your layout
<%
if saved eq 'X' . %>
<script>
alert('Changes are Saved');
</script>
<%endif .
%>
Hope this is clear.
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.