2010 Nov 18 2:27 PM
Hi,
For a call screen when i am giving a error message all the other fields are getting disabled and by enter also they are not getting enabled.
can you please suggest how to get this in enable mode with the error message.
the error message is given if we are trying to save the duplicate record.
Please suggest <removed by moderator>.
BR,
Rajesh
Edited by: Thomas Zloch on Nov 18, 2010 4:18 PM - priority normalized
2010 Nov 18 2:33 PM
Try:
message 'blabla' type 'S' DISPLAY LIKE 'E'.Edit.
But you should validate the key fields before even pressing the SAVE button. Use CHAIN..ENDCHAIN for the key fields.
Hi,
For a call screen when i am giving a error message all the other fields are getting disabled and by enter also they are not getting enabled.
can you please suggest how to get this in enable mode with the error message.
the error message is given if we are trying to save the duplicate record.
Please suggest <removed by moderator>.
BR,
Rajesh
Edited by: Thomas Zloch on Nov 18, 2010 4:18 PM - priority normalized
2010 Nov 18 2:33 PM
Try:
message 'blabla' type 'S' DISPLAY LIKE 'E'.Edit.
But you should validate the key fields before even pressing the SAVE button. Use CHAIN..ENDCHAIN for the key fields.
2010 Nov 18 2:38 PM
hi,
try to use keyword FIELD and validate that field.
FIELD : ITAB-WAERS MODULE VALIDATION_100.
"in the validation in PAI display your message
IF ITAB-WAERS = 'INR' OR ITAB-WAERS = ''.
MESSAGE 'Please Enter a Foreign Currency' TYPE 'E'.
ENDIF.
with regards,
syed