‎2010 Jun 14 5:28 AM
Hi all,
Help me in the issue . I am performing some validations on fields in the module pool screen , When i give an error message , all the fields are greyed and user cannot input any values after that . How to solve this problem . i tr
‎2010 Jun 14 6:07 AM
Hi Eric ,
Whenever we show the error message , its the property associated with it that , it will gray out all the input fields , so in your case what you can do is
1. Either show the warning message so that you can still be able to input the new values in fields
2. Or if it is not possible to use any other type type of error other that the ERROR then you can make use of Chain End-chain. It will resolve your problem.
Regards,
Uma
‎2010 Jun 14 5:33 AM
Please elaborate your question..! What Kind of validation you are performing
‎2010 Jun 14 5:43 AM
Hi,
I am doing sales order type validation, sales order distributionchannel combination validation i am performing if there no combination i am throughing an error message so that user can change the distribution channel but the fields are greyed out for input . i used chain and enchain for getting rid of this error but still its not working
Thanks in advance,
‎2010 Jun 14 5:46 AM
Are you doing it in a exit or BADI , and what kind of Message you are throwing...!
‎2010 Jun 14 5:53 AM
it is a custom module pool screen , with screen parameters as sales order type ,distribution channel ,storage location i am doing validation on these three parameters using chain and endchain i am througing error message when the above screen parameters mismatch
‎2010 Jun 14 6:46 AM
Hi
See there are 2 scenarios u will handle .
1. Validation on inputs made on screen
2. Greying out input fields for making change only in distribution channel ,on occurence of error.
For 1, Make use of event PAI.do take of help of flag variable (char 1)
For 2 Make use of event PBO.
This Flag variable will be used in PAI event once error messg triggered.this value of flag variable could be used in PBO for screen change.
Hope this helps.
Regds,
Abhee
‎2010 Jun 14 6:46 AM
Hi
See there are 2 scenarios u will handle .
1. Validation on inputs made on screen
2. Greying out input fields for making change only in distribution channel ,on occurence of error.
For 1, Make use of event PAI.do take of help of flag variable (char 1)
For 2 Make use of event PBO.
This Flag variable will be used in PAI event once error messg triggered.this value of flag variable could be used in PBO for screen change.
Hope this helps.
Regds,
Abhee
‎2010 Jun 14 6:07 AM
Hi Eric ,
Whenever we show the error message , its the property associated with it that , it will gray out all the input fields , so in your case what you can do is
1. Either show the warning message so that you can still be able to input the new values in fields
2. Or if it is not possible to use any other type type of error other that the ERROR then you can make use of Chain End-chain. It will resolve your problem.
Regards,
Uma
‎2010 Jun 14 6:20 AM
HI uma,
Thanks for the reply i am using
chain.
FIELD field
MODULE check.
endchain.
but stil when the error message comes the fields are greyed out.Please sugges the solution
‎2010 Jun 14 6:26 AM
HI,
R u using the single field in the chain endchain ? if yes remove chain just use
field : fieldname module modulename on-request
‎2010 Jun 14 6:29 AM
‎2010 Jun 14 6:33 AM
Can u show the flow logic which u have writen ? or else i dont think there is any issue ..
‎2010 Jun 14 6:36 AM
‎2010 Jun 14 6:47 AM
Hi uma,
In
Chain
Field field-name module check
endchain
in the module i am validating sales order type , distribution channel , storage location etc , for each combition i am using one error message . should i keep each field in chain and endchain.
Thanks in advance,
‎2010 Jun 14 6:52 AM
Hi ,
Yes you should keep all the fields in chain end chain who you want to get enabled for input again.
Are you writing this logic in PAI ?
You can do a F1 in chain end chain for exact syntax .
Regards,
Uma
‎2010 Jun 14 6:47 AM
Hi
See there are 2 scenarios u will handle .
1. Validation on inputs made on screen
2. Greying out input fields for making change only in distribution channel ,on occurence of error.
For 1, Make use of event PAI.do take of help of flag variable (char 1)
For 2 Make use of event PBO.
This Flag variable will be used in PAI event once error messg triggered.This value of flag variable could be used in PBO for screen change.
Hope this helps.
Regds,
Abhee