2005 Jul 12 11:51 AM
I have marked an I/O field as <b>recommended</b> and after checking the initial value when i generate an error message type 'E'. the field becomes read only. only after <b>pressing enter once</b> it becomes active.
how can i get out of the problem.
<b>i want my field to remain active after giving the error message.</b>
2005 Jul 12 12:04 PM
Hi,
You need to issue the error message in the event <a href="http://help.sap.com/saphelp_nw04/helpdata/en/79/34a237d9b511d1950e0000e8353423/frameset.htm"><b>AT SELECTION-SCREEN on <name of the selectionscreen field>.</b></a>
Regards,
Anand Mandalika.
2005 Jul 12 12:04 PM
Hi,
You need to issue the error message in the event <a href="http://help.sap.com/saphelp_nw04/helpdata/en/79/34a237d9b511d1950e0000e8353423/frameset.htm"><b>AT SELECTION-SCREEN on <name of the selectionscreen field>.</b></a>
Regards,
Anand Mandalika.
2005 Jul 12 12:14 PM
Actually I have used that I/O Field in a <b>Normal Screen Not In Selection Screen</b>. So I cannot call AT SELECTION-SCREEN on <name of the selectionscreen field>.
2005 Jul 12 12:19 PM
Hi,
In PAI event, club the fields in Chain.......endchain statement, the syntax is,
chain.
field: fld1, fld2.
module check_field.
endchain.
Write the logic for validations in module check_field.
Hope this helps.
Rgds,
2005 Jul 12 12:20 PM
I think you have to control this inside the module.
Hope you are using the following.
FIELD xxx MODULE abc ON INPUT
You can try by giving a success message and set a flag to stop further processing.
There can be better solution...
2005 Jul 12 12:21 PM
In PAI processing use
FIELD fieldname: VALUES .... , (fieldname)
MODULE .... ,( module for error message)
Svetlin
2005 Jul 13 6:27 AM
Thanks For All Your replys
it has greatly helped to solve my problem.