Dear Gurus ,
i have a screen that has three sub-screens . With a code i check some things and i hide one of the subscreens when something triggers.
This subscreen has 3 fields that the exist and in the other screens.
The problem is that when i change record these 3 fileds only doesnt change value and keep the first value that they had.
Look my code
The screen hide code ...
SET PF-STATUS 'MAIN100'.
SET TITLEBAR 'TITLE'.
IF ITAB-CLAIMDPT = '02'.
SCREEN_CUST = TEXT-SC1. "'Vendor'.
SCREEN_BILL = TEXT-SC3.
LOOP AT SCREEN.
IF SCREEN-NAME = 'CMD_TAB6'.
SCREEN-ACTIVE = '1'.
SCREEN-INVISIBLE = '0'.
ENDIF.
IF SCREEN-NAME = 'CMD_TAB3'.
SCREEN-ACTIVE = '1'.
SCREEN-INVISIBLE = '1'.
ENDIF.
IF SCREEN-NAME = 'CMD_TAB2'.
SCREEN-ACTIVE = '1'.
SCREEN-INVISIBLE = '1'.
ENDIF.
IF SCREEN-NAME = 'CMD_TAB1'.
SCREEN-ACTIVE = '1'.
SCREEN-INVISIBLE = '1'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ELSE.
SCREEN_CUST = TEXT-SC2. "'Customer'.
SCREEN_BILL = TEXT-SC4.
LOOP AT SCREEN.
IF SCREEN-NAME = 'CMD_TAB6'.
SCREEN-ACTIVE = '1'.
SCREEN-INVISIBLE = '1'.
ENDIF.
IF SCREEN-NAME = 'CMD_TAB3'.
SCREEN-ACTIVE = '1'.
SCREEN-INVISIBLE = '0'.
ENDIF.
IF SCREEN-NAME = 'CMD_TAB2'.
SCREEN-ACTIVE = '1'.
SCREEN-INVISIBLE = '0'.
ENDIF.
IF SCREEN-NAME = 'CMD_TAB1'.
SCREEN-ACTIVE = '1'.
SCREEN-INVISIBLE = '0'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ENDIF.
Do you thing that is matter of the fields .......???
Also i see in the debbuging that the field is filled with the right value ....