Application Development and Automation 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: 
Read only

module pool programming

Former Member
0 Likes
342

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
Read only

Former Member
0 Likes
324

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

Read only

Former Member
0 Likes
324

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.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
324

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