"The following deadline was missed Requested end"

Hope all doing good. I have below requirement from the client and not sure how i can achieve this. Will appreciate if anyone has done this in the past or know how we can achieve this.
If a workitem deadline is reached, in SAP inbox we see a message scrolling in the preview section saying "The following deadline was missed Requested end". This appears only for deadline missed workiems and it appears in the workitem preview section. My client wants this message to be changed to a custom message. Is there any way we can do this? Where is this message coming from? 
Thank you,
Bobby

Hi,
This is pretty simple.
Develop a function module with below code.
Call it in a custom method and call this method in your workflow in the requested end deadline branch.
This is a background method.
DATA : it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0 WITH HEADER LINE,
         it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0 WITH HEADER LINE,
         t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
         w_doc_data LIKE sodocchgi1.
  w_doc_data-doc_size = 15 * 255. "Populate the subject/generic message attributes
  w_doc_data-obj_langu = sy-langu.
  w_doc_data-obj_name  = 'SAPRPT'.
    CONCATENATE 'Travel Request' tripno 'by' emp_name 'needs your approval' INTO w_doc_data-obj_descr
    SEPARATED BY space.
CLEAR t_receivers.
  t_receivers-receiver = emp_email.
  t_receivers-rec_type = 'U'.
  t_receivers-com_type = 'INT'.
  t_receivers-notif_del = 'X'.
  t_receivers-notif_ndel = 'X'.
  APPEND t_receivers.
  REFRESH it_message.
  CLEAR it_message.
  CONCATENATE '<MARQUEE><B><FONT COLOR="RED">'
'******THIS IS AN SYSTEM GENERATED NOTIFICATION. PLEASE DO NOT REPLY TO THIS E-MAIL.******'
   '</B><BR></MARQUEE>'
   INTO it_message. " SEPARATED BY space.
  APPEND it_message.
  CLEAR it_message.
  it_message = '<BR></FONT>'.
  APPEND it_message.
  CLEAR it_message.
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
    EXPORTING
      document_data  = w_doc_data
      document_type  = 'HTM'
      commit_work    = 'X'
    TABLES
      object_content = it_message
      receivers      = t_receivers.
Regards,
Raj

Similar Messages

  • Windows XP could not start because the following file is missing or corrupt - message

    Hi there and apologies in advance if this is a daft or very frequently asked question.
    Upon trying to boot up this Toshiba mini NB200 device last night we got this message:
    Windows XP could not start because the following file is missing or corrupt: \WINDOWS\SYSTEM32\CONFIG\SYSTEM.  it then asked me to press r at the forst screen to start a repair if I have the original set up cd.
    The device had to be forced to shutdown previously as it hung when shutting down.
    Now multiple reboots (including uncoupling/recoupling the battery) and resetting the settings from start up menu result in the same error message.
    The device has no cd drive installed but previously Jerry Lippey (in 2011) saved the day by recommending purchase of a product recovery disc (R10804EN) after a 'flashing cursor issue' at logon.
    Has anyone far more clever than I any thoughts (if we're able to borrow a portable cd drive) whether this disc may work again?
    Windows XP was/is preinstalled on the PC (we havent the disc) and we've subsequently added MS Works. A total wipe of the device (as long as XP remains?) wont be too much hassle as we havent any data that we're too bothered about on it.
    Many, many thanks in advance 
    Solved!
    Go to Solution.

    Toshiba NB200-11L
    Windows XP could not start because the following file is missing or corrupt: \WINDOWS\SYSTEM32\CONFIG\SYSTEM
    Bad news. It means the System hive, which is the most important branch of the registry, is corrupt. Unless you have made provisions for this (we always do on XP systems), the fix is too complex for you to handle (KB307545).
    I'm afraid you'll need to restore the hard disk to its original out-of-the-box contents using Toshiba recovery media as you did before. Do you have important files to rescue?
    -Jerry

  • After Safari 5.1 update the following plugin is missing: Switchable Java Plug-in for WebKit

    Hi, after Safari 5.1 update the following plugin is missing: Switchable Java Plug-in for WebKit Java Switchable Plug-in (Cocoa) — von der Datei “JavaPluginCocoa.bundle”. How can I add this plugin manually? Because some applets are not working now! I restored the OS to Safari 5.0.5,
    now everything works fine. Is there any bugfix planned for Safari 5.1?

    Thanks, already managed to fix it with Time Machine Back-Up, however, you need only to restore the Safari.app file (can be found in Applications in Time Machine at a date before the last software upgrade to Safari 5.1)
    So, practically,
    go to Enter Time Machine
    -> browse (using the arrows at right hand bottom) to a date when everthing was still working
    -> go to Finder
    -> go to the hard drive (probably named Macintosh HD)
    -> go to Applications
    -> go to Safari.app
    -> highlight Safari.app by clicking on it
    -> hold 'ctrl' key and click again
    -> select from the drop menu that appears 'Get Info'
    -> next verify that is written 'version 5.0.5'
    -> close Info drop menu
    -> make sure the file Safari.app is still highlighted and click on 'Restore' under the arrows at righthand bottom of screen in Time Machine.
    Now you can leave Time Machine by clicking on Cancel on lefthand bottom
    Safari 5.0.5 will be added to the Applications under Safari.app (Safari 5.1 will also still be there and has the word (original) written behind it) drag this (original) marked file to the trash.
    That's all, works very good and means the whole system does not have to be re-installed.
    Hopefully Apple will cure this 5.1 version quickly - Make sure always to make a Time Machine Back-up before updating software!
    Hope this works for you all!

  • ERROR! The following error occurred  during request processing:build contro

    Hi,
    I am unable to request activation. Please help. It is a serious issue. following is the message.
    public part "default" of component "sap.com/servlet" ... OK
                   [PP "default" of DC 108 variant "default"][SC 623][last successfull build: 779]
              public part "strutsComp" of component "boc.com/struts" ... OK
                   [PP "strutsComp" of DC 186 variant "default"][SC 621][last successfull build: 913]
              public part "default" of component "sap.com/com.sap.mw.jco" ... OK
                   [PP "default" of DC 59 variant "default"][SC 623][last successfull build: 779]
              public part "log4jComp" of component "boc.com/log4j" ... OK
                   [PP "log4jComp" of DC 188 variant "default"][SC 620][last successfull build: 779]
              public part "default" of component "sap.com/activation" ... OK
                   [PP "default" of DC 34 variant "default"][SC 623][last successfull build: 779]
              public part "default" of component "sap.com/mail" ... OK
                   [PP "default" of DC 99 variant "default"][SC 623][last successfull build: 779]
              public part "strutsAss" of component "boc.com/struts" ... OK
                   [PP "strutsAss" of DC 186 variant "default"][SC 621][last successfull build: 913]
              public part "log4jAss" of component "boc.com/log4j" ... OK
                   [PP "log4jAss" of DC 188 variant "default"][SC 620][last successfull build: 779]
         Synchronize used libraries... finished at 2007-12-19 12:16:21.792 GMT and took 3 s 625 ms
    Prepare build environment in the file system... finished at 2007-12-19 12:16:21.792 GMT and took 9 s 609 ms
    ===== Pre-Processing =====  finished at 2007-12-19 12:16:21.792 GMT and took 10 s 515 ms
    ===== Processing =====
    BUILD DCs
         "boc.com/partnernet" in variant "default"
              Build failed! Unknown error
    Change request state from PROCESSING to FAILED
    ERROR! The following problem(s) occurred  during request processing:
    ERROR! The following error occurred  during request processing:build controller process has terminated. cannot proceed with build
    build controller process has terminated. cannot proceed with build
    REQUEST PROCESSING finished at 2007-12-19 12:16:27.917 GMT and took 16 s 671 ms
    Regards

    Hi Sumit,
    thanks for the quick reply. I get only these lines when i execute webservice.
    <b>500   Internal Server Error
    Application error occurred during request processing
         Details:   com.sap.engine.services.webservices.wsnavigator.WSNavigatorException: null
         Exception id: [0016355ABDF800580000016F00002C7800043D23C1985713]</b>
    If required i can send my code...
    thanks,
    sudhir.

  • HT203433 After reading the sample for Hard Measures and buying and downloading, the downloaded book was missing 9 chapters. Anyone know how to fix this?

    After reading the sample for Hard Measures and buying and downloading, the downloaded book was missing 9 chapters. Anyone know how to fix this?

    Hi Charles...
    Try re downloading the iBook >  Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Error: The listener returned the following Message: 400 Bad Request

    I hope someone can help me..
    I have installed Oracle portal 3.0 in a machine with s.o. win-2000.
    with Oracle8i Enterprice 8.1.6..
    my problem is that when a try to access to my main page of portal 3.0, I can't and my browser show the next messagge "Error: The listener returned the following Message: 400 Bad Request" i don' know why...
    I check if ma Database is up and my listener too is ok..
    I hope someone can help me..
    thanks...
    null

    The Oracle9iAS Portal forum is a more appropriate discussion forum for generic Portal questions.

  • Download SQ01 query - The following template is missing: sap_om.xls

    Hi Experts ,
    I am getting this error when running transaction SQ01and dowloading query data to Excel.
    The following template is missing: sap_om.xls
    Any Suggestions how to correct this .
    Many Thanks .

    You can check Note 305900
    Regards
    Thorsten

  • Hp mini could not start because the following file is missing or corrupt /windows/s​ystem32/ha​l.dll.

    windows could not start because the following file is missing or corrupt <Windows root>\system32\hal.dll.
    then it says please re-install a copy of the above file

    Any system or sys32 and any .dll files missing or corrupted errors, usually the only fix is to reinstall windows and anything on hard drive not saved on removable drives...flash, usb, cd or floppy is lost. I've had several sys32.dll file missing or corrupted errors and asked at Best Buy Geek Squad what the fix would cost and that's how I learned the only fix is installing windows.

  • Windows could not start because the following file is missing or corrupt. Windows root\system32\hal.dll.

    Windows could not start because the following file is missing or corrupt. Windows root\system32\hal.dll.  anyone can help

    Have a read here http://support.microsoft.com/kb/314477/en-us
    Maybe it helps
    Stefan

  • Exchange 2013 - Mailbox Setup Failed "The following error was generated when "$error.Clear()" 7 of 14

    I am getting the following error when I'm setting up the mailbox server as I'm currently doing a test virtual machine throughHyper-V, it seems to happen during the transport service phase of the installation which is 7/12
    Do i know need a D:\ drive for the mailbox server to work? as in my test i only have a c:\ drive but no d:\ drive
    Error:
    The following error was generated when "$error.Clear();
                if ($RoleProductPlatform -eq "amd64")
                    $useAttachMode = $false;
                    $fastInstallConfigPath = Join-Path -Path $RoleBinPath -ChildPath "Search\Ceres\Installer";
                    $command = Join-Path -Path $fastInstallConfigPath -ChildPath "InstallConfig.ps1";
                    $fastDefaultDataFolderPath = Join-Path -Path $RoleBinPath -ChildPath "Search\Ceres\HostController\Data";
                    $dataFolderPath = $fastDefaultDataFolderPath;
                    if ([System.IO.Directory]::Exists($fastDefaultDataFolderPath))
                        $useAttachMode = $true;
                    else
                        if ($RoleIsDatacenter -eq $true)
                            $preferredDataFolderPathRoot = "D:\";
                            if ([System.IO.Directory]::Exists($preferredDataFolderPathRoot))
                                $dataFolderPath = Join-Path -Path $preferredDataFolderPathRoot -ChildPath "ExchangeSearchData";
                                if ([System.IO.Directory]::Exists($dataFolderPath))
                                    $useAttachMode = $true;
                    if ($useAttachMode -eq $true)
                        &$command -action a -dataFolder $dataFolderPath -silent;
                    else
                        try
                            &$command -action i -dataFolder $dataFolderPath -silent;
                        catch
                            $errorMsg = "Failure running SearchFoundation installconfig.ps1 - " + $_.Exception.Message;
                            Write-ExchangeSetupLog -Error $errorMsg;
                            &$command -action u -silent;
                            try
                                if ([System.IO.Directory]::Exists($dataFolderPath))
                                    [System.IO.Directory]::Delete($dataFolderPath, $true);
                            catch
                                $deleteErrorMsg = "Failure cleaning up SearchFoundation Data folder. - " + $dataFolderPath
    + " - " + $_.Exception.Message;
                                Write-ExchangeSetupLog -Error $deleteErrorMsg;
            " was run: "Couldnít attach the data folder 'C:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\HostController\Data'. Path doesnít contain old nodes belonging to the system 'Fsis'.".
    Warning:
    An unexpected error has occurred and a Watson dump is being generated: The following error was generated when "$error.Clear();
                if ($RoleProductPlatform -eq "amd64")
                    $useAttachMode = $false;
                    $fastInstallConfigPath = Join-Path -Path $RoleBinPath -ChildPath "Search\Ceres\Installer";
                    $command = Join-Path -Path $fastInstallConfigPath -ChildPath "InstallConfig.ps1";
                    $fastDefaultDataFolderPath = Join-Path -Path $RoleBinPath -ChildPath "Search\Ceres\HostController\Data";
                    $dataFolderPath = $fastDefaultDataFolderPath;
                    if ([System.IO.Directory]::Exists($fastDefaultDataFolderPath))
                        $useAttachMode = $true;
                    else
                        if ($RoleIsDatacenter -eq $true)
                            $preferredDataFolderPathRoot = "D:\";
                            if ([System.IO.Directory]::Exists($preferredDataFolderPathRoot))
                                $dataFolderPath = Join-Path -Path $preferredDataFolderPathRoot -ChildPath "ExchangeSearchData";
                                if ([System.IO.Directory]::Exists($dataFolderPath))
                                    $useAttachMode = $true;
                    if ($useAttachMode -eq $true)
                        &$command -action a -dataFolder $dataFolderPath -silent;
                    else
                        try
                            &$command -action i -dataFolder $dataFolderPath -silent;
                        catch
                            $errorMsg = "Failure running SearchFoundation installconfig.ps1 - " + $_.Exception.Message;
                            Write-ExchangeSetupLog -Error $errorMsg;
                            &$command -action u -silent;
                            try
                                if ([System.IO.Directory]::Exists($dataFolderPath))
                                    [System.IO.Directory]::Delete($dataFolderPath, $true);
                            catch
                                $deleteErrorMsg = "Failure cleaning up SearchFoundation Data folder. - " + $dataFolderPath
    + " - " + $_.Exception.Message;
                                Write-ExchangeSetupLog -Error $deleteErrorMsg;
            " was run: "Couldnít attach the data folder 'C:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\HostController\Data'. Path doesnít contain old nodes belonging to the system 'Fsis'.".
                     

    Hi 
    Most likely for these kind of issues its better you can  delete the hyper-v machine and create a new  os , ensure all the prerequisite are met and install the Exchange since this is a new installation.
    But as a try you can try giving full access to the admin account to the data folder  'C:\Program
    Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\HostController\Data'. which is giving the error and rerun the setup 
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com

  • I tried to download the latest upgrade and got the following: "iTunes was not installed correctly. Please reinstall iTunes. Error 7 (Windows error 193).  Program Files/Common Files/Apple/Apple Application Support\ApplePushService.dll

    I tried to download the latest upgrade and I got a message telling me "The application or DLL ProgramFiles/CommonFiles/Apple/Applie Application Support\ApplePushService.dll is not a valid Windows image. Please check this against your installation diskette." and then below that another message "iTunes was no installed correctly. Please reinstall iTunes. Error 7 (Windows error 193).  I tried reinstalling and it still will not work.

    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. If you're using Vista or 7,now head into your Uninstall a program control panel, select "Apple Application Support" and then click "Repair". If you're using XP,head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post. (If you've got XP, although the procedure is for Vista and 7, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things.)
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever

  • Problem in copy routine while creating the follow up to Servcie Request

    Hi,
    I am creating Lead as follow up from Service Request. I have partner functiona called Reporter in Service Request. Now what ever the value is there in Reporter I need to copy it into Contact Person of Lead. However, I am not seeing any method to update the contact person in COPY ROUTINE BADI.
    Can you please help me.
    Thanks,
    Sandeep

    hello,  in the COPY ROUTINE BADI, you don't need the method special for partner.  You can set the parnter of new document by CRMD_ORDER_MAINTAIN.
    In the function, you only need the new document guid handle, and the partner guid which you want to set in the document, and partner type.

  • Im getting the following Installer was unable to access a critical file/directory. Please try installing again.(Error code: 43) Contact Customer Support

    I'M GETTING THE FOLLOWING ERROR
    Installer was unable to access a critical file/directory. Please try installing again.(Error code: 43) Contact Customer Support

    Error downloading Creative Cloud applications

  • Hal.dll: Windows could not start because the following file is missing...

    Hi there...
    did anyone of you guys manage to run WinXP on a Mac running Leopard (Boot camp 2.0)? I couldn't, trying to do whatever i could- repairing boot.ini according to Microsoft's support site, reinstalling Windows again and again, even copying Windows files from an existing Windows-running machine to the Boot camp partition, nothing helped...
    Any suggestions what i should do?
    thanx in advance

    There is a longer thread developing here.
    http://discussions.apple.com/thread.jspa?messageID=5860087
    My last post had some good info, here is a repost:
    Emerging Info! Apparently there are files in windows that disable the means which we are supposed to format the disk. Two of these file names found so far are UNATTEND.TXT and WINNT.SIF. Some computers may have one or the other files located in the \I386 directory of you XP cd. Apparently there is a way to fix the problem my recopying your XP disc to a new CD and deleting the file out. There are directions on one of the links which I am currently following but have not finished.
    http://episteme.arstechnica.com/eve/forums/a/tpc/f/8300945231/m/511003928831
    http://www.macosxhints.com/article.php?story=20071028054744236

  • My CS5 Dreamweaver suddenly crashed on my MacBook Air (running OS 10.9.4) - error message: The following panel is missing or could not be read

    followed by this:
    Do I need to reinstall DW or is there a way to fix it? Any help much appreciated!

    then manually reset your preferences, Restore preferences | Dreamweaver CS4, CS5, CS5.5, CS6
    if that fails to solve the problem, uninstall, clean and reinstall per  Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

Maybe you are looking for

  • Macbook to sony KP-57WV600 rear projection tv problem

    I have a macbook with mini dvi to dvi cable (Apple). I have the Sony tv with dvi in but when I connect the macbook to the tv i get no picture and the macbook doesn't see the tv. In the tv manual it says the DVI connection is compliant with EIA-861 st

  • HT204053 how do I add a new mac email address

    How do I add a new me.com email address?  With mobileme it seemed like you could add up to 5 email addresses but not quite sure how it works now with icloud.

  • How should a TOC look?

    Folks, a newbie question: Ok, so, I've not had any training, and no books, just the robohelp-html o/l help system. And I have some issues. Problem: trying to load 300 pages of old documentation into robohelp-html (webhelp format), to get it around, a

  • How to view iPhone screen on mac display?

    ddo u have on mind the keynote of steve jobs? in which he used the iphone and everyone could see the screen of it, on a mac display? there's a way to do it?

  • How to Implement User Area in Oracle Forms 6i

    Hi, Could anyone please let me know how to implement Item Type *"User Area"* ? How to add User Area in layout Editor?, Thanks and Regards, Manasa