Hi All,
my question about modul-pool,
i have two fields one is MARA-MATNR and second one is MARA-MTART.
if enter somthing in MARA-MATNR only second field
MARA-MTART should be ready for input
other wise it should in disble mode not for input
for suppose if MARA-MATNR equal to space
MARA-MTART field should be in output sate .
and if enter any thing in MARA-MATNR
MARA-MTART field should be change automatically ready for input.
my cose is below
MODULE SCRNMOD OUTPUT.
IF MARA-MATNR EQ ' '.
LOOP AT SCREEN.
CASE SCREEN-GROUP1.
WHEN 'GR1'.
SCREEN-INPUT = 0.
SCREEN-OUTPUT = 0.
MODIFY SCREEN.
ENDCASE.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
CASE SCREEN-GROUP1.
WHEN 'GR1'.
SCREEN-INPUT = 1.
SCREEN-OUTPUT = 1.
MODIFY SCREEN.
ENDCASE.
ENDLOOP.
ENDIF.
ENDMODULE.
i'm getting if MARA-MTART equal to sapce ,
but if enter any thing in MARA-MTART ,
my second field is not changing to input.
regards,
sapuser.