Display of Messages
Hi,
My client has requirement that,when a Employee Lo-gin to there system Birthday/Anniversary wishes must be displayed on there system.Can anyone suggest me how to proceed forward in this case.
Regards
Hi,
Yes you can do the same. ( Considering ECC).
1. Create Z report which will fetch the details of birth day. If it is same with sy-datum provide pop-up or birthday wish. ( You can send the mails also)
2. Make T Code of this report.
3. Assign it to Set start transaction ( Default).
If you want to do the same in ESS please ask EP consultant to do the same.
Thanks,
Ketul
Similar Messages
-
Unable to display information message written inside badi
Hi All,
In customer creation i want to display Info message after pessing save button. I have written the message inside the badi. I can see my message in debugging mode in status bar, which on debugging mode off can't able to see. I tried with more than 25 scenarios got from SDN forum as well as suggested by someone.
Please reply if u have implemented sucessfully the same kind of reqirement.
Thanks in advance.Hi Keshav,
I wrote message inside the method preset sale area of badi customer_add_data.
The message ls "Message 'some text' type 'I' "
In debugging mode when the cursor reaches to my message then as soon as i press F5, this message get displayed in the status bar and with one more F5 it disappears.
So like this i wrote that the message appears only in fraction of second that when without debugging mode i process the transaction it doesn't appears and i can't see this.
Thanks. -
Display error message in batch job log
Hello
I have a batch job running and I have an error coming during some validation logic.
The problem is I need to continue the batch job when this error message comes and it should not cancel the batch job as it is doing currently but display that error message in batch job log, there are more similar error messages coming in job log and job gets finished, but when my error message comes job gets cancelled.
I cannot give it as info message as it will give wrong idea about message type.
Is there any FM by which we can add message in job log?Sanjeev I have done that but problem is I do not want to give that as Information message but Error message only and continue processing.
If you see in screenshot 3rd message is given by me as information and you can see error messages also 6th and 7th and job continued till it is finished
Basically I want that 'I' to be displayed as 'E'.
Display error message in batch job log -
How do you build a web page to display queued messages ?
How do you build a web page to display queued messages in all states?
Thanks,
Reeta
Reeta Joseph Benoy
EDS@XEROX
Database Administration
1350 Jefferson Rd
Rochester, NY 14623You can build a form to a procedure in oracle portal that explores the queue with the option browse and prints de type message with htp package. I made it in this way and my applicattion works right. The procedure must loop the select count(msgid) from aq$[queuetable_name] times.
-
The Problem/s
1. I am unable to sync my iPhone 4S with my Mac Book Pro, either by cable, wifi or bluetooth
2. iTunes will initiall open and briefly identifies the iPhone in the Device section in iTunes.
3. When iTunes starts to read the iPhone (displaying the spinning wheel), it immediately then quits and
4. Opens a 'dialogue box' which displays the message "iTunes Quit Unexpectedly"
5 The dialoge box offers the following button options to:-
'Show Details'
The 'Show Details' button will open and display a list of the 'Problem Details and System Configeration'. To the average user the information is useless, as one doesn't know what to look for to solve the problem. This is a long and detailed report (too long to include in this message), which includes information such as:-
Crashed Thread: 20
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000006f0
'OK'
The 'Ok' button simply quits and closes the dialogue box
'Reopen'
The 'Reopen' button will again reopen iTunes, briefly showing that it is trying to read the iPhone in the Devices section, but then returns again to display the same dialogue box.
Other Information
1. iTunes will still start normally once the USB cable is removed from the Mac book Pro, but crashes again once the USB cable is reattached to the computer
Any advice or help offered would be greatly appreciated.
Sincerely
Rob
Message was edited by: RobmanricoHi there anaqeed,
I would recommend taking a look at the troubleshooting steps found in the article below.
Issues installing iTunes or QuickTime for Windows
http://support.apple.com/kb/ht1926
-Griff W. -
i buy apple mac book on 12.04.2012, mac osx 10.7.2, 500gb hdd,4gb ram, i installed ilife '11 in it, after installing ilife '11 when i opened iPhoto its display a message"You can’t open your current photo library using this version of iPhoto,You have made changes to your photo library using a newer version of iPhoto. Do you want to quit and use the latest version of iPhoto, or do you want to create a new photo library? but option coming only quit, when i check for software update it shows ur software is up to date, waht can i do sir, how can i use my iphoto???
Make sure you are updated to the latest version - 9.2.1
LN -
How do I display a message in the message area of a report with SALV?
Hi,
How do I display a message at the bottom of the screen of a report (don't know the correct name for the area, but it's the area where error messages normally appear) using the CL_SALV_TABLE object model?
Is there a method in the object model somewhere that will place some text of my choosing in that area for me?
I hope I stated that in an understandable way.
If not, let me know and I'll try again.
Thanks for your help!
AndyHi Andrew,
you can issue an error message to be displayed as an error message:
MESSAGE ID .. TYPE 'S' NUMBER .. DISPLAY LIKE 'E'
TYPE 'S' messages are displayed in the status area of the next screen processed, program flow is continued after the message statement. The DISPLAY LIKE 'E' causes the message to be displayed in red color as an error message.
Regards,
Clemens -
How can i display a message box when error comes in jsp?
Hi,
i need to display a message box whenever an error comes in my jsp. Actually my appln is that i am creating a bar chart using one applet by taking data from the database. When a user does not select a number data for y axis, now in the centre of the web page one java error is coming. "not in number format". it is looking very odd.
so i want to display the error in a message box whenever it comes as above. pls help me how can i do the same...
Regds,
Abhi...Hi,
thanx for ur response. so u mean to say that i can
display the errors in the web page itself instead of
displaying as a message box?Either way. You can have the JSP send a message to the applet to display a message box. Or you can just have the JSP do it. or you can have the applet detremine if the JSP would produce an error and then display the message it would display.
>
actually i am using servlets. jsp pages are used only
as the front end. all the background works are doing
in servlet only.It should be the same in any case. Is the applet connecting to the JSP pages or are you having the browser do it?
>
pls get back... -
How can i display warning messages in user exit EXIT_SAPLMGMU_001 (MM02)
Hi all,
while modifying the material master using MM02, i have added new conditions to display messages in user exit EXIT_SPALMGMU_001.
But using this user exit i am not able to display warning messages.
Can you please help me with this?
Sample code which i have included in exit :
SELECT SINGLE mstav FROM mara
INTO w_mstav
WHERE matnr = wmara-matnr.
IF wmara-mstav NE w_mstav.
IF wmara-mstdv NE sy-datum.
wmara-mstdv = sy-datum.
MESSAGE w177(z03_mm) WITH text-s04 text-s21.
ENDIF.
ENDIF.
Thank you all in advance.As written in the SAP documentation of the Enhancement , you can only raise error message using a
MESSAGE .. RAISING APPLICATION_ERROR.
You could manage the "warning" yourself, sending an error first time and keeping a trace of the check in some STATICS variable, and not raising the error again if data input remains unchanged between two call of the include.
<i>----
EXIT_SAPLMGMU_001
Where Is the Customer Exit - EXIT_SAPLMGMU_001 called?
The customer exit is in function module MATERIAL_UPDATE_ALL. The
function module checks the data for errors (logical relationships,
foreign keys, fixed domain values, and so on) when the material master
is updated.
Use
o New fields
You can make checks possible for new fields of your own. These
checks must be identical to the checks that you carry out for your
new fields in online maintenance.
o Existing fields
For existing fields, you can extend and intensify the checks.
You can also change data for descriptions and general material data
(MARA). For example, the descriptions can be generated from attributes
of the material.
Limitations
You cannot bypass existing checks.
Interface to Application
The respective data of the current logical transaction is contained in
the structures, for example, in structure WMARA for MARA. Nonrelevant
structures are transferred with their initial values.
General material data that can be changed (CMARA) has the structure
MARU. This MARA view contains fewer internal fields than MARA itself. If
WMARA is filled, CMARA is also filled when accessed.
The customer exit contains the exception APPLICATION_ERROR for your
self-defined error situations.
Using the language element MESSAGE .. RAISING APPLICATION_ERROR, you can
terminate the current (logical) transaction and display your message in
the log. </i>
Regards -
public class Userdefined extends Exception {
Userdefined(String sparam){
System.out.println(sparam);
Userdefined(){
private static int acno[]={100,105};
private static double bal[]={100.00,200.00};
public static void main(String args[]) {
try{
for(int i=0;i<2;i++)
System.out.println("ACCCCNO------>"+acno[i]+"BAl------>"+bal);
if(bal[i]<150.00)
Userdefined udexp=new Userdefined("bal less");
throw udexp;
catch(Userdefined e){
System.out.println("--->"+e);
How can i display the message "less amt" using my parmeterized constructor.VinayTK wrote:
How can i display the message "less amt" using my parmeterized constructor.Erm ... what? You can't --- at least not with the stuff you've got there.
A properly formed question, with some idea of what you're trying to accomplish would be a huuuuge help.
Winston
BTW: Congratulations. At my age, 'first's in computing are rare; but it's definitely the first time I've seen an Exception class with a main() method.
Edited by: YoungWinston on Sep 1, 2009 9:46 AM -
My iphone 4 started displaying a message box with the following message: "This accessory is not optimized for this phone. You may experience noise and loss of battery." My question is: Why is this happening and how do I fix it? (I'm losing battery power precipitously). Thanks in advance for any assistance with this question.
Thanks Kilted Tim, you solved the problem. I'm mightily impressed at the simplicity of the solution!
Jaded Kane -
My iPad won't let me sign into my Apple ID when I try and download an app it asks for my id and password and when i type it in the iPad displays a message saying cannot connect to iTunes Store. However when i do this on my phone it works perfectly. Even when i sign in and out.
Has anyone else had this problem? If so how can I fix this?Remember, any purchased item from the itunes store is forever associated with the Apple ID used to buy it. So when you get prompted for an ID/password and it doesn't accept it, then you are using the wrong ID.
Go to Settings>iTunes and App Stores, be sure it's logged into the ID you have set on the iphone (since that one seems to be connecting with the right ID). If you've done this, then you might wait a bit to see if the "cannot connect to .. store" message has to do with internet connections. -
Any way to display a message when Flash is not found on the iPad?
Apple is obviously rejecting Flash to protect it's 'App' revenue. I've been on Android phones that run Flash and display all my content perfectly smooth. It can be quite frustrating how they are trying to bury it when I still have yet to see HTML5 replicate the type of interactive content Flash is capable of producing.
Is there any way to display a message on the iPad when the Flash player is not found?
I'd like it to says something along the lines of:
"Unfortunately the Apple iPad does not support the Flash player because their business interests do not want it taking away from their App revenue.
Did you know that the Dell Streak, HTC Flyer, Blackberry Playbook, Motorola Xoom, Samsung Galaxy Tab, Toshiba Thrive, and HP Touchpad all support the Flash player?"
My HTML code looks something like this...
<html>
<head>
<title>My Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#ECECEC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<body onresize="setFlashSize()">
<div id="flashid" style="width:100%; height:100%;">
<script type="text/javascript" language="JavaScript">
function setFlashSize(){
var viewportheight = document.body.clientHeight;
var viewportwidth = document.body.clientWidth;
var mydiv = document.getElementById("flashid");
var styleheight = parseInt(mydiv.style.height);
var stylewidth = parseInt(mydiv.style.width);
if (viewportwidth<880){
document.getElementById("flashid").style.width = 880+"px"; }
else {
document.getElementById("flashid").style.width = 100+"%";}
if (viewportheight<760){
document.getElementById("flashid").style.height = 760+"px"; }
else {
document.getElementById("flashid").style.height = 100+"%";}
setFlashSize();
document.write('<object data="index1.swf" width="100%" height="100%" type="application/x-shockwave-flash">');
document.write('<param name="movie" value="index1.swf" />');
document.write('<param name="allowScriptAccess" value="always" />');
document.write('</object>');
</script>
<noscript>Javascript must be enabled to view Flash movie</noscript>
</div>
</body>
</html>Use swfobject for Flash detection and you can provide all kinds of alternate content... simple text, images, links, .js slideshow, a mov or mp4 video just for the iPhone... ANYTHING this is regular HTML. Your imagination is the only limit.
And YES, HTML5 is a far cry from replicating Flash... so give them the best of both worlds.
http://code.google.com/p/swfobject/
Review this article which deals with Flash and SEO for more ideas:
If you think that Flash is somehow bad for SEO, it's time to dispell that MYTH!
If fact, in some circumstances I'll use Flash INSTEAD of just HTML because then I'll have better SEO than with just HTML alone.
http://www.worldbarefootcenter.com/
The link to World Barefoot Center in the above post is just one example. View the source code and you see a couple paragraphs of text along with regular HTML links.... but what displays is the Flash version of the image and Flash links.
The client provided the artwork for the page... and that's what they wanted to use a .jpg image. Well yes, that could be done in HTML but it would be virtually invisible to Google. So Instead I converted the image into a Flash .swf and used swfobject to display the Flash. swfobject allows you to create alternate content inside the <div> which also holds the Flash .swf, then when the page is loaded it detects if the browser has the Flash pluggin. If it does, it displays just the Flash content, if not, it displays the alternate content. Since almost everyone has the Flash pluggin, for most people the Flash version of the <div> will display.
The alternate content for that <div> can be any regular HTML text, images, media player, links, etc., anything that you would use if you were not using the Flash. Now the best part is that the alternate content can be "over the top" as far as optimizing for SEO, since it will not be seen by most viewers.
Here's another example of SEO with Flash.. again, the page is just a single image provided by the client:
http://www.ksowetsuits.com/
View the source code. The alt content is paragraph after paragraph of information about the site, including lists and links. If it was just the HTML, it might be kind of a boring Home page. But for SEO I can go "over the top" in promoting the site, since most viewers will never see that part... but it's all indexed by search engines. The end result is BETTER SEO using Flash than just HTML.
On another Web site, a Flash video is displayed, the alt content is the complete text narration of the video. Now how many people would take the time to read that if they could just watch the video instead?? again, better SEO with Flash than without. In fact in one case we had first page search result from that video narration within 4 hours of posting the page.
On still another site with a Flash video, the alt content is another video, but a .mov version, which will, in effect play Flash video on the iPhone (not possible you say??). Well since the iPhone does not have Flash pluggin, it simply displays the .mov version of the video, while everyione else sees the Flash version.
So anyway, if Flash is a part of your Web development, you should look into using swfobject and alternate content.
http://code.google.com/p/swfobject/
Best wishes,
Eye for Video
www.cidigitalmedia.com
Adninjastrator -
Displaying multiple messages in a single view
Hi,
I am trying to display two diffrent messages in same view. for this i am using two different message area UI elements. When I use the code wizard to generate the message,same message is being displayed in two message areas. But i do not want that functionality.
If error1 happens, I want the message1 to be displayed in Message area1.
if error2 happens, I want the message2 to be displayed in Message area2.
anyhelp would be appreciated.
thanks,Hi,
In the method you need to write the code for both the errors,
get message manager from code wizard and call the method report_error_message.
For both errors write the code below:
*get message manager
DATA lo_api_controller TYPE REF TO if_wd_controller.
DATA lo_message_manager TYPE REF TO if_wd_message_manager.
lo_api_controller ?= wd_this->wd_get_api( ).
CALL METHOD lo_api_controller->get_message_manager
RECEIVING
message_manager = lo_message_manager.
* report message
CALL METHOD lo_message_manager->report_error_message
EXPORTING
message_text = 'Message1 '. ("Write the first message")
Hope this solves the issue, Let me know if any queries.
Regards,
Rajani -
Can I display a message when Flash is not found on the iPad?
Apple is obviously rejecting Flash to protect it's 'App' revenue. I've been on Android phones that run Flash and display all my content perfectly smooth. It can be quite frustrating how they are trying to bury it when I still have yet to see HTML5 replicate the type of interactive content Flash is capable of producing.
Is there any way to display a message on the iPad when the Flash player is not found?
I'd like it to says something along the lines of:
"Unfortunately the Apple iPad does not support the Flash player because their business interests do not want it taking away from their App revenue.
Did you know that the Dell Streak, HTC Flyer, Blackberry Playbook, Motorola Xoom, Samsung Galaxy Tab, Toshiba Thrive, and HP Touchpad all support the Flash player?"
My HTML code looks something like this...
<html>
<head>
<title>My Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#ECECEC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<body onresize="setFlashSize()">
<div id="flashid" style="width:100%; height:100%;">
<script type="text/javascript" language="JavaScript">
function setFlashSize(){
var viewportheight = document.body.clientHeight;
var viewportwidth = document.body.clientWidth;
var mydiv = document.getElementById("flashid");
var styleheight = parseInt(mydiv.style.height);
var stylewidth = parseInt(mydiv.style.width);
if (viewportwidth<880){
document.getElementById("flashid").style.width = 880+"px"; }
else {
document.getElementById("flashid").style.width = 100+"%";}
if (viewportheight<760){
document.getElementById("flashid").style.height = 760+"px"; }
else {
document.getElementById("flashid").style.height = 100+"%";}
setFlashSize();
document.write('<object data="index1.swf" width="100%" height="100%" type="application/x-shockwave-flash">');
document.write('<param name="movie" value="index1.swf" />');
document.write('<param name="allowScriptAccess" value="always" />');
document.write('</object>');
</script>
<noscript>Javascript must be enabled to view Flash movie</noscript>
</div>
</body>
</html>You can parse out the userAgent property of browser. Here's an article that will point you in the right direction: http://www.askdavetaylor.com/detect_apple_iphone_user_web_site_server.html
-
Need to display the messages in a view which has the pop up on it
Hello all,
I have a view(View 1) in which if i click a button a pop up is being displayed.
Now on the pop up(which has view 2 of window 2) i have a button(Ok) and if i click it then based on a condition i need to close the pop up and then display the message in the message area of View 1.
Now if i click the button on the Pop up then it is being closed and the message is not being displayed on view 2.
I think the message is being displayed on the pop up and is being closed after that.
How can i display my message on View 1.
Any ideas...Please help
Thanks in advance,
ShravanHi Shravan,
Create Message area in view1.
and also give VIEW name wile displaying error message and try.
* report message
CALL METHOD lo_message_manager->REPORT_ERROR_MESSAGE
EXPORTING
MESSAGE_TEXT =
* PARAMS =
* MSG_USER_DATA =
* IS_PERMANENT = ABAP_FALSE
* SCOPE_PERMANENT_MSG = CO_MSG_SCOPE_CONTROLLER
VIEW = VIEW1 .
Cheers,
Kris.
Maybe you are looking for
-
Internal server error while raising a claim request.
Dear All, I am using claims and we have implemented badi for finding the approver and sending the request. Here after implementing the Badi, i am getting internal server error as this. While processing the current request, an exception occured which
-
Calling Stored Procedure(takes varray of objects as input) from jdeveloper
How can i call Stored Procedure which takes varray of objects as input from jdeveloper My object is : TYPE Entry IS Object ( Name VARCHAR2(1024), Value VARCHAR2(1024) & the varray is : TYPE EntryArr IS varray(10) OF Entry ; & the procedure is : PROCE
-
I use Skype on my MacBook Air. I want to use the same Skype account on the iPhone. Is that possible, with the same name, account information, contacts and everything?
-
Is there a script made that will rename all selected layers the same name as the name of the group they are nested in. (If not in a group then it skips them.)
-
Hi all, I have a text Box that i have binded(UDO) to a database data source through xml. That text BOx is linked to a choose from list . Through coding When i try to fill the textbox (which is linked to choose from list) from the choose from list am