09-24-2008 7:18 AM
Hi friends,
I am working on tabel control with wizard. In that I have four fields. Of which the second field will be in edit mode in all conditions. The other fields in display mode. When i insert the record all the fields should be in edit mode. I am done with that requirement.
But when I insert a wrong record, based on my validation I am throwing an message of type E. Then what is happening I am getting all the fields in display mode. I even checked with the message with type I.
So what type of message should I give when i try to insert an error record. What should be done to make that particular error record in edit mode when some error message is thrown.
Please help me with some logic.
Thanks in advance.
Bhuvana
09-24-2008 7:20 AM
Use the Chain and Endchain, inside the chain module you raise the message.
09-24-2008 7:48 AM
When you write Error message in PAI module, all the input fileds become uneditable.
to make a particular field editable, use the fillowing code.
PROCESS AFTER INPUT.
FIELD <field_name> MODULE <pai_module_name>.
to make more than one field editable, use the fillowing code.
PROCESS AFTER INPUT.
CHAIN.
FIELD: <field1>,
<field2>,
<field3>.
MODULE <pai_module_name>.
ENDCHAIN.