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 buttons not working

0 Kudos

Hey Guys,

I am working on Module Pool programming.

mu exit, cancel, back button not working when I've made my selection screen fields mandatory(using Sub Screen Techniche).

Even Chain and chain also not working giving error selection screen field does not exist..

Please help me to resolve this issue

.

1 ACCEPTED SOLUTION

mateuszadamus
Active Contributor

Hello hafiz_naeem

You need to mark your exit, cancel and back button as "Exit" buttons and then have a PAI module with "AT EXIT-COMMAND" addition. This way these buttons should be handled in a separate way.

https://help.sap.com/doc/abapdocu_731_index_htm/7.31/en-US/dynpmodule.htm#!ABAP_ADDITION_1@1@

Kind regards,
Mateusz
2 REPLIES 2

mateuszadamus
Active Contributor

Hello hafiz_naeem

You need to mark your exit, cancel and back button as "Exit" buttons and then have a PAI module with "AT EXIT-COMMAND" addition. This way these buttons should be handled in a separate way.

https://help.sap.com/doc/abapdocu_731_index_htm/7.31/en-US/dynpmodule.htm#!ABAP_ADDITION_1@1@

Kind regards,
Mateusz

Thanks mateuszadamus its Working Fine Now.