‎2009 Apr 28 11:23 AM
Hello,
i have written an message 'text' type 'e' in a PAI module.
when this message is executed i am taken bacl to the screen but none of the fields are editable any longer. i have to come out of the transaction.
can someone help me on this? what else do i need to keep the fields editable for the user to input the correct data?
Thanks.
‎2009 Apr 28 11:44 AM
none of it helps.
the problem is after the message statement is executed, the control doesnt go back to PAI. the control comes to the screen with non editable mode.
‎2009 Apr 28 11:32 AM
‎2009 Apr 28 11:35 AM
i want it as an error message and even if i change it type w its the same case.
‎2009 Apr 28 11:38 AM
Hi,
Try DISPLAY LIKE dtype option.
Your message will be information of status type but it will be displayed like an error message.
Press F1 on message to get more details about this option.
Hope it solves your problem.
‎2009 Apr 28 11:37 AM
Try something like this in the PAI module
field <field_name1>
<field_name2>
...
module <module_name>.
<Field_name>1 and 2 is the fieldnames you want to make editable.
module_name is the name of a new module you need to create. You will be writing the code to check the field validation in the module <module_name>
‎2009 Apr 28 11:44 AM
none of it helps.
the problem is after the message statement is executed, the control doesnt go back to PAI. the control comes to the screen with non editable mode.
‎2009 Apr 28 11:59 AM
try my above code in a chain endchann statement.
chain.
field field1
field2
....
module module_name.
endchain.
Make sure this is the first set of statements just after the PAI.
‎2009 Apr 28 12:01 PM
Hi,
Have you tried this ?
MESSAGE s014(<Message class name >) DISPLAY LIKE 'E'.
This is working .
It keeps the fields enabled for input after message.
‎2009 Apr 28 1:06 PM
Hi!
Display the error message as information message this works.....
it will bring u back to that screen with editable fields.
regards.
‎2009 Apr 28 1:11 PM
‎2009 Apr 28 1:23 PM
Hi,
If u want the message type to b 'E' only and want the fields to be editable then place the fields which are getting disabled inside CHAIN. and ENDCHAIN.
hope this solves. let me know whether it is solved or not.
Thanks,
Sri...