01-31-2008 12:08 PM
hi all,
plz i need your help.
if i dnt make any changes,i dont want to display message after clicking on SAVE button on screen.
01-31-2008 12:11 PM
you have to use 'if' that is if your fields are same as previous then message else not.you can do this youing sy-subrc values too.
reward if useful
keep rockin
vivek
01-31-2008 12:16 PM
At the first time you can exclude the save button from PF-Staues.
Ie,
if flag1 is initial.
set pf-status '9000' excluding 'SAVE'.
endif.
Once User make any cahnges, then check the Sy-datar field in PAI.
ie,in PAI.
If sy-datar is not initial.
Flag1 = 'X'.
endif.
01-31-2008 12:16 PM
Declare two structures, before and after:
e.g. TABLES: zmytabnle, *zmytable.
Before displaying save data to *zmytable.
When SAVE is pressed, compare zmytable (dynpro) field and *zmytable
if equal, do not save.
Regards