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

How to Suppress information message from Function module ?

Former Member
0 Likes
4,666

Hello Every one ,

I have a problem when executing the function module in RF Tranasaction , I have a requirement to create a handling units through COPAWA transaction, i am using few function modules which is using by transactions , in that the function module it is giving an information message from FM COHU_EXBEREIT_LINE_CHECK, i need to use this function module becuase it will validate the entries . that is the reason i am using it

but I want to suppress the message .,

Any suggestions , please.

Thanks in Advance.

Nags

1 ACCEPTED SOLUTION
Read only

awin_prabhu
Active Contributor
1,707

Add an Exception error_message while calling your function module in the program. It will suppress S, I, W messages


 EXCEPTIONS
   CHECK_ERROR      = 1
   OTHERS           = 2
   ERROR_MESSAGE    = 3.                 "  Add this line also

6 REPLIES 6
Read only

awin_prabhu
Active Contributor
1,708

Add an Exception error_message while calling your function module in the program. It will suppress S, I, W messages


 EXCEPTIONS
   CHECK_ERROR      = 1
   OTHERS           = 2
   ERROR_MESSAGE    = 3.                 "  Add this line also

Read only

0 Likes
1,707

I tried the above one in the program via editor, but i am getting the below error .

Erro message : " Formal argument 'OTHERS' must be at the end of the exception "

please let me know further.

Thanks

Nags

Read only

0 Likes
1,707

Its clearly says what to do?

Add OTHERS at the end of EXCEPTION

EXCEPTIONS
   CHECK_ERROR      = 1
      ERROR_MESSAGE    = 2.   
OTHERS           = 3.

Read only

0 Likes
1,707

Thanks for the reply.

Problem Sloved ..

Regards

Nags

Read only

0 Likes
1,707

Hi Nags,

Pleasa mark ALL useful answers

Read only

Former Member
0 Likes
1,707

Hi !,

I am unable to find right FMs to execute COPAWA can you please help on the same? I need to interface SAP and MII.

Regards,

Anoop