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

PM01 Infotype Validation

bjorn-henrik_zink
Contributor
0 Likes
627

Hi,

I am trying to validate a custom inputfield of infotype 0315. I have added some validation code in the MODULE_PAI_0315 INPUT module. The problem is that all fields are disabled when I display a message of type 'E'. I would have expected the inputfield in question to be open for new input. How can I achieve that?

Thanks

/Elvez

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
547

HI elvez,

1. For such purpose, we have to use logic like this.

FIELD MYFIELD MODULE MYABC .

2. then it will remain open for input,

whenever we issue E message, in this module code.

regards,

amit m.

3 REPLIES 3
Read only

Former Member
0 Likes
548

HI elvez,

1. For such purpose, we have to use logic like this.

FIELD MYFIELD MODULE MYABC .

2. then it will remain open for input,

whenever we issue E message, in this module code.

regards,

amit m.

Read only

0 Likes
547

Thanks to you both - problem solved.

Read only

Former Member
0 Likes
547

Hi Elvez,

Please check all the fields are within the CHAIN and ENDCHAIN block. So that all the fields are disabled when get the error message "E".

Sothat u create a field separately using FIELD statements.

This is the Syntax:

FIELD <<i><b>field name</b></i>> on module <module name>.

then u validate.

Hope this will help you.

- Selvapandian Arunachalam