06-02-2009 1:20 PM
Hi,
After: MESSAGE e001(00) WITH text-t001 all fields on screen becomes inactive even when I press enter. What is a correct flow logic for a screen to make screen field visible after enter key press immediatelly after error message occurs ? thx a lot.
06-02-2009 1:26 PM
Hi
u need to use CHAIN/ENDCHAIN.
PROCCE PAI.
CHAIN.
FIELD1.
FIELD2.
...........
FIELDN.
MODULE SET_MESSAGE.
ENDCHAIN.
MODULE SET_MESSAGE.
MESSAGE e001(00) WITH text-t001.
ENDMODULE.
MAX
06-02-2009 1:26 PM
Hi
u need to use CHAIN/ENDCHAIN.
PROCCE PAI.
CHAIN.
FIELD1.
FIELD2.
...........
FIELDN.
MODULE SET_MESSAGE.
ENDCHAIN.
MODULE SET_MESSAGE.
MESSAGE e001(00) WITH text-t001.
ENDMODULE.
MAX
06-02-2009 1:27 PM
Hi,
In a selection screen,
You might have used OBLIGATORY for some of the fields on selection screen
Remove that and validate that field is not initial.
If P_MATNR is initial.
set cursor field 'P_MATNR'.
message e000...
endif.
Edited by: Chandrasekhar Jagarlamudi on Jun 2, 2009 2:28 PM
06-02-2009 1:28 PM
Hi,
if it in module program in flow logic SE51 PAI
FIELD w_pn MODULE validate_material. where w_pn is the filed name on the screen
validate_material is the module name
write this error message in that module
OR
If it a selection screen write a login on AT SELECTION-SCREEN ON FIELD <field>
Regards
Krishna
06-02-2009 1:28 PM
Hi,
In PAI of the screen,
use Chain....Endchain Statement.
In between this call any module & check the screen parameters into it.
Even though u gave error message (Type E) into it, it will not exit the program.
Sujit.
06-02-2009 1:31 PM
i think you might be wrote that Error Message In Event START-OF-SELECTION.
WRITE that statement in AT SELECTION-SCREEN EVENT..
This time it won't happens...