2007 Aug 03 6:10 AM
Hi All,
I am using a select option "Billing key date" on selection screen.
When user enters Date to greater than Date from then, I want that error message "Billing key date -From Date must be before Billing key date - To Date" should be displayed on screen.
I have put validation for this at AT SELECTION SCREEN.
Instead of getting my custom erro message I am getting standard SAP error message "Lower limit is greater than Upper limit".
I tried to debug, but the error message is coming just after /h -Enter.
Please suggest some way by which I can avoid standard SAP message & my custom message is displayed.
Regards,
Vijay
2007 Aug 03 6:18 AM
Hi
For Date fields SAP std validation is like that
you can't change it.
Anyhow it means the same (yours and SAP's)
<b>Reward points for useful Answers</b>
Regards
Anji
Hi All,
I am using a select option "Billing key date" on selection screen.
When user enters Date to greater than Date from then, I want that error message "Billing key date -From Date must be before Billing key date - To Date" should be displayed on screen.
I have put validation for this at AT SELECTION SCREEN.
Instead of getting my custom erro message I am getting standard SAP error message "Lower limit is greater than Upper limit".
I tried to debug, but the error message is coming just after /h -Enter.
Please suggest some way by which I can avoid standard SAP message & my custom message is displayed.
Regards,
Vijay
2007 Aug 03 6:13 AM
Hi Vijay,
Instead of putting the validation in the event AT SELECTION SCREEN,
try to use it in the event
AT SELECTION SCREEN ON FIELD.
Check if the lower limit is greater and if yes, provide custom error message.
<b>Reward points for helpful answers.</b>
Best Regards,
Ram.
2007 Aug 03 6:14 AM
Hi Vijay,
For select-option there is no need to have any validations for lower and upper limit. SAP will take care of it and it is the standard way.
Regards,
Atish
2007 Aug 03 6:17 AM
Hi Vijay,
If still you want to modify this functioanlity then you need to do this by modifying the screen in CHAIN...ENDCHAIN.
By default the selection screen 1000 generates, you need to modify it then it may work.
Regards,
Atish
2007 Aug 03 6:18 AM
Hi
For Date fields SAP std validation is like that
you can't change it.
Anyhow it means the same (yours and SAP's)
<b>Reward points for useful Answers</b>
Regards
Anji
2007 Aug 03 6:18 AM
HI Vijay,
This is SAP standard check on select-option and will come always.
2007 Aug 03 6:19 AM
Hi
With ranges, the lower limit must not be greater than the upper limit.
You cannot forego this restriction and add your own custom message. These restrictions are placed by SAP and cannot be skipped.
Regards
Raj
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |