2008 Mar 10 2:45 PM
In VA01 when I'm trying to validate customer field ( through user-exit FORM USEREXIT_MOVE_FIELD_TO_VBAK.), the field is getting disabled thereby not allowing to enter the customer number again.....I'm having to go back and come again if i want to re-enter the customer value. how can we enable there itself after displaying an error message if validation fails?
In VA01 when I'm trying to validate customer field ( through user-exit FORM USEREXIT_MOVE_FIELD_TO_VBAK.), the field is getting disabled thereby not allowing to enter the customer number again.....I'm having to go back and come again if i want to re-enter the customer value. how can we enable there itself after displaying an error message if validation fails?
2008 Mar 10 2:49 PM
or else try using information message with a STOP command so that it gives message but stops there itself unless the correct value is speciifed.
2008 Mar 13 3:53 PM
The only way these fields can be open for input during an error message is if the error message was issued during the processing of MODULE KUNDEN_PRUEFEN of screen 4701. You will have to look for an userexit that is called during this modules processing. If not, you will have to use an ehancement spot (if you are on ECC 6.0) or a modification to standard SAP (if below version ECC 6.0).
2008 Mar 14 3:33 AM
2008 Mar 14 6:25 AM
Thanks a lot for ur answer....
Similarly if I want to validate the partners entered in VA01....i.e. if I enter a wrong partner then I'll display a error message but afte this the entire table control for partners is getting disabled, how can we keep it enabled inspite of giving the error message..
Where do u think I should put my logic....
2008 Mar 14 6:27 AM
Thanks a lot for ur answer....
Similarly if I want to validate the partners entered in VA01....i.e. if I enter a wrong partner then I'll display a error message but afte this the entire table control for partners is getting disabled, how can we keep it enabled inspite of giving the error message..
Where do u think I should put my logic....
2008 Mar 17 2:22 PM
Some basic questions before I research and answer where to put your validation:
1) Why do you have to validate partners determined and defaulted during sales order processing?
2) Are users allowed to override these default (determined) partner values?
3) If yes, why? - Just curious
Based on these answers, configuration changes might be recommended.
2008 Mar 18 10:24 AM
1) Users wont be overriding the existing partners, they'll only be adding to the existing partners. So Validation needs to be done for the new entries.
2) We would like to make sure that the partners other than the defaulted exist in DB table KNVP(customer master Partner functions)
Hope this answers your questions.
Thanks you very much for your interest.
Regards,
Harshu
2008 Mar 20 5:47 PM
You could add an enhancement point in function module SD_PARTNER_EXISTENCY_CHECK to validate the partner or in FORM ON_REQUEST_1000 of program LV09CF66.