12-29-2009 6:54 AM
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
12-29-2009 6:57 AM
Hi Suprith,
Use Extension Display Like..
MESSAGE Wxxx .. DISPLAY LIKE 'E'.
Nag
12-29-2009 6:57 AM
Hi Suprith,
Use Extension Display Like..
MESSAGE Wxxx .. DISPLAY LIKE 'E'.
Nag
12-29-2009 7:07 AM
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.
12-29-2009 7:13 AM
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
12-29-2009 8:35 AM
Hi,
just in case you could not read what has been posted:
MESSAGE Wxxx .. DISPLAY LIKE 'E'.
12-29-2009 1:39 PM
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.
12-29-2009 8:01 AM
12-29-2009 9:03 AM
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