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

Problem with select-options in Module Pool screen

sudarshan_b
Participant
0 Likes
942

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

1 ACCEPTED SOLUTION
Read only

sudarshan_b
Participant
0 Likes
834

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.

3 REPLIES 3
Read only

dirk_wittenberg
Contributor
0 Likes
834

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

Read only

0 Likes
834

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

Read only

sudarshan_b
Participant
0 Likes
835

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.