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

Suppress SAP error message

Former Member
0 Likes
711

Hi,

In XK02(change vendor) when I enter field 'Other city" i am getting SAP standard error message.

" Please specify other city only with PO Box or company postal code".

Now I need to suppress this message and have my own error message. Is this possible ? If yes how ?

Note:

This message is getting from message class AM and message number is 225. And program where this messsage thrown is LSZA1F22 - Line# 2974.

Any info. is very much appreciated.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
506

Hello,

I can think of two ways.

1. Find a user exit before this error occurs and there you can check for the condition and give your error

message

2. Enahnce the FM ADDR_UPDATE ( if you are using ECC 6.0 or above ) to check the same condition and giving your own error.

Hope this helps,

Raj

Hi,

In XK02(change vendor) when I enter field 'Other city" i am getting SAP standard error message.

" Please specify other city only with PO Box or company postal code".

Now I need to suppress this message and have my own error message. Is this possible ? If yes how ?

Note:

This message is getting from message class AM and message number is 225. And program where this messsage thrown is LSZA1F22 - Line# 2974.

Any info. is very much appreciated.

1 REPLY 1
Read only

Former Member
0 Likes
507

Hello,

I can think of two ways.

1. Find a user exit before this error occurs and there you can check for the condition and give your error

message

2. Enahnce the FM ADDR_UPDATE ( if you are using ECC 6.0 or above ) to check the same condition and giving your own error.

Hope this helps,

Raj