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

ME51N error

Former Member
0 Likes
1,057

Hi,

When I Execute ME 51N am facing an error ": For order type ZTWA ,Please use account assignment T"

Here my issue is whenever I press back ,Exit etc its promoting the same error i couldn't go back or exit the transaction.

One more thing i have enhanced ME51N using BADI - ZMMEI_PTP15_SERVICE.

Thanks in advance

Hi,

When I Execute ME 51N am facing an error ": For order type ZTWA ,Please use account assignment T"

Here my issue is whenever I press back ,Exit etc its promoting the same error i couldn't go back or exit the transaction.

One more thing i have enhanced ME51N using BADI - ZMMEI_PTP15_SERVICE.

Thanks in advance

5 REPLIES 5
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
890

You can click the cancel button

Read only

0 Likes
890

Hi kesav,

Nothing is working even the cancel button...when i click on back exit cancel its throwing the same error....

Read only

Former Member
0 Likes
890

hi,

may be there is something written in the exit that you have changed that might be the reason for this error. Try commenting your code and then executing the tcode ME51N. Check if you are getting the similar error. If yes then try account assignment for that order type. Maybe the functional consultant (MM) can help you in this. And if no, then something is wrong in the code, so, uncomment your code and debug to find out the actual reason for the error.

You can also try using different order type to cross check your code. Maybe use order type which has account assignment as well as use some order type that does not have account assignment.

Read only

Former Member
0 Likes
890

Hi,

Did you manianted the PF-status ?

check it out and wheather you used the same Function code in the code.

Otherse it may happne becoz of another Exit used in the same project.

Debug the Tcode once.

Regards,

Pravin

Read only

0 Likes
890

Hi,

When creating the PR in ME51N after entering the item data and service limit details am facing an error message like "order type is not matching with account assignment category".

Here my problem is whenever i click on BACK,EXIT AND CANCEL OR anything on the screen its throwing the same Error message not allowing for any other functionality to happen.

This Error message we have written in FM: MS_ACCOUNT_ASSIGNMENT_SERVICE using Enhancement implementation from se19.

Can anyone help me out in this issue.

Thanks