Application Development and Automation 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: 
Read only

I/O Field does not get enabled automatically.

Former Member
0 Likes
867

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
Read only

Former Member
0 Likes
799

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.

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
Read only

Former Member
0 Likes
800

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.

Read only

0 Likes
799

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

Read only

0 Likes
799

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,

Read only

Vinod_Chandran
Active Contributor
0 Likes
799

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

Read only

Former Member
0 Likes
799

In PAI processing use

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

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

Svetlin

Read only

0 Likes
799

Thanks For All Your replys

it has greatly helped to solve my problem.