‎2005 Oct 20 1:20 PM
Hi all,
I am using Message handling .
Ex.. MESSAGE E000.
But error is "MESSAGE-ID xx" is missing in the "REPORT" statement.
What would be error?
Thanks,
Shashikanth.
‎2005 Oct 20 1:22 PM
Hi,
You have to give the message class either in the Report header ie with REPORT ZTEST MESSAGE-ID Z1 or with the MESSAGE command like
MESSAGE E000(Z1).
Z1 is the message class. In your case it will be different.
Kindly reward points if this is helpful.
Cheers
Vinod
Message was edited by: Vinod C
‎2005 Oct 20 1:22 PM
Hi,
You have to give the message class either in the Report header ie with REPORT ZTEST MESSAGE-ID Z1 or with the MESSAGE command like
MESSAGE E000(Z1).
Z1 is the message class. In your case it will be different.
Kindly reward points if this is helpful.
Cheers
Vinod
Message was edited by: Vinod C
‎2005 Oct 20 1:37 PM
Hi,
give like this...
<b> MESSAGE ID id TYPE mtype NUMBER n.
MESSAGE ID 'here you need to give your msg class' TYPE 'I' Number '001'</b>
double click on 001 and type your msg....
for example
<b>MESSAGE ID 'A1' TYPE 'I' Number '001' WITH 'Do you want to continue.'.</b>
Sends a message. Messages are stored in table T100, and can be maintained using Transaction SE91. They are fully integrated in the forward navigation of the ABAP Workbench.
The ABAP runtime environment handles messages according to the message type specified in the MESSAGE statement and the context in which the message is sent. There are six kinds of message type:
tpyes( )
A (Abend)
Termination
E (Error)
Error
I (Info)
Information
S (Status)
Status message
W (Warning)
Warning
X (Exit)
Termination with short dump
Messages are used primarily to handle user input on screens. The following table shows how each message type behaves in different contexts. The numbers are explained at the end of the table.
regards,
venu.
‎2005 Oct 20 1:41 PM
in the report heading include like this
report zxxxxxxxx message-id zx
cheers,
sasi
‎2005 Oct 20 1:44 PM
Hi
yes you are right..
This addition specifies the standard message class for the main program. This contains the messages used with the simple MESSAGE statement.
Note
This message class must not be enclosed in quotation marks.
You can use a namespace prefix with message class names.
Example
<b>REPORT RSTEST00 MESSAGE-ID SY.</b>
reward points for helpfull answers.
regards,
venu.