purchase order creation
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.
Isssue message from BADi ME_PROCESS_PO_CUST
check from parameter:IM_HEADER.
but it will not issue EROOR message but it can be as warning or information message.