Application Development and Automation 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: 
Read only

purchase order creation

Former Member
0 Likes
614

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
Read only

Former Member
0 Likes
577

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
Read only

Former Member
0 Likes
577

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

Read only

Former Member
0 Likes
577

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

Read only

Former Member
0 Likes
577

hello ,

I am working on ECC6.

Swapna.

Read only

Former Member
0 Likes
578

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.