2012 Aug 03 8:12 AM
Hi Folks,
I have a problem with SELECT-OPTIONS in a module pools screen. The situation is as follows -
I have designed a screen in the module pool program. This screen has 2 tabs - Tab 1 and Tab 2.
In Tab2, I have created a normal input field and a subscreen area. I am filling this subscreen area with a SELECTION-SCREEN having SELECT-OPTIONS, that is defined in TOP include.
Everything works fine if I do not enter any values in the SELECT-OPTIONS fields i.e. I can toggle between the 2 tabs. But if I enter any value in SELECT-OPTIONS fields, then I cannot toggle between the tabs. The control remains on Tab2, while the PF Status changes.
Could anyone guide me where I might have done some coding mistake?
Thank you.
Regards,
Sud
2012 Aug 07 8:02 AM
Solved by myself....
The problem was, I was using two different subscreen areas for the two different tabs. And therefore I had to call both the subscreens one after another, in my main screen.
I changed it to one single call and passing the program name and required subscreen number dynamically.
This solved the issue.
Thank you for your reply Dirk.
Regards,
Sud.
Hi Dirk,
Thanks for the reply.
I have not used the AT SELECTION SCREEN. How do I make use of this event to toggle between the tabs, since I am using PAI of module pool screen to toggle based on OKCODE value.
Any pointers would be really helpful.
Thanks.
Regards,
Sud
2012 Aug 03 8:45 AM
hi,
did you consider that the PAI-event for the select-options even within a module pool screen is still AT SELECTION-SCREEN and not PAI of the module pool screen ?
Regards,
Dirk
2012 Aug 03 8:53 AM
Hi Dirk,
Thanks for the reply.
I have not used the AT SELECTION SCREEN. How do I make use of this event to toggle between the tabs, since I am using PAI of module pool screen to toggle based on OKCODE value.
Any pointers would be really helpful.
Thanks.
Regards,
Sud
2012 Aug 07 8:02 AM
Solved by myself....
The problem was, I was using two different subscreen areas for the two different tabs. And therefore I had to call both the subscreens one after another, in my main screen.
I changed it to one single call and passing the program name and required subscreen number dynamically.
This solved the issue.
Thank you for your reply Dirk.
Regards,
Sud.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |