Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

module pool programming

Former Member
0 Kudos

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.

3 REPLIES 3

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

raymond_giuseppi
Active Contributor
0 Kudos

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