Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

purchase order creation

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

former_member181995
Active Contributor
0 Kudos

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.

4 REPLIES 4

Former Member
0 Kudos

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

Former Member
0 Kudos

Hey swapna...which version you are working on? Is it ECC 6 or below?

Former Member
0 Kudos

hello ,

I am working on ECC6.

Swapna.

former_member181995
Active Contributor
0 Kudos

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.