Application Development 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: 

Message

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Suprith,

Use Extension Display Like..

MESSAGE Wxxx .. DISPLAY LIKE 'E'.

Nag

7 REPLIES 7

Former Member
0 Kudos

Hi Suprith,

Use Extension Display Like..

MESSAGE Wxxx .. DISPLAY LIKE 'E'.

Nag

vinod_vemuru2
Active Contributor
0 Kudos

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.

0 Kudos

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

0 Kudos

Hi,

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

MESSAGE Wxxx .. DISPLAY LIKE 'E'.

0 Kudos

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.

matt
Active Contributor
0 Kudos

Please use a meaningful subject in future

Former Member
0 Kudos

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