Application Development and Automation 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: 
Read only

error/warning message

Former Member
0 Likes
4,651

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,100

Check T100 table

give SPRSL - EN

ARBGB - VF

MSGNR - 044

The item is not relevant for billing is the error msg

15 REPLIES 15
Read only

GauthamV
Active Contributor
0 Likes
3,100

hi,

goto se91 transaction.

give your message class ,number and click display.

Read only

Former Member
0 Likes
3,100

Hi,

run the tcode se91

put 'VF' in message class.

message number in mesage no.provided

You will get the required message.

Read only

Former Member
0 Likes
3,101

Check T100 table

give SPRSL - EN

ARBGB - VF

MSGNR - 044

The item is not relevant for billing is the error msg

Read only

0 Likes
3,100

hi,

Thx for replyin,

How can we find whether this message is a error or a warning message

Read only

0 Likes
3,100

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

Read only

0 Likes
3,100

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

Read only

Former Member
0 Likes
3,100

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.

Read only

Former Member
0 Likes
3,100

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.

Read only

Former Member
0 Likes
3,100

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

Read only

Former Member
0 Likes
3,100

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

Read only

0 Likes
3,100

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

Read only

0 Likes
3,100

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

Read only

0 Likes
3,100

Hi ravi,

after getting into debugging mode & setting break point

how do i remove break point & end debugging mode

Pl suggest

Read only

0 Likes
3,100

Hi,

In debugging choose Breakpoints -> Delete all.

Then press F8

Regards

Read only

Former Member
0 Likes
3,100

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.