‎2008 Nov 13 5:26 AM
HI,
system is giving error/warning message
say
Message Identification VF
System Message Number 044
HOw can i analyse this message using message no.
Pl suggest
‎2008 Nov 13 5:40 AM
Check T100 table
give SPRSL - EN
ARBGB - VF
MSGNR - 044
The item is not relevant for billing is the error msg
‎2008 Nov 13 5:30 AM
hi,
goto se91 transaction.
give your message class ,number and click display.
‎2008 Nov 13 5:32 AM
Hi,
run the tcode se91
put 'VF' in message class.
message number in mesage no.provided
You will get the required message.
‎2008 Nov 13 5:40 AM
Check T100 table
give SPRSL - EN
ARBGB - VF
MSGNR - 044
The item is not relevant for billing is the error msg
‎2008 Nov 13 7:35 AM
hi,
Thx for replyin,
How can we find whether this message is a error or a warning message
‎2008 Nov 13 7:40 AM
Hi,
If it is a error message it won't allow you to proceed at all. If it is warning you can still hit "ENTER" and continue.
Regards
‎2008 Nov 13 7:43 AM
HI,
OK,
But i want to know in se91 or other tcode
how can i know whethere a message is made a error or warning message
‎2008 Nov 13 5:52 AM
Hi,
Got to Transaction Code 'SE91'.
Enter 'VF' in Message Class, Select the radio button 'Messages' and give the Message Number in the input field. And press display.
Now you can see the required message with the message Number.
Next Select that message and click on the Where used list icon, then you can see all the programs where this message has been used.
Hope this will help you.
Regards,
Ravi Kiran.
‎2008 Nov 13 7:45 AM
When the message is displayed you can check it directly. It will give the type of message, error or warning.
Also if you know which program produce this error message, you can go to the program and find out the statement calling the message like
message w/eXXX(message_class).
see the code. If it is 'w' before message number, it's warning; if it is 'E' , it's error. In message class there is no definition of message type. The same message, you can use it as a warning or a error. It's your choice.
‎2008 Nov 13 8:30 AM
You can display message using following syntax.
It depends on you whether you want to show it as error(E), warning(W), success(S) or Information(I).
You need to just give msg_id accordingly.
MESSAGE ID <msg_id> TYPE <msg_type> NUMBER <msg_num>.
Example:
MESSAGE ID 'E' TYPE 'VF' NUMBER '044'.
Regards,
Rohit
‎2008 Nov 13 8:45 AM
Hi SD,
Since "Identification VF" take the billing program for example. Go to TCODE SE38 and give program name as SAPMV60A (Billing). Search for MESSAGE in the program. You will find list of statements like
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
Here SY-MSGTY determines type of message.
MESSAGE ID 'V1' TYPE 'W' NUMBER 469 WITH VBRP-POSNR.Here message type is hard coded.
MESSAGE E102(O5) WITH SYST-PFKEY.In the above statement E represents error message
Regards
Edited by: Rajvansh Ravi on Nov 13, 2008 9:47 AM
‎2008 Nov 15 7:10 AM
Hi Raj,
Thx for replyin
i follwed the step as u said SE38 program name as SAPMV60A (Billing). Searched for MESSAGE in the program.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
i got this code from here how i procedd further
message id/ message type i'm unable to find like VF -044 E/W
Pl suggest
‎2008 Nov 17 5:09 AM
Hi SD,
The statement
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
as you can see has SY-MSGID, SY-MSGTY. SY stands for structure SYST (ABAP System Fields) and is populated at runtime so there is no way of specifically saying the above statement produced your error message.
If you want to specifically find out which particular statement caused the error then you have to debug the code SAPMV60A.
Proceed as follows
1. Carry out your transaction till the point just before the place where you get your error message.
2. Before you proceed further, put the command /H (in the command field-- Where you execute your normal TCODES). This activates debugging.
3.Now you have to create a breakpoint for the statement MESSAGE.
4. In debugging screen choose Breakpoints-> Breakpoint at -> Statement (SHIFT+F5).
5. In the following popup type MESSAGE.
6. This will create a breakpoint at all MESSAGE statements.
7. Press F8 till you get to your message "The item is not relevant for billing".
Regards
Rajvansh
‎2008 Nov 17 5:36 AM
Hi ravi,
after getting into debugging mode & setting break point
how do i remove break point & end debugging mode
Pl suggest
‎2008 Nov 17 5:37 AM
Hi,
In debugging choose Breakpoints -> Delete all.
Then press F8
Regards
‎2008 Nov 17 5:24 AM
hi
REPORT ZTEST3 message-id zajay.
report reprt name then message-id this is standerd then messege name.
u also crate in ur report
double click on zajay, u see create a message class then select message option
regads
ajay.