How to send remainder after 15 days for alert which is already sent

Hi,
I m creating an email alert which will send the mail for po's which requires to get the appoval.
then if after 15 days also there is no action taken on that po then again the mail will go to approver.
select
PAH.ACTION_CODE,
(select SEGMENT1 from po_headers_all where po_header_id = pah.object_id) PO_num,
(select comments from po_headers_all where po_header_id= pah.object_id) Po_desc,
(select CMTL_EMAIL_PKG.cmtl_po_emails1(pah.employee_id) from dual) to_email
INTO
&action,
&PO_NUM,
&po_desc,
&TO_EMAIL
from
po_action_history PAH
where
1=1
AND ROWID=:ROWID
and pah.sequence_num not in (0,1)
and pah.OBJECT_TYPE_CODE = 'PO'
--and pah.action_code <>'CLOSE'
and (pah.action_code not in ('CLOSE','CANCEL') or pah.action_code is null )
and pah.employee_id not in (77,78,79)
--and pah.approval_path_id is not null
this query will give the detail that the &po_num needs your approval.
and if for 15 days no action has been taken then again that particular person should get the alert for remainder.
Regards,
Bletooth

Hi,
Please someone help me.
Regards,
Bluetooth

Similar Messages

  • I have an idea , but how to convert it to a program then how to send it to apple for approval

    i have an idea , but how to convert it to a program then how to send it to apple for approval

    An App?
    See the developer department.
    Developer.Apple.com

  • How can I buy another "license" for an app I already have?

    How can I buy another "license" for an app I already have?

    I understand what that's like, believe me. And adding problems with an Apple product really adds insult to injury. Trust me, calling them when the lines are open will be really good. They're very nice, and from my own experience they've always found a solution for me. When you're frenzied it's sometimes nice to talk to a person instead of fill out a form. Refer to my post above for their number, but I don't think they open until 9 'o clock Pacific Time or something like that. Good luck!

  • How to send PR & PO data for materials through IDOC in XML

    Hi Experts,
    I am looking for a solution to send open PR & open PO related data for diffrent materials through as IDCO in XML file.
    Scenario is i have to show a report in a 3rd party system for open PR & open PR that too will come after selection some materials. That means select a materials & it will show all the open PO & related data in a report.
    The rough idea for the solution i got is I can save the data in XML file in the system. For this i have to send IDOC. but the problem is there is no message type for PR. IF i am not wrong i can extend the MATMAS05 for a segment that will have PR related info.
    Now what to do with that how to send the IDOC do i need to create another report to send IDOC or i can send the extended one through BD10. I tried it but it shows error message "0 communication idoc sent" so I dont no y such error is coming i think i am not filling the extended idoc. But again my QUestion is how to do that. If anyone have any other solution Please help me out of this.
    Regards,
    Nik

    Hi Alpesh,
    Thanks for your reply.
    My requirement is bit different. i have to send Open PR data for diffrent materials. In a 3rd party application user will search for few materials which will generate a report that will show the PR related data for those material.
    Same thing i have to do for PO & Sales order also.
    Can u please help me to provide the solution how can i proceed for it. U have given the Message type & a bapi how it will help in my issue?
    I got a suggesion from someone that extend message type matmas for PR, PO, SD related data & send the idoc. but i am confused how to pass that much data ina single IDOC.
    Regards,
    Nik

  • How add new tab after reason for rejection tab using tcode va01

    Hello,
           How to add new tab after Reason for Rejection tab using tranzaction code VA01.
    pls suggest solution.

    I don't think you can add a tab after reason for rejection tab. There are custom tab, which you can use for your convenient, given by SAP. You can look into the below details:
    Program : SAPMV45A
    Screen: 8459(Item) and 8309(Header).
    Kuntal.

  • I'd like step by step instructions on Ipodtouch setup after establishing itunes account which I already have. For example, which service,app downloads,etc.

    I'd like step by step setup for iPodtouch after setting up iTunes account which I already have.For example, how to setup the screen with the necessary screen icons ,camera ,music ,mail, etc. I'm at the stage where it asks for service to choose from and I don't know which service to answer with.

    I do not know what you mean by service?
    Tyt downloading/reading the manual
    iPod touch User Guide (For iOS 5.0 Software)

  • How can i create work directory for Tomcat4 which is installed on Mandrake

    Hello Everybody,
    I installed Tomcat4 with the help of JPackage on Madrake Linux. It is working fine. But Unfortunatly my work folder in tomcat4 is deleted. I restarted my Tomcat, But the work folder not created. my application is not working. I need help from u people. Is there any other options to create work folder. I installed the tomcat4 from jpackage.
    Thanks in advance, Naveen Kumar Madugula

    4) Advanced Configuration - Multiple Tomcat 4 Instances
    In many circumstances, it is desirable to have a single copy of a Tomcat 4
    binary distribution shared among multiple users on the same server. To make
    this possible, you must configure a CATALINA_BASE environment variable (in
    addition to CATALINA_HOME as described above) that points to a directory
    that is unique to your instance.
    When you do this, Tomcat 4 will calculate all relative references for files in
    the following directories based on the value for CATALINA_BASE instead of
    CATALINA_HOME:
    * conf - Server configuration files (including server.xml)
    * logs - Log and output files
    * shared - For classes and resources that must be shared across all web
    applications
    * webapps - Automatically loaded web applications
    * work - Temporary working directories for web applications
    * temp - Directory used by the JVM for temporary files (java.io.tmpdir)
    If you do not set CATALINA_BASE to an explicit value, it will be initialized
    to the same value as is set for CATALINA_HOME (which means that the same
    directory is used for all relative path resolutions).
    more -> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/RUNNING.txt

  • HT1329 My old computer crashed but still have my IPOd with old music. How to transfer the music into new computer which has already music in it?

    My old computer crashed and I still have my music in an IPod. How to transfer the music/playlists into a new computer which has already music in it? (Not possible to copy ITunes of old computer in IPod)
    Thanks

    Lucky for you, I just found out how to get the music stored on your iPod by messing around with it. I'm not much of an Apple user (I only have a shuffle), so I'm not 100% sure it would work the same way as yours.. but it's worth a shot.
    if your iTunes didn't sync with your iPod yet,... that would be great..
    1, Make sure your iTunes does not automatically sync with your iPod (I don't know if this would help..)
    2, Click on your iPod and go to settings, check "Enabe Disk Use"
    Your iPod should now have a partition on My Computer called AFJCHAW's IPOD or whatever you named your iPod... If you go to that disk, you'll notice there's nothing in there.
    3, Click on Organize at the top right part of Windows Explorer(Windows 7, don't know how in XP..), go th the Folder and search options, view tab, and click on show hidden files, folders, and drives.
    If you go back to your disk, you should be able to find a folder
    4, It'll be pretty straightforward then. Go to iPod_Control/Music. You'll find folders there. Inside the folders are each of your music files (they're renamed but the Details would still be about the same).
    If you did get your music files back from this procedure, then, yay! it worked!!
    If you didn't,.... it should've worked..

  • How to change a DIVISION in Sales Order which is already saved?

    Hi,
    I want to change only the division in Sales Order which is already created and saved.
    Which means I already created sales order with sales area GB50/02/12 and now I want to change that division to 14.
    Please note that it has no reference docs and it is independent .. . . I mean to say it is directly created and it is not all used as any ref.
    Please Help ASAP.
    Edited by: nananx143 on Apr 13, 2011 4:13 PM

    Hai,
    Two things want to share.
    1. Hope the material will be considered in some particular division while creating.
       The reason for the issue may be, user entered a division /12 and selected material of other division.
    First as a permanent solution
    a) Check in Material master,the  sales view division is maintained for the material or not
    b) In the sales order type settings, - T code:  VOV8 Check the field
          Check division      needs to be maintained as 2 Error.
    This prevents the wrong selection of division and material combination.
    2. You mentioned as no reference document, similar if there is nor following documents cancel the sales order and create a new sales order.
    In case if you want to change the data compulsory in the same document , then can edit the SAP table entry directly. BUT IT IS NOT RECOMMENDED.
    Regards,
    Mani

  • How to send mail after job abort

    Hi,
    how can I send an email when a job is aborted? Or is there a system event if a job aborts?
    Thanks for your help
    Lutz

    You might want to look into ABAP.  Basically a generic job that would get called, to send email, whenever a certain job "aborts", but then you'd also need a wrapper job for detecting the bad return code. help.sap.com has some info on that (using events to trigger jobs), like this:
    http://help.sap.com/saphelp_47x200/helpdata/en/fa/096f33543b11d1898e0000e8322d00/frameset.htm
    or this (the full-control method)
    http://help.sap.com/saphelp_47x200/helpdata/en/fa/096f33543b11d1898e0000e8322d00/frameset.htm
    CCMS can also monitor job status too, as the other poster said,
    http://help.sap.com/saphelp_47x200/helpdata/en/fa/096f33543b11d1898e0000e8322d00/frameset.htm
    however it's very limited.  Especially if you want to use logic for the alerts (ie only certain jobs should alert upon failure, certain times of day, recipients, etc).  It's all possible with CCMS, I've seen it done before using scripts that read CCMS external alerting but it's probably easier just adding event triggers to your critical jobs.

  • How to send mail after downloading iOS5 onto iPhone 4?

    Hello
    While setting up iOS 5.0 i was alerted my home POP email was needing verification for my existing ME account, even though I'd never used home POP account before. I did verify it and have both it (in Canada a Telus service provider '[email protected]') and my existing ME account verified.
    I am able to send mail on iphone with Me account but not with Telus account.
    I rebooted both computer and phone, deleted and re-set up Telus account on iPhone, and still not able to send mail.
    Any help would be most appreciated.

    I have the same problem. The downoad went smoothly with no errors displayed. My phone updated just fine, all my apps appeared and nothing was lost. The phone with iOS5 worked perfectly for about two hours and suddenly, nothing. No home+lock button combo, no home button, no response when placed on a charger, my computer won't even recognize that a device has been plugged in. This is horribly frustrating, especially considering how much searching I had to do just to find out that someone else had this problem. I hope mine wakes up for a second in the morning at least.
    Does anyone know what to do about this?

  • How to send IP Addr in an alert and receive the same?

    1. I have an 'alert handler' process that's sending an alert using 'Create Alert' activity.
    2. I have a listening/receiving process that get's triggered by this alert from the 'alert handler' process.
    3. The listening/receving process telnet's to a router. I want the listening/receiving process to extract the IP Address of the router from the alert that triggered this listening proecess.
    4. I tried sending the IP address of the router as 'Parameter 1' using the 'Create Alert' activity in the 'alert handler' process.
    5. In the receiving process, in order to telnet to the router, I chose 'Execute on this target reference' option for the 'Open Terminal' acitivity, but was unable to access 'Paramter 1' of the alert. It shows greyed out.
    Question:
    What is the best way to send the IP address of the router in the alert and receive the same in the listening process such that I can telnet to that router in the listening process?
    Please note: tried creating a 'terminal target'...there is no way for me to supply IP address info from outside into terminal target...looks like terminal target only takes a hard coded IP address or host name.
    Will appreciate your prompt response please.
    thanks,
    Jamal

    We discussed this, but just to post here. To view alert or other tasks parameters via the reference variable fields you have to select the show advanced checkbox.

  • How to check data after mapping for BPM if the mapping done outside BPM ?

    Hi.
    I have simple scenario BPM. Proxy -
    > JDBC. I have 1 message mapping in between PROXY and JDBC.
    and i have put the mapping outside the BPM (i didn' use transformation step). In case error happen. how i can see the data after the mapping ? i am always got difficulty to check the data if i have mapping outside bpm.
    Thank you
    Fernand

    Hi
    In case error happen. how i can see the data after the mapping ?
    You have used mapping in interface determination of corresponding receiver determination. In transaction SXMB_MONI, open message corresponding to that receiver determination. There in left hand side you will see IS pipeline steps. There if you want to see message payload that is input to Mapping than see payload of any pipeline step before Request Message Mapping and test it in Design. If mapping fails you can see trace of the same step.
    Request Message Mapping ---> SOAP Header ---> Trace
    There you can see where your mapping failed.
    And as rohit replied you can also get message from RWB.
    For further clarification revert back to us.
    Regards
    Sami
    Reward points if helpful.

  • How do I fix my scrabble for iPad, which crashes now after I updated it this am?

    I just updated my Scrabble for iPad this morning, now it crashes while loading and I don't know the solution to this. any ideas? Thanks

    If the item is crashing after an update this is likely to be a problem only the software developers can fix. Go to the App page for the Scrabble and look for any Developer/Support links, and send feedback.
    Regards,
    Steve

  • How to send email after bdc upload done?

    Hi Experts,
    How do we send an email after the bdc upload program run successfully. I want to send email to the users saying the material upload successfully message with the material details.
    How can i do it? Is there any way to trigger a mail after calling the bdc upload part?
    Please help me on this.
    Thanks in advance.
    Regards,
    Rashika.

    Hi,
    After the BDC has run. check if sy-subrc is zero or not.
    IF sy-subrc EQ 0.
            COMMIT WORK.
    and in this IF statement use the following code:
        wa_receivers-receiver = so_malid-low.
        wa_receivers-rec_id = so_malid-low.
        wa_receivers-rec_type = 'U'.
        wa_receivers-com_type = 'INT'.
        wa_receivers-notif_del = 'X'.
        wa_receivers-notif_ndel = 'X'.
        APPEND wa_receivers TO gi_receivers.
        CLEAR wa_receivers.
    Populate the subject/generic message attributes
      wa_doc_data-obj_langu = sy-langu.
      wa_doc_data-obj_name = lc_obj_name.
      wa_doc_data-obj_descr = 'Find Inactive PU/DU'(001).
      wa_doc_data-sensitivty = lc_sensitivity.
    Describe the body of the message
      wa_message = '<html><head>'.
      APPEND wa_message TO gi_messages.
      wa_message = '<style type="text/css">'.
      APPEND wa_message TO gi_messages.
      wa_message = lc_style_content.
      APPEND wa_message TO gi_messages.
      wa_message = lc_style_content1.
      APPEND wa_message TO gi_messages.
      wa_message = '</style></head>'.
      APPEND wa_message TO gi_messages.
      wa_message = '<body>'.
      APPEND wa_message TO gi_messages.
      wa_message = 'Hi,<BR><BR>'(002).
      APPEND wa_message TO gi_messages.
    CONCATENATE(' Updation successful')
        '.<BR><BR>'
        INTO wa_message SEPARATED BY space.
        APPEND wa_message TO gi_messages.
    DATA: lv_tab_lines TYPE i VALUE 255.
      CLEAR gi_packing_list.
      REFRESH gi_packing_list.
      wa_packing_list-transf_bin = space.
      wa_packing_list-head_start = 1.
      wa_packing_list-head_num = 0.
      wa_packing_list-body_start = 1.
      DESCRIBE TABLE gi_messages LINES lv_tab_lines.
      READ TABLE gi_messages INDEX lv_tab_lines INTO wa_message.
      wa_doc_data-doc_size = ( lv_tab_lines - 1 ) * 255 + STRLEN( wa_message ).
      APPEND wa_message TO gi_messages.
      DESCRIBE TABLE gi_messages LINES wa_packing_list-body_num.
      wa_packing_list-doc_type = 'HTM'.
      wa_packing_list-doc_size = lv_tab_lines * 255.
      APPEND wa_packing_list TO gi_packing_list.
      CLEAR wa_packing_list.
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          document_data              = wa_doc_data
          sender_address             = gc_sender_address
          sender_address_type        = gc_sender_address_type
          commit_work                = 'X'
        TABLES
          packing_list               = gi_packing_list
          contents_txt               = gi_messages
          receivers                  = gi_receivers.
    Regards,
    Rajesh Kumar

Maybe you are looking for

  • Get-ADUser and Get-ADPrincipalGroupMembership combined

    I'm trying to get a list of template user account and what their membership are exported to a csv file. I'm trying to combine the tables on them but having a hard time figuring it out. I spent the day racking my brain on this and figured I would reac

  • I have a license to Adobe Acrobat Pro DC - can I use it in the mobile app?

    Hi! I recently bought the license to Adobe Acrobat Pro DC for my computer and now I want to extend my possibilites with the mobile app. Is it possible in some way to use the bought license in the mobile app? Because I'm requested to buy additional pa

  • Ver en Monitor TV

    Tengo Premiere Pro 2, antes tenia una tarjeta nvidia 5200 y podia ver la salida de video de premiere en mi televisión. He cambiado la placa gráfica a nvidia 7800 y como consecuencia tambien los drivers y ya no puedo verlo. He estado tocando los drive

  • Bootcamp installation failure

    Hello to all. I've had Windows 7 installed for nearly a year now and up until now I haven't had any problems with it. I "accidently" uninstalled the bootcamp setup while uninstalling other things and now, I can't reinstall it. I've tried with the App

  • Can Custom skin download font if not installed?

    Hi I have an ADF BC application written in JDev 10.1.3. It uses a customer skin so our various customers can implement their own look and feel. One of our customers requested the Futura font which worked fine on my PC because I have the futura font i