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

FM error message

Former Member
0 Likes
1,017

hi all!

I am using this Standared FM (ME_CONFIRMATION_CHECK_QUANTITY).

In this FM i want to convert error message to information messgae ( type 'E' to type 'I') without modify standared FM.

Is it possible to avoid come out of the program in error message?

thanks all

6 REPLIES 6
Read only

Former Member
0 Likes
906

Hi,

You can display Information message like this.

MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno.

Hope it helps.

Regards

Rohit

Read only

Former Member
0 Likes
906

After you get the message, you can use a loop.

field-symbol <fs>

loop at lt_msg asssigning <fs> where msgtype = 'E'..

<fs>-msgtype = 'I'.

endloop.

......

Read only

Former Member
0 Likes
906

Hi,

Can u tell me wats the message id and package/component?

Also if u no the actual message id and component u can go to SPRO transaction and change message control for message id in that area.

Please appreciate help.

Regards,

Ameet

Edited by: Ameet Jassani on Dec 5, 2008 1:44 PM

Read only

Former Member
0 Likes
906

Hi Dharam,

Both Message id and Package will be ME in this case.

Best Regards,

Deepa Kulkarni

Read only

Former Member
0 Likes
906

Hi Dharma,

Use the following syntax for the same:

MESSAGE e001 display like 'I'.

This will display your error message as a information message.

Hope this will help.

Regards,

Nitin.

Read only

Former Member
0 Likes
906

Thanks to all for replying.

I got it.