08-13-2007 11:14 AM
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
08-13-2007 11:19 AM
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