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

change message type

Former Member
0 Likes
752

hi,

there is a message FZ144 and this is a information message and i want to convert it to error message....is it possible....

shailendra

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
718

message i144(FZ) display like 'E'.

5 REPLIES 5
Read only

Former Member
0 Likes
718

Hi,

If the message is coming from SAP's standard program it is not possible but if it is coming from your Z prog.,you can write the message as:

MESSAGE '<MSG-DESCRIPTION>' TYPE 'E'.

Read only

Former Member
0 Likes
719

message i144(FZ) display like 'E'.

Read only

0 Likes
718

Folks,

The addition DISPLAY LIKE <msgty> works only 4.7 onwards. Please check your SAP release before trying this.

Suresh Radhakrishnan

Read only

Former Member
0 Likes
718

It is possible to display as Error message instead of Information message, you just needs to define in message statement.

you can use following way.

REPORT ztest_prg1 MESSAGE-ID FZ.

-


-


MESSAGE E144.

-


.

Regards,

Vishvesh

Read only

Former Member
0 Likes
718

If it is a system message you can't change it

However if you have your own custom message you can change it by assigning i to message type.

Message exxx.

where xxx is your 3digit message text.

Regards

Bikas