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 program got terminated..

Former Member
0 Likes
510

Hi Abapers,

     Its Module pool progrm, a screen '800' screen contains table control and a button "REFRESH".

IN pai i cleared the work area [used for transfering data from program to table control].

i call the screen with a t-code. when I clicked on REFRESH button, suddenly sap-easy access screen appeared.

Its so amazing... do you why it happened??

4 REPLIES 4
Read only

Former Member
0 Likes
464

Hi Avinash,

i did same requirement,its working fine.can you provide me piece code under the event PAI .

Regards,

Gurunath kumar D

Read only

Former Member
0 Likes
464

Hi,

     i coded like below..

case ok_code. when 'REFRESH'. clear wa_zmark. endcase.

Read only

Former Member
0 Likes
464

Hi,

     i coded like below..

case ok_code. when 'REFRESH'. clear wa_zmark. endcase.

Read only

0 Likes
464

Hi Avinash,

Please check in debugging mode sy-ucomm = refresh is there or not.your code is perfectly correct and also check if any other piece of code is there under this action button.and also check that AT PF staus what you defined button name is same or not in pai.and also check ok_code is defined in attributes or not.

and also try like this.

case sy-ucomm.

when'REFRESH'.

clear:work area.

endcase.

if any issues revert back.

Regards,

Gurunath kumar D