Application Development 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: 

Popup message shuld show..

Former Member
0 Kudos

Hi Experts, I have a requirement like in 'va01' process when I am trying to put some material it is showing message in down side ,in screen shot I have highlighted the area, but my requirement is like it should  come as a popup message. Which also I have given in screen shot 'mbsu'...how will I have to do that, can you please share your knowledge... Thanks Abhay manna

20 REPLIES 20

Former Member
0 Kudos

Hi Abhay,

Yes we can achieve this, can you provide me the message class and number! It seems to be it is a system messages!

Rg, Kiran

0 Kudos

Hi Kiran, Thanks for your reply. Could you please advice me how to get the message class and number..so that I could provide you....actually I am new in ABAP.. Thanks Abhay

0 Kudos


Hi Abhay,

Double click on the status bar of the messge , it will open one window there you will get the the message number and message class.

Once you get it , use transaction code SE91 matin the msg class and id ...do where used list.

Make the message tyep as 'I' in the relevant place from where you get the particular message.

Cheers,

Pravin

0 Kudos

Double click on the message and you will find the message ID and number!

0 Kudos

Hi, Please find the Attachment..

0 Kudos

Hi, Please find the Attachment... Thanks Abhay

0 Kudos

Hi,

I think you forgot attachment 

0 Kudos


This is different message .

You shloud clcik on message Material N50MF-907 has status: Check OLD Part Stock to get it's id and class.

0 Kudos

Hi Abhay,

I confused, which message you want to change the information message?

material N50MF-907 HAS STATUS: CHECK old PART STOCK

or

Please enter sold-to party or ship-to party ( VP 112)

Please confrim?

0 Kudos

Hi, I don't want to change message...I want to show that message in popup screen. Which is coming in downside it should come in popup box like I have given one example screen shot.. Thanks Abhay Manna

0 Kudos

This message was moderated.

0 Kudos

Hi Pravin, Thanks for your patience having on me...but after double clicking on the error message I am getting the window. There it is showing only message number. Not class..plz find the attachment Thanks Abhay

0 Kudos

Dear Abhay,

This is a bit confusing to pravin s. and kiran kumar who are trying to help you out here....

By Pop-up message in the thread , you mean Information message right? (as per the first screen shot)

So currently you have a warning message which needs to be changed to information message in VA01 as per your thread!

To add to the above

If the current warning message is shown by your code using user exits,then change the message TYPE from 'W' for Warning TO 'I' for Information in the code where it is written.Eg.Message W112(VP) should be changed to I11(VP)

Check SAP standard help to undestand the usage of Message statement

http://help.sap.com/saphelp_nw04s/helpdata/en/9f/dbaaaf35c111d1829f0000e829fbfe/content.htm

If the current warning message is issued in standard code then analyze as to where the message is being called and check for any enhancements.

Hope it Helps

0 Kudos

hi Byju Edamana ,             Thanks for your answer ..it s really helpful. But still I am not able to solve the problem ,yes you were right it warning message in VA01,and I have to show it as a information popup..as you told 'where the message is being called' I am not able to search that...as I am new in ABAP..so could you please help me by step by step procedure ..it would be very helpful for me.. Thanks Abhay Manna

0 Kudos

Hi Abhay,

Please double click on the message Material N50MF-907 has status: Check OLD Part Stock to get it's id and class.

You are provide the screen shot ( enter the sold to party and ship to party )??

Rg, Kiran

0 Kudos


Hi Abhay

Do one thing befor pressing enter switch on debugging. Then put a breakpoint->breakpoint at statment message.

It will stop before throwing this message. check what is the id their and all other details

Nabheet

0 Kudos

Dear Abhay,

One option is already provided by pravin s. (Please refer to the third thread reply).

This works only if you have used Standard message Class

I am assuming that the message (Material XXX has status.Check OLD part Stock)...is a custom message...

So here are the options to find the location of the message

(1) Use debugging.

In VA01 screen...before the triggering of the message(you know the conditions for the message to trigger) .....Activate Debuggin by transaction '/H' -> Use new debugger(bebugger -> Switch to new Debugger) -> Breakpoint -> Breakpoint At -> Breakpoint At statement -> Abap Cmds Tab -> enter the text "Message"  -> Press Enter...A success message "Break point Set" will be shown..

Press F8...Whereever message statement is used,the system will stop.Identify the one you want and note the include/program/routine to identify the statement.

(2) Use the Global search in program "SAPMV45A" and all realted user exists MV45A****  for the text...tiresome

Hope it helps

0 Kudos

Hi Abhay,

Please click on the Technical Information in the pop-up which appears after double clicking the message, it will open another pop-up with the Message Class and Message Number info.

Check the where used list to see from where the message is raised.

if its a custom code change the code W(Warning) to I(Information). this will show Pop_up Message.

0 Kudos

Hi

i don't know what is the main requirement , but my point of view Don't change the Standard message type "Warning message" to "Information Message " if you make any change in the standard configurations, SAP will not support at a later date when you go for any up gradation in your SAP Instance , other wise check any BADI or Exit for your requirement .

Regard's

Smruti

Former Member
0 Kudos

To add to all the above posts,following is a recent blog that suits your requirement on how to obtain the point as to where the message is raised....

http://scn.sap.com/community/abap/blog/2013/11/15/six-kinds-of-debugging-tips-to-find-the-source-cod...