‎2007 May 30 6:37 AM
i need to trigger error message if user enter a specific qty at CJ20N, activity level,
in which method shall i use, i tried BEFORE_UPDATE method, but it triggers short dump, AT_SAVE method only enables at header level, is there any way i can trigger the error msg ? pls adivce
‎2007 May 30 6:58 AM
I checked the documentation for this BADI which says-
"Note that no system messages may be sent in the methods. The only exception is the AT_SAVE method. Within this method, a system message may be issued, but only if you trigger the exception ERROR_WITH_MESSAGE at the same time."
So , It doesnt seem to be possible for any other method as per the documentation.
Cheers,
Disha
‎2007 May 30 7:02 AM
Hi Disha,
yes i understood AT_SAVE method can be used to trigger error msg, but it did not fulfill my requirement , as it is triggered at the early of save, i need to check the material quantity at acitvity level, hence i cannot use this method..
‎2007 May 30 7:06 AM
So I guess, probably using this BADI , you will not be able to check material quanitity at the activity level.
You need to find some work aroind for doing so.