‎2007 Sep 26 1:00 PM
Hello,
How do I add some parameter validations to a custom infotype? Error messages when pressing enter or saving for required fields.
‎2007 Sep 26 1:31 PM
Hi,
You can hanlde the same in the PAI events of the Modlue pool program.
Just write a module to validate ur input near the statement
FIELD ur_field_name MODULE ur _module _for _validation.
And also create message type such as E001(Msg clas name) if the input entered is invalid.
Double click on it message and this will take you to the message class where u can enter the text that is to be displayed as error messgae.
Regards,
Farhana
‎2007 Sep 26 2:29 PM
I created a module on PAI and a validation in it. However, when the message error appears in the infotype all fields turn non-editable so the user cannot change the error...
‎2007 Sep 26 2:49 PM
Just put a LEAVE SCREEN statement after the error message.
Arya
‎2007 Sep 26 2:52 PM
‎2007 Sep 26 3:18 PM