Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

display edit mode

Former Member
0 Kudos

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

2 REPLIES 2

former_member188685
Active Contributor
0 Kudos

Use the Chain and Endchain, inside the chain module you raise the message.

Former Member
0 Kudos

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.