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 - subscreen

Former Member
0 Kudos

Hi

I am using module pool. I have a main screen with tab strip & two buttons (Save & Edit ).

Now I want following functionality.

when user clicks on "Edit" on (main screen) some I/O elements on sunscreen should be active

and when user clicks on "Save" on (main screen) those I/O elements on sunscreen should be deactivated.

How to do this , as sunscreen do not have okcode - how to capture user command

1 REPLY 1

Former Member
0 Kudos

You can use the Ok-code value in the PBO of your subscreen to hide/unhide the fields, provided you are not clearing the ok-code in the main screen's PAI.

If you are, use a variable to hold the value, such as this:

IF ok-code = 'EDIT'.

variable = 'E'.

...

and use the value of this variable in your subscreen's PBO to change the screen elements.

Hope this helps.

Sudha