07-21-2007 4:04 AM
Hi
i maintained User exit mm06E005 for Purchase order creation using ME21. i am facing a problem. i maintained some validations for Po creations. if any wrong data enetered by the user while creation of po using me21. my user exit zxm06u42 will throw an error. in that case my screen will be in display mode. i need screen to be editable to correct wrong entries.
regards
sun
07-21-2007 4:15 AM
Hi Sun,
In this case then you may need to change the type of messge from E to W or need to think of some other way.
As the screen fields you are validating, if you want in dispaly or editable mode, then you need to validate it in the CHAIN ..ENDCHAIN in the screen. Then only the field will be in the editable mode.
Regards,
Atish
07-21-2007 4:27 AM
while creating the screen ,you need to write the logic in PAI.
PROCESS AFTER INPUT.
CHAIN.
FIELD : field1,
field2.
MODULE field1.
MODULE field2.
ENDCHAIN.
if you write the code like,it will give error message but all fields are editable.
Thanks
Seshu