Mail if no file available for more then 24 hours

Hi All,
I have one File to RFC scenario on PI7.1.
But now I have requirement that, I want to send error mail if file is not available for more then 1 day.
Can it be done in any SAP-PI standard way?
Or I need to write a small ABAP code on table SXMSPMAST to check if scenario runs in last 24 hour or not & then send alert mails?
Regards

Hi Rohan,
   You need an ABAP code. There should be a table where you store all the file name PI receives and processes and the time and date when they have been received. The ABAP code will continuously check contents of the table and find out difference between current server time and date with the last entry in the table. If the difference is more than 24 hours then it will trigger emails to a fixed address or that may be obtained from a different table.
regards
Anupam

Similar Messages

  • Can mrp run consider material availability for more then one plant?

    Hı PP Gurus,
    My Case:
    Material "A" is maintained for plant "X" and "Y" for example. When i execute mrp for material A i have to specify a plant. And the system creates planned orders just considering the quantity in that plant. But i want mrp to see the quantities of both plant.
    I mean when i execute mrp the system must consider the quantities for both plant and create planned order or not.
    Is there a way to fix it?
    Thank you indeed.
    Evren Temiz

    You can use Scope of Planning for this.
    Total planning covers the planning of all the materials that are relevant for requirements planning and includes the BOM explosion for materials with a bill of material.
    You can use total planning for a single plant or you can use the scope of planning to control whether the total planning run is executed on a multi-plant level
    If you have activated MRP with MRP areas, you can also combine MRP areas in the scope of planning as an alternative to plants.
    With the help of the scope of planning, you can control whether the total planning run is to be carried out:
    1. For one plant (as previously without scope of planning)
    2. For several plants
    3. For an MRP area
    4. For several MRP areas
    You define the scope of planning for the total planning run in Customizing for MRP, in the IMG activity Scope of planning for total planning run .
    You can carry out total planning for a scope of planning online or as a background job. The planning run must always be started with parallel processing.
    You can use the scope of planning for total planning in Material Requirements Planning, Master Production Scheduling and Long-Term Planning.
    Please refer to the below links -
    http://help.sap.com/saphelp_46c/helpdata/en/35/b0e95c87a62488e10000009b38f9b7/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/d7/5c9366f47811d1a6ba0000e83235d4/frameset.htm
    Hope this helps you.

  • On new set up, lost pass word. pushed reset for more then 2 seconds

    on new set up with air portextreme 802.11n wifi i lost pass word. pushed reset for more then 2 seconds. It is working on my computer but cant give out a pass word.

    hi,
    many thanks for your reply, i am new to all this so all help welcome 
    i have tried what you said and return the attached errors
    $mailBody=@'
    The account Name is :- {0}\{1} 
    The flie deleted was from :{2}
    Time:{3}
    $pcName = "GHSVR2012"
    $mailProps=@{
        Subject = A File has been deleted in the G Drive:
        SmtpServer = 'smtp.xxxxxxxxxxx'
        From = 'xxxxxxxxxxxxk'
        To = 'xxxxxxxxxxx'
        BodyAsHtml=$true
    $events=Get-Eventlog -log security -InstanceID 4663$events.count
    foreach($e in $events){
        $mailBody -f $e.ReplacementStrings[1],$e.ReplacementStrings[2],$e.ReplacementStrings[6],$e.TimeGenerated
        Send-MailMessage @mailProps -Body $mailBody
    could i not just add in bold below
    $pcName = "GHSVR2102"
    $Event = Get-Eventlog -log security | -InstanceID 4663$Event.count
    $User = $Event.ReplacementStrings[1]
    $Domain = $Event.ReplacementStrings[2]
    $File = $Event.ReplacementStrings[6]
    $MailSubject = "A File has been deleted in the G Drive:"
    $MailBody = "The account Name is :- " + $Domain + "\" + $User + "`r`n" + "The file deleted was from :" + $File + "`r`n" + "Time: " + $Event.TimeGenerated
    $SmtpClient = New-Object system.net.mail.smtpClient
    $SmtpClient.host = "smtp.xxxxxxxxxxx"
    $MailMessage = New-Object system.net.mail.mailmessage
    $MailMessage.from = "ixxxxxxxxxxxxxx"
    $MailMessage.To.add("xxxxxxxxxxxxk")
    $MailMessage.IsBodyHtml = 0
    $MailMessage.Subject = $MailSubject
    $MailMessage.Body = $MailBody
    $SmtpClient.Send($MailMessage)

  • Printing salesinvoices, is it possible to do it for more then one invoice?

    Is there a method to use VF03 with a selection for more then one sales invoices?
    I want to print them as pdf file, so I have to fill in the field billingdocument, but I need it for more then one invoice at the same time.
    I tried but it seems not to work. Is it not possible? Or is there another solution to print more then one invoices at the same time?

    Hi,
    check in the Commnication method of your Output type whether In the NUMBER OF MESSAGES field was maintained as 4
    No of messages field will control the Number of invocies to print
    check this and revert
    thanks
    santosh

  • Is there full installer file available for version 9.4.6

    Hi,
    Anyone know if there is a full installer file available for Acrobat Pro 9.4.6?  I know the product is EOL later this year but we still have users accessing this version prior to upgrading to version 11.
    The problem is the last full installer we have 9.0 and then you have to run each patch to patch to 9.4.6 (17 patches) as you can imagine this is causing us some issues.
    Any help, always appreciated.
    Thanks.

    No, there is no full installer for Acrobat 9.4.6. You can either create an Admin Install Point or Bootstrapper to directly install the Acrobat 9.4.6 version.
    Please refer :
    Bootstrapper: http://www.adobe.com/devnet-docs/acrobatetk/tools/AdminGuide/bootstrapper.html?highlight=b ootstrapper
    AIP: http://www.adobe.com/devnet-docs/acrobatetk/tools/AdminGuide/aip.html?highlight=aip
    Acceptable:      Acrobat 9.0.0 -> 9.1.0 (Quarterly) -> 9.1.2 (Quarterly) -> 9.2.0 (Quarterly) -> 9.3.0 (Quarterly) -> 9.3.2 (Quarterly) -> 9.3.3 (Quarterly) -> 9.4.0 (Quarterly) -> 9.4.2 (Quarterly) -> 9.4.5 (Quarterly) -> 9.4.6 (Quarterly) -> 9.4.7 (Security)
    Download 9 Patches http://helpx.adobe.com/acrobat/kb/update-patch-acrobat-reader-7.html
    Regards,
    Deepak

  • Purchase, licensing, payment Why after i paid $150 for the product do i have to buy a serial number to use lightroom for more then 30 days?

    Purchase, licensing, payment Why after i paid $150 for the product do i have to buy a serial number to use lightroom for more then 30 days? Why doesn't a serial number come with my online purchase? should people have to register a product they bought from the same website? why wouldn't this all be tied together with your purchase? total headache.... also i downloaded the free trial for 30 days and when my trial was up i went to buy the product and found it nearly impossible to find without joining something that has a monthly fee. Is this the standard for buying things online these days?

    When you purchased Lightroom you should have received an e-mail with your serial number. Better go back and check your e-mails that you received from Adobe. I think one of them should be a receipt, and should have the serial number printed on it.

  • Can it possible for more then 2 days statistical records with Terminal ID

    Hi
    By using ST03N we get 1 month statistical records but we can't find the Terminal-IT. But When we use STAD we get last 2 days information with Terminal ID only
    So can it possible for more then 2 days statistical records with Terminal ID by STAD.
    Any setting / and background job / any other options. Pls suggest.
    Thanks and Advance.
    Tapovardhan Singh
    Edited by: Tapovardhan Singh on May 24, 2008 11:01 AM

    Hi Tapovardhan,
    How can I access statistical records?
    Using transaction STAD you can access the statistics files and display the statistical records. Here is a screenshot of the start screen of STAD.
    *In Business Transaction Analysis -> In Read Interval ->
    Specify the Date and Time (you want to retrieve).*
    Statistical Records Part 4: How to read ST03N datasets from DB in NW2004
    /people/andreas.vogel/blog/2007/04/08/statistical-records-part-4-how-to-read-st03n-datasets-from-db-in-nw2004
    Statistical Records Part 1: Inside STAD
    /people/andreas.vogel/blog/2007/01/12/statistical-records-part-1-inside-stad
    Reward points if this helps
    Regards
    Pragathi.

  • How to add another Chapter Page for more then 6 chapters & add right arrow?

    Hello,
    I created a project via the Magic iDVD option and it worked great and added multiple chapter pages for more then 6 chapters. Now, I manually added a submeno off of main and added 6 chapters but I need multiple pages since I have 40 chapters... I can't figure out how to add another chapter page and create a RIGHT ARROW navigation button for the next pages...
    I also looked at the map view and see that on the working pages there is page connected to page... I also cannot find a way to add a page connected vi map view...
    I have searched the forum but none of the answers were clear on how to do this... any help would be appreciated...
    Thanks! T.

    Adding the submenu is easy...making the button for it a "right arrow" is not.
    You can keep adding submenus to other submemus by navigating to the appropriate menu and then choose the "add submenu" command from the iDVD project menu. This can be done in either normal or map view.
    However, this creates a "folder" button, (or other things in some themes) not a right arrow. I agree it should be a choice! My 2nd best solution is to chage the folder button to a "text only button" and label it "More Chapters > >"
    Another solution (3rd best??) is to use command-shift-4 when you are one one of your other menus that DOES have a right arrow, and take a mini picture of the arrow. Then choose one of the oval menu buttons on the button pane, and drag this tiny picture onto the button. Re-size it to make it close to the same size as your other buttons. It will have a funny edge on it from the button style, but it will look like a right arrow.
    John B

  • How to create a service call for more then one item

    Hi All,
            How to create a service call for more then one item. i.e. the service call should be logged for more then one item

    As you noticed this is not possible by design.
    Maybe you could have a dummy item for that purpose and register the real items to be handled in a UDT...
    HTH

  • Was downloading the new software update on my iPhone  when it froze and has been in that state for more then 15 hours

    was downloading the new software update on my iPhone  when it froze and has been in that state for more then 15 hours.
    tried turning it off didn't work. tried pressing buttons didn't work.
    tried unplugging it and waiting for the power to die hasn't worked
    tried the steps on the webiste but they didn't work
    tried working it from the laptop doesn't connect because i can't put in the passcode.
    also tried calling iTunes support but due to the holiday no one is answering
    what can i do i need my phone!!!
    thanks

    i was able to access the phone by pressing down on the off button and home at the same time

  • Ipod will not stay connected for more then a few seconds

    I was going to update my nano this morning after downloading the newest version of software, and first off it said the firmware was corrupt. so then I restored it, and it would not restore to the new version so i used the older version. the ipod seems to work in my hand but when i connect it to my computer it will not stay connected for more then a few seconds, then it ejects its self, but itunes still shows it as being there even though the rest of the computer does not
    I have not had any issues with it since i bought it which was last june.
    any ideas?
    John

    Hi John,
    I would suggest, with your iPod disconnected, that you force your iPod into disk mode (following the instructions in this article)
    Connect your iPod to your computer.
    Then, try restoring it in iTunes while it is connected in disk mode.
    Can you successfully restore your iPod?
    If so, when the restoring and resyncing process is all complete, now update your iPod to the latest firmware.
    Any success with trying that?
    -Kylene

  • No personnel file available for personnel number .....

    Good Night.
    I am implementing MSS.
    When i give clic in the following path
    General Information=> Related Activities   =>Display personnel file
    , the system display the following message
    [Link Error|http://www.freeimagehosting.net/uploads/3adcf2004e.jpg]
    What is the cause of this error " No personnel file available for personnel number ....."
    Regards

    Hi,
    The answer for this query is available in
    Displaying Personnel file under "Personal Information" in ESS
    Hope it helps ...
    Cheers!

  • Hi everyone i have just bought new Ipod touch 32 GB and upgraded to 5.0.1 and it it worse now my battery doesn't last long for more then hvvour. what should i do?

    Hi everyone,
    I have just bought new Ipod touch 32 GB and upgraded to 5.0.1 and it it worse now my battery doesn't last for more then two hour.
    what should i do? it is seriously big problem.
    Please help me.......

    This is a general comment, not directed to anyone, and not to be taken personally by anyone.  This ongoing screw up with the new upgrade (5.0.1) is getting to be a **** SHAME.  In no way can APPLE or anyone else for that matter not know by now that the upgrade is terribly flawed.  The Ipod machines themselves are super great products, and I enjoy mine to the max.  However the upgrade once applied ruins it.   And at least, not to my current knowledge,  there haven't been any fixes forcoming. 
       In my opinion Apple should own up to that fact and warn folks that, even though the upgrade was presented with the best intentions, IT JUST AIN"T WORKING.  And not to download it until further  notice. This noticication could be done through the retail sales outlet, online, what ever.
      I liken this to a pharmaceutical coming out with a new vaccine, encourage everyone to use it, then discover it's bad to the degree it causes it uses to become sick.  Rather then pull the vaccine they keep on allowing unsuspecting ones to continue to vaccinate, and become sick.  What a shame!
    Charlie Lee 

  • I have upgraded my Iphone 4s to 7.0.3 and after that my phone is not charging at all if i leave my phone for charging for more then 24 hours it will charge upto 50%. How do i solve  this issue ?? pls suggest ??

    I have upgraded my Iphone 4s to 7.0.3 and after that my phone is not charging at all if i leave my phone for charging for more then 24 hours it will charge upto 50%. How do i solve  this issue ?? pls suggest ??

    Even if it is a hardware problem they should fix it regardless of warranty. If you buy a car and after 1.5 years the doors fall off due to a failure in their design and construction, do you think the car manufacturer could pull off what Apple is trying to do? Yes the car still delivers its primary objective of driving from A to B, but significant functionality has been lost due to their fault.
    It is the same with this iPhone wifi problem. Apple are a disgrace, I have had significant Apple Hardware failures with my MacBook Pro and iPhone within 2 years of purchase. Pathetic quality.

  • Is it possible to retrieve report for more then one record at Bi Pub

    is it possible to retrieve report for more then one record at a time using BI Publisher on siebel Application

    Hi Sudhir,
    We have tried this.
    I think currently you can query for records you want on UI and run report , then you can see the result set of query in report.
    But i think in future releases of BIP the feature to run a report for selected & Multiple Selected records will be provided.
    Thanks,
    Vamsi

Maybe you are looking for

  • Preview Outlook2013 does not work on RDS2012R2 terminal server

    Hi. I am IT manager for a new RDS 2012R2 environmnet with 2 terminal servers running MS Office Professsional Plus 2013 SP1 Norwegian. The main problem : Previewing of word/excel/powerpoint file attachments in  Outlook2013 does not work on these 2 RDS

  • Apple ID, how do I get music from family Apple ID to daughters?

    My daughter recently got a computer for her 13th birthday.  I was thinking about having her create her own Apple ID.  If we do that how will she get all her music and apps from the family Apple ID to her new Apple ID?

  • HP Support Assistant is no longer working

    HP Support Assistant is no longer working It appears just before and after upgrade to windows 8.1 If you try to uninstall (in order to reinstall) you get Error 1316. I noticed many HP users have the same problem that after upgrade to Windows 8.1 HP S

  • Ipod classic not connecting (not even showing 'do not disconnect' on Ipod)

    Help! I have an ipod classic and, since I upgraded to itunes 9, I have noticed that, all of a sudden, my ipod won't connect at all. When I connect the USB cable to the ipod, the screen lights up but does not start charging nor does it show 'do not di

  • Time Machine requires me to reformat my external hard disk

    I have a Maxtor 1TB external hard disk that works fine with my Mac. It has been formatted to FAT32 format so I can use it on Mac and PC. When I tried to setup Time Machine to back up to this drive, I was told I needed to reformat my external hard dis