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

Message

Former Member
0 Likes
971

Please use a meaningful subject in future

Hi i'm doing ME22n Enhancement, i need to give error message, but its not allowing to give error message. if i give as 'I' or 'W', system will take.

if i give as 'E'. its not allowing...

wat can i do to solve this.

Regards

Suprith

Edited by: Matt on Dec 29, 2009 9:00 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
919

Hi Suprith,

Use Extension Display Like..

MESSAGE Wxxx .. DISPLAY LIKE 'E'.

Nag

7 REPLIES 7
Read only

Former Member
0 Likes
920

Hi Suprith,

Use Extension Display Like..

MESSAGE Wxxx .. DISPLAY LIKE 'E'.

Nag

Read only

vinod_vemuru2
Active Contributor
0 Likes
919

Hi,

I think you are using the BADI ME_PROCESS_PO_CUST for this. If yes, use macro mmpur_message_enaco for logging the messages. Enjoy T-codes works in different way compared to normal T-codes. ME22N has message log. Where as normal T-codes directly displays the messages.

You can refer to example implementation class CL_EXM_IM_ME_PROCESS_PO_CUST for sample code.

Thanks,

Vinod.

Read only

0 Likes
919

hi I'm writing code in SAPLV69A , its not allowing Error message.

i can display waring or information. if i give as type 'E'. its not allowing to do so

Read only

0 Likes
919

Hi,

just in case you could not read what has been posted:

MESSAGE Wxxx .. DISPLAY LIKE 'E'.

Read only

0 Likes
919

Hi,

Can you tell me in which include you are trying to implement the enhancement. I can see many error messages issued in this program by SAP. Can't we do in the similar lines? What exactly is happening after the error? If we give error in PBO of the screen, control will exit from the program.

Thanks,

Vinod.

Read only

matt
Active Contributor
0 Likes
919

Please use a meaningful subject in future

Read only

Former Member
0 Likes
919

Hi suprite,

use the following statment I hapo it may helps you.

MESSAGE 'Error in upload'(008) TYPE 'I' DISPLAY LIKE 'E' .

or

message 'error in upload' type 'E'.

Regards,

Tarun