09-30-2008 1:19 PM
Hi All,
I am working on Purcahse Order Creation.I need to display the EROOR message if the Purcahse doc type EKKo-BSART is 'XX'. and i will select the account assigmrnt category(EKPO-KNTTP) is different than as i needed and when i press enter the error needs to displayed.
How can i do tat.I anybody knows the naswer please help me out.
Thanks.
Swapna.
09-30-2008 2:27 PM
Isssue message from BADi ME_PROCESS_PO_CUST
Method:PROCESS_HEADER
check from parameter:IM_HEADER.
but it will not issue EROOR message but it can be as warning or information message.
09-30-2008 1:26 PM
Hi,
You can put the validation in the user exit : EXIT_SAPMM06E_012, corresponding to the enhancement : MM06E005
There is an tables paramter:TEKPO; Just loop at that table and then check for the type
Hope this helps you
Regards
SK
09-30-2008 1:27 PM
Hey swapna...which version you are working on? Is it ECC 6 or below?
09-30-2008 1:34 PM
09-30-2008 2:27 PM
Isssue message from BADi ME_PROCESS_PO_CUST
Method:PROCESS_HEADER
check from parameter:IM_HEADER.
but it will not issue EROOR message but it can be as warning or information message.