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

Module Pool

Former Member
0 Likes
569

Hi,

After displaying error message, I/P field is locked and the whole screen goes into displayed mode but my requirement is to change it as even after showing error, I/P field should be in editable mode., which is in tcode MB28. I am doing enhancement here. Help me in this..

Thanks.

Arun

3 REPLIES 3
Read only

Former Member
0 Likes
529

hi,

just do your validation in chain and endchain statement so that the screen and the screen fields should be in enable mode even after the error message display..

example,

    CHAIN.

      FIELD 1

      FIELD 2.

   END CHAIN

refer this thread for detailed info,

http://scn.sap.com/thread/785902

thanks,

Mathan R.

Read only

vinoth_aruldass
Contributor
0 Likes
529

Hi,

Include all the related fields on which you want to check initial vlaues in Chain  Endchain.

Eg.

CHAIN.

FIELD  YFLD1.

FIELD YFLD2.

FIELD YFLD3.

MODULE VALIDATION.

ENDCHAIN.

PUT YOUR VALIDATION CODE IN THE MODULE. iF THER IS AN ERROR YFLD1/2/3 WILL REMAIN INOUT ENABLED REST ALL WILL BE DISABLED.

HOPE THIS WILL HELP YOU.

THANKS

Read only

bishwajit_das
Active Contributor
0 Likes
529

Hi Arun,

To avoid this Input field being locked after displaying error message, you have to declare the input fields in the CHAIN - ENDCHAIN block.

 

Like Screen Flow Logic :

   

CHAIN.

FIELD: f1, f2.

MODULE m1.

ENDCHAIN.

When an error is found inside a chain, the screen is re-displayed, and all fields found anywhere in the chain are input-enabled. All non-chain fields remain disabled.

Wish this will suffice your problem.

Regards,

Bishwajit.