06-11-2013 8:40 AM
Hello Experts,
If the order quantity is less than the minimum order quantity system is raising a error message while creating a purchase order for ME21N and other.
But we don't want this error while creating the purchase order with transaction WRP1.
in system messages we changed the message warning to error.
Kindly suggest.
06-12-2013 10:26 AM
So you could revert back to warning message by default, and execute the check in BAdI ME_PROCESS_PO_CUST in a method like IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM to raise an error message if SY-TCODE is not WRP1 ?
Regards,
Raymond
06-12-2013 9:37 AM
Hi Avnesh,
Please check the configuration of this messages from where it is picking.Other option is try with badi
me_porcesss_po_cust and make sure trigger for only me21n.
Regards,
Madhu.
06-12-2013 10:26 AM
So you could revert back to warning message by default, and execute the check in BAdI ME_PROCESS_PO_CUST in a method like IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM to raise an error message if SY-TCODE is not WRP1 ?
Regards,
Raymond
06-12-2013 2:36 PM
thanks for your reply's.
Solved by self.
By using enhancement option i restricted the t-codes without entering into that piece of code.
Regards,
Anvesh
06-13-2013 5:02 AM
Hi Avnesh,
Good.It will be good if you mention which enhancement point you used.If some one get the same issue will be useful.
Regards,
Madhu.
06-14-2013 7:16 AM
Hi Madhu,
Actually it is warning message in SPRO customization.But functional changed it to Error.
So i restricted in the program by using implicit enhancement for the transaction WRP1 and ME59n
in standard program.
Many thanks,
Anvesh