‎2013 Feb 26 9:31 AM
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
‎2013 Feb 26 9:37 AM
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.
‎2013 Feb 26 9:41 AM
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
‎2013 Feb 26 9:49 AM
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.