‎2008 Mar 01 4:19 PM
Hi Abapers,
How can we create ERROR MESSEAGE?
Waht is the T-Code used?
Early reply is highely appriciable?
Regards,
chow
‎2008 Mar 01 4:23 PM
Step1
Go to TCODE SE91
Create Message Class ZMSGID.
001 - Wrong Entry.
Step2
Create a program
Message E001(ZMSGID).
This will give you a error message.
santhosh
‎2008 Mar 01 4:21 PM
In order to add new messages of any type, go to transaction SE91 and create a new message class or add new mesages to an existing one.
‎2008 Mar 01 4:23 PM
Step1
Go to TCODE SE91
Create Message Class ZMSGID.
001 - Wrong Entry.
Step2
Create a program
Message E001(ZMSGID).
This will give you a error message.
santhosh
‎2008 Jul 02 7:22 AM
Or you can use a FM:
CALL FUNCTION 'BALW_BAPIRETURN_GET2'
EXPORTING
TYPE = 'E'
CL = 'ZMSGID'
NUMBER = '001'
IMPORTING
RETURN = wa_return.
APPEND wa_return TO return.
Edited by: dries droesbeke on Jul 2, 2008 8:22 AM