06-30-2005 4:51 PM
Hello all,
I am trying to find a userexit to validate certain things the material master before the PO is saved.
Then send an error message in case there is something wrong don't allow save the PO until that has been corrected.
does anybody come across a similar situation?
Thank you
06-30-2005 7:20 PM
Try using the exit MM06E005. Here you can validate the customer fields in a purchasing document.
Thanks,
Prerna
06-30-2005 7:20 PM
Try using the exit MM06E005. Here you can validate the customer fields in a purchasing document.
Thanks,
Prerna
06-30-2005 7:29 PM
I want to validate the existance of certain view like storage, accounting, costing views and certain fields within these views
Do you think is possible with that exit you mentioned?
Thanx
06-30-2005 9:53 PM
Hi,
It depends which exactly fields you want to validate.
Review interface paramaters of function modules assigned for user exit MM06E005.
For me most useful was EXIT_SAPMM06E_012.
And don't forget to use
MMPUR_MESSAGE_FORCED
instead of
MESSAGE command.
Krzys
06-30-2005 10:08 PM
07-01-2005 8:44 AM
Just like MESSAGE statement:
MMPUR_MESSAGE_FORCED 'E' 'ZMM' '001' '' '' '' ''.
First parameter is message type then message class, message number and 4 variables.
Krzys