Display Randon Quote of the Day to the Agent (abap)

Hi,
I was trying to create a function that displays a random "quote of the day" to the CIC Agent and i need some help. this is my abap code so far:
DATA quote1 TYPE string.
DATA quote2 TYPE string.
DATA sentence TYPE string.
DATA random TYPE i.
quote1 = 'my quote of the day 1'.
quote2 = 'my quote of the day 2'.
CALL FUNCTION 'QF05_RANDOM_INTEGER'
      EXPORTING
           ran_int_max = 2
           ran_int_min = 1
      IMPORTING
           ran_int = random.
concatenate 'quote' random into sentence.
value = sentence.
ENDFUNCTION.
My problem is that the "value" variable outputs "quote1" (or "quote2", that the sentence variable contains), although I wanted it to output the text that corresponds to quote1 or quote2 (eg. "my quote of the day 1")
Any help?
Thanks

I have exactly the same problem, I expirienced it today the first time, but I actually do not use the list view often. In the list view, I'm missing quite a lot of events, I first thought it went something wrong with exchange sync and tried around about an hour till I found out, that all events are basically on the phone and also shown in day and month view, but not in the list view.
There seem to be a general problem with the list view, as I found this discussion:
http://discussions.apple.com/thread.jspa?threadID=2260803
Greetings
Bernhard

Similar Messages

  • CharConversionException when displaying smart quotes

    My servlets are throwing a CharConversionException when I attempt to display "smart quotes." The quotes and other symbols (i.e. long hyphen) are entered into an online form when a user composes something in Word 2000 then copies/pastes it into a text field. The servlet is able to get the parameter and update the MS SQL 7 database but not display the value back in the confirmation page. I am running this application on iPlanet web server v.6 SP 1. It seems to be related to my servlet engine as it doesn't have this problem when using the servlet runner (srun)--that will display the characters as a question mark. This is a set of �smart quotes� and a long�hyphen

    problem solved:
    1.- I changed the response content type of my Servlet to:
    response.setContentType("text/html;charset=\"windows-1252\"");
    2.- In my DB I changed the type of the field to the "nText" type which support more characters like Unicode, etc

  • Why my calendar display different there is one day difference from different  when I see main screen and open the calendar

    See my Why my calendar display different there is one day difference from different  when I see main screen and open the calendar

    I too am having the same issue only I am in Regina, Canada.  iCloud appears to think Regina, Canada is in the Central time zone which it is, but it does not use Daylight Savings time.  My PC is Windows 7 and I am using Outlook 2010.  I have iCloud on iPhone 5 and iPad 2.   Terribly frustrating!

  • TS1702 My iphone has displayed a warning message two days ago that if i dont ..... i cannot purchase anymore applications but I could not read the first sentence and now I am unable to purchase

    My iphone has displayed a warning message two days ago that if i dont ..... i cannot purchase anymore applications but I could not read the first sentence and now I am unable to purchase

    That error message suggest you have a permissions issue. Make sure you have full read/write privileges for the Drive/ Folder location that you are copying the files to. 

  • My apple TV will not display anything although it [the TV] meets all of the requirements. It worked for about four or five days and than stopped yesterday, but when i brought it to the apple store, it connected fine to their tv. Any help or suggestion?

    My apple TV will not display anything although it [the TV] meets all of the requirements. It worked for about four or five days and than stopped yesterday, but when i brought it to the apple store, it connected fine to their tv. Any help or suggestion?

    mrdctaylor wrote:
    Since I updated to the latest/greatest version of the software I can no longer put my Apple TV to sleep by holding down the middle button.
    Thanks!
    Apple have changed this setting with the Apple TV Software Update 5.1:
    About Apple TV (2nd and 3rd generation) software updates
    Feature
    Summary
    Shared Photo Streams
    Accept invitations for Shared Photo Streams, browse photos and comments, and receive notifications of new content.
    AirPlay
    Send audio content from Apple TV to AirPlay-enabled speakers and devices (including AirPort Express and other Apple TVs). Also includes the ability to require an onscreen code to use AirPlay with your Apple TV.
    iTunes account switching
    Save multiple iTunes accounts and switch quickly between them.
    Trailers
    Search movie trailers. In the United States, see show times for local theaters.
    Screen savers
    New Cascade, Shrinking Tiles, and Sliding Panels screen savers.
    Main menu
    Reorder icons on the second page by holding down the select button on the remote.
    Subtitles
    SDH support for the deaf and hard-of-hearing as well as improvements to viewing and selecting subtitles.
    Network configuration
    Support for setting up advanced network options using configuration profiles. Seehttp://support.apple.com/kb/HT5437 for more information.
    Stability and performance
    Includes general performance and stability improvements.
    If you don't like this, you can leave feedback here: Apple Feedback

  • I have an iPhone 4S and a 2012 Honda CRV . The streaming BT music is fine but now suddenly it stopped displaying song info on the screen. It worked for about 10 days and then stopped. Any thoughts?

    I have an iPhone 4S and a 2012 Honda CRV . The streaming BT music is fine but now suddenly it stopped displaying song info on the screen. It worked for about 10 days and then stopped. Any thoughts?

    I think that we all know the answer to this one.
    Unfortunatley the device is concidered damaged by water. Apple can do an out of warranty repair which would cost $199. Generally they would just replace the device in this case for the $199.
    The alternative is to Purchase a new device.

  • Q: How can ISE 1.2 be configured to display "IP Address" in the Operations-Authentication view ?

    Hi Forum !
    I have several ISE installations running, and I have come across an Issue, that may or may not be a real issue.
    How can ISE 1.2 and/or the WLC be configured to display "IP Address" in the Operations-Authentication view ?
    I simply can not see any IP address in this field, when the dot1x Authentication is done on a WLC.
    This may be "works as designed" due to the fact that dot1x runs before the IP is assigned, but then again I do get profiler date etc, and hence I would expect the IP to be displayed.
    Please see attachment for clarification of the field in the ISE dashboard.
    FYI
    I do see IP in WIRED dot1x senarios, but then again I run LowImpact modes, as opposed to CloseMode in the WiFi senarios
    I have the same ono WLC OS 7.0, aswell as on 7.5 & 7.6 (i.e. no IP address shown in dashboard)
    Have Fun !
    Regards
    Martin

    I have seen this before but never really bothered to look more into it. It has always showed for wired but not wireless. I did some digging and it appears that the "framed-ip-address" is being sent/honored by the NAS in the "access-accept" packet.
    http://www.cisco.com/c/en/us/td/docs/wireless/controller/7-6/configuration-guide/b_cg76/b_cg76_chapter_0101001.html#ID676
    Why is it not showing in ISE's screen is now another quesiton. I would say a bug but I recall this since the 1.0 days and I have done several deployments. Perhaps Cisco can chime in here or if you can open a TAC case and report back your findings :)
    Thank you for rating helpful posts!

  • HP Photosmart Plus B210a all-in-one won't display any networks in the list.

    Hi, I recently purchased a HP Photosmart Plus all in one printer and I've been having trouble with it from day one.
    First off, it won't connect wirelessly.
    It won't display any networks in the list when searched for, it won't take my network details when I manually input them and it won't take any static IP address I've tried from other suggestions.
    Secondly, the print quality is very bad. Streaks and fading are occuring and after using up 70% of my ink trying to sort it out through troubleshooting it's still bad.
    It's extremely important for me to be able to have web access using the printer as all members of my household use it and it'll get fustrating having to car laptops and computers around to print.
    Can anybody help at all?

    Top line says "The wireless radio is not functioning. Contact HP support"
    I take this as a very bad sign and needs replacing?
    The tests I done produce streaks, fading and lines. I printed off two photos, one from a memory card and one from a scan. The memory card produced heavy blocked lines of color and the scan was just dull.
    I'm using a Wanadoo Wireless Livebox and Windows 7 64 Bit
    One other question... is this like a brilliant printer for photos mainly? I'm a Graphics design student and although my final prints are made from home I would like accurate and decent printouts for my portfolios. Should I keep this or go for another one with similar features and better print quality?

  • Want date displayed with time on the top banner

    Want date displayed with time on the top banner
    On the top banner, I see signal, network, wifi, time, alarm, Bluetooth and battery. I want to see date and month and year too. How?

    There isn't a way to display the date in a banner..  BUT - The calendar icon does display the date and day. 
    HTH

  • Why does Internet Explorer display an outline around the hotspot I just clicked on?

    hi all
    Why does Internet Explorer display an outline around the hotspot I just clicked on? what do i have to do to sort this?
    can anyone help please
    gman

    hi hans-g
    thank you for your help and links, was banging my head off the wall the last day . will use forum from now on, really appreciate your help thanks again

  • How to display data elements in the tempalte header

    Hello friends
    i've this date_from and date_to parameters which are date parameters that user enters..
    based on these date parameters I want to display them in the header as
    day of date_from(for example if the date_from is 13-nov-2010.then I should display 13)and for date_to it should dispaly as 15 if for example the user enters
    16-nov-2010.(date-1's day)
    so it should break down to
    date_from-13-nov-2010, 13
    date_to- 16-nov-2010, 15
    I want these two values to be displayed in the header of the template how to do this
    pls help
    also let me know how to display data elements in the template header
    Edited by: erp on Dec 22, 2010 12:44 AM

    Hi Ananth..Thanks for ur timely reply
    Can I use it with <? substring(':date_from',1,2)?>
    where date_from is an input parameter which user enters at the run time of the report.
    I've to capture the date entered by the user and print it in the header..
    Pls reply

  • Body of email displayed is not from the sender in the header

    I could not find anything about this in a search, and a visual scan of the discussions.
    After two weeks of being shut down (vacation), and occasionally during that time accessing email through dotMac, I encountered the following when I restarted my home desktop.
    Some of the emails have a body and a heading that do not match. The body, whether HTML or Rich Text, is clearly from a different email than the header. And, to emphasize, this is not ALL the email, only SOME of them (I cannot discern a pattern here!).
    The same emails display just fine through the online dotMac Safari window, the body being from the corresponding sender (I keep them stored on the server).
    So, something happens to SOME of the emails when downloading from the server to my computer. This body/header incongruity still happens to SOME emails that come through now, days after the initial restart.
    Perhaps related - there were a lot of emails to download/sync. Mail crashed OFTEN until the accounts synced with the server. (I sent MANY crash reports to Apple). I worked through dotMac Mail in Safari to delete/read/respond/etc.; Mail finally quit crashing when the number of new emails was greatly reduced.
    Observations? Solutions? Please Help!

    No, I have never had a response that even offered a suggestion until just today. The problem never "self-corrected" - even though I use IMAP, those emails, when displayed on my computer had the incongruity between the header and the body as I described.
    Since it has been up and going, all subsequent emails have been OK. It was just that initial restart/sync after the desktop had been shut down, for several weeks, and I had accessed the mail online while gone.
    I see there is a post after yours about trashing the plist. Maybe I'll try that, but it seems to not be an issue now.

  • Displays not sleeping at the login screen

    Since I upgraded(clean installation) from 10.4 server to 10.5 server none of the client station displays will sleep at the login screen. I have 3 labs with Intel iMacs running 10.4 and 10.5. I have Workgroup manager set to always manage the Desktop in Energy Saver and put only the displays to sleep after an hour. This used to work with 10.4 server even at the login screen. Is there a way I can get them to sleep at the login screen?
    George

    Well I am still trying to figure out the issue however I have made some ground. It seems that my 10.5 Intel iMacs screens appear to sleep if set it to less than an hour like 45 minutes or 15 minutes but my 10.4 PPC macs worked the first day at 15 minutes but currently are not sleeping. I will keep trying...
    George

  • What is a good third party display to use with the Mac Mini?

    The Acer monitor I bought simply doesn't work with my first generation Mac-Mini. When connected to the VGA connection I get a "input not supported" message. When I connect the DVI, the screen blacks out when I scroll and then comes back, at first I thought it was just with Firefox but soon discovered it was with any application I used. After some research on the internet I discovered that there is a problem with the firmware design on the DVI's on Acer Monitors. My new Acer monitor is enjoying it's new home in my sisters office, on her desk, connected to the VGA plug on her computer, enjoying Windows XP.
    At another web site for the Mac-Mini I was told that there are not that many displays that work for the Mac-Mini and I would be better off purchasing an Apple display, only problem is that the Apple displays are not within my budget. I would like some suggestions on this board from users as to what third party displays they use with a first generation Mac-Mini? I'm looking in the budget range of $200 to $250 dollars. I have a first generation Mac-Mini, Mac OS X Panther.
    PS I have tried setting monitor resolutions using both the VGA and DVI plug, they don't work.
    Thank you for any help I receive.

    Charles,
    I cannot speak on behalf of hooking this model of monitor up to a mini, however I do have a 19" Planar monitor at home hooked up to an old G4 tower via VGA, and the 19" Planar monitor that I have at work is hooked up via digital to my G4 15" PowerBook. I love both of these Planar 19" LCD monitors, and have absolutely no complaints. Planar's three year warranty is nice, and their tech support is top notch. I had an issue with the monitor at work, and I had a replacement on my desk in two days. Returning the bad monitor in the pre-paid box that the new one came in made things effortless. We have a few Planar's in the school district that I work in, and have no major issues with any of them.
    Not too sure what the most recent pricing is on this model, but CDW was selling them for around $225-$230 delivered right to your door.
    Hope this helps.

  • Display data as per the fiscal year

    Hi All,
    Need a suggestion with formula building:
    I have 2 columns, date which is the start of a fiscal year (04/01) and total cost next to it.
    I want to display only that fiscal year and a total cost which falls in current fiscal year. Please let me know how would i create a formula so it reads the system date and displays the fiscal year and cost according.
    Here is a sample of data:
    Date          Cost
    04/01/2010     100$
    04/01/2011     75$
    So ideally my report should display only row 1 and when run  after 04/01/11 ie after 2-3 days it should display row 2
    Thanks!

    Thanks for your response Shastry, but I am having trouble understanding it. Not sure how the above steps will read the current date.
    To be more specific, I want to display only that cost that falls in fiscal year.
    In above example now since it is 03/26/2011 and my fiscal year starts on 04/01 . I want to display cost from row 1 and when the same report will be run after 04/01/2011 it should display cost from  row 2.
    Like wise if the report is run after n number of years , it should display cost as per the fiscal year at that time.
    So i guess the formula should really depend on system date/current date/ print date
    Thanks!

Maybe you are looking for

  • Target Display Mode - Thunderbolt to Mini DisplayPort?

    I have a MacBook Pro which has a Mini DisplayPort and I connect this to the Mini DisplayPort on my 27" iMac and use Target Display Mode. I am interested in the MacBook Air but there is no longer a Mini DisplayPort and I want to be able to go into Tar

  • After closing serversocket, process remains

    Hi everyone, I'm trying to learn to write a client/server program. I begin by creating a serversocket and waiting for data. When I close the program, the serversocket still remains even when I create handlers that try to close the socket after the GU

  • WebLogic6.1 SP3/Solaris5.7: "HotSpot Virtual Machine Error, Internal Error"

    Hello, I get the following error when I try to start up the BEA Weblogic (6.1+SP3) server, running the petstore demo... # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # Error

  • Printer selection shuts down...

    I have 2 HP printers connected to my G4 laptop. First one is as PSP2355. The most recent one is D5160. Both worked fine when I added the D5160 about a week ago. When I went to print two days ago, no printers could be found. Did the utility, it saw th

  • Image placeholder ...

    When you visit my site, the thumbnail images are missing, only the text shows up. I've noticed that when I build the site by dragging images onto the placeholder they do indeed show up, but when I duplicate an entry and drag in an image the photo doe