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: 

I/O Field does not get enabled automatically.

Former Member
0 Kudos
175

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>

1 ACCEPTED SOLUTION

Former Member
0 Kudos
107

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.

6 REPLIES 6

Former Member
0 Kudos
108

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.

0 Kudos
107

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>.

0 Kudos
107

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,

Vinod_Chandran
Active Contributor
0 Kudos
107

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...

Former Member
0 Kudos
107

In PAI processing use

FIELD fieldname: VALUES .... , (fieldname)

MODULE .... ,( module for error message)

Svetlin

0 Kudos
107

Thanks For All Your replys

it has greatly helped to solve my problem.