How to send the 3rd email in the MSMSP CUP workflow?

Hello GRC community,
at first thank you all for your great support during the last months. Four month ago I started the implementation of AC in our department without any GRC experience. But now, four months later we are just about to implement the AC 10.0. Thank you all.
Now we are working on the following issue, where we need your help. Let me explain what the issue is:
After the finishing the last step in CUP workflow (WS76300056) the workflow sends out 2 emails: (method CL_GRFN_MSMP_WF_TEMPLATE_BASE --> UPDATE_PATH_FINISHED sends out these 2 emails)
1.to the USER
2.to the REQUESTER
But due to our presystem which is a part of the Access request workflow we want to send out a 3rd email to a 3rd recipient. Getting the 3rd recipient is not the issue. The issue is: where do we have to implement the sending of the notification? Our own Investigation comes up to an enhancement point which seems to be the right place to add ABAP code which sends out the 3rd email.
Has anybody similar issue or the experience with the following enhancement and could help us? Or maybe there is an alternative solution? Any hints are welcome.
Package: GRFN_MSMP_WORKFLOW
Enhancement: GRFN_MSMP_END_OF_PATH_NOTIF
Thanks, and best regards
Sabrina

The send mail function will send mail to the users and or alias in the workflow step where you invoke it. The IDOC script guide will help you with implementing these kinds of things.
http://download.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/sdk/idoc_script_reference/wwhelp/wwhimpl/js/html/wwhelp.htm
IDOC script by usage / Workflow
wfNotify is the one you want to look at specifically.
Workflow
The following Idoc Script variables and functions are related to workflows.
Configuration Variables
isRepromptLogin
IsSavedWfCompanionFile
PrimaryWorkQueueTimeout
WorkflowDir
WorkflowIntervalHours
Global Functions
getValueForSpecifiedUser
Workflow Functions
wfAddActionHistoryEvent
wfAddUser
wfComputeStepUserList
wfCurrentGet
wfCurrentSet
wfCurrentStep
wfDisplayCondition
wfExit
wfGet
wfGetStepTypeLabel
wfIsFinishedDocConversion
wfIsNotifyingUsers
wfIsReleasable
wfLoadDesign
wfNotify
wfReleaseDocument
wfSet
wfSetIsNotifyingUsers
wfUpdateMetaData
Other Variables
AllowReview
dWfName
dWfStepName
entryCount
IsEditRev
IsWorkflow
lastEntryTs
SingleGroup
wfAction
wfAdditionalExitCondition
wfJumpEntryNotifyOff
wfJumpMessage
wfJumpName
wfJumpReturnStep
wfJumpTargetStep
wfMailSubject
wfMessage
wfParentList
WfStart

Similar Messages

  • How to send a group email where the recipients' names and addresses remain anonymous?

    I wish to send out an email to a "Group" in my Apple Contacts. I want the several recipients in the group to be unknown to each other, where their names and addresses are invisible – except myself, the creater of the email.
    Does Apple 'Mail' and/or 'Contacts' allow for this?
    And, by keeping the group invisable, will this prevent any one recipient from responding as a 'Reply All,' thereby still being able to respond to everyone in the otherwise invisible group?
    TOM

    Put the addresses in the Bcc field. If it is not shown, select it from the button on the compose window:

  • How to Send Foreign Language Email from the iPhone

    See this site for online keyboards for some other languages which can be used to generate a mail message from the iPhone.
    http://pointatme.com/keyboards/keyboard.html

    The keyboard included in the current version of the iPhone is limited to English. But at this site you will find online keyboards for some European languages which can be used to generate a mail message from the iPhone.
    http://pointatme.com/keyboards/
    And if you point the iPhone browser to this page you can send email in Japanese:
    http://n.h7a.org/iphone/mail/

  • I have forgotten my security questions and need to send a reset email, but the email address that it wants to send it to doesn't work anymore. How do i change the email they send the email to?

    I have forgotten my security questions and need to send a reset email, but the email address that it wants to send it to doesn't work anymore. How do i change the email they send the email to?

    You cannot and need to contact Apple to get the questions reset. Click here, phone them, and ask for the Account Security team, or fill out and submit this form.
    (95774)

  • HT5312 How do I get this email for the security questions? It's only a copy on the website so I can't send it or fill it out.

    The rescue email on the website is only a copy, so I can't fill it out or send it. What am I supposed to do?

    You've followed the steps half-way down that page :
    Navigate to appleid.apple.com using your web browser.
    Click "Manage your account"
    When prompted, sign in using your Apple ID and password.
    Click Password & Security
    You'll be asked to answer 2 of your 3 security questions before you can make any modifications. If you are unable to remember your answers, you can choose to send an email to your rescue email to reset your security questions.
    The reset link will only show if you have a rescue email address (which is not the same thing as an alternate email address) set up on your account. If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down the HT5312 page that you posted from to add a rescue email address for potential future use

  • How to send a mail by ckicking the button using java

    hi,
    how to send a mail by clicking the button (like payroll silp in that contain one button if we click that it autometically go through the mail as a attachment) pls frd to me my gmail is [email protected]

    Hi,
    It seems we are doing the homework for you; to make you start with something; look at the sample code below and try to understand it first then put the right values
    to send an email with an attachement.
    import java.awt.BorderLayout;
    import java.awt.event.ActionEvent;
    import java.util.Date;
    import java.util.Properties;
    import javax.activation.DataHandler;
    import javax.activation.FileDataSource;
    import javax.mail.Message;
    import javax.mail.MessagingException;
    import javax.mail.Multipart;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeBodyPart;
    import javax.mail.internet.MimeMessage;
    import javax.mail.internet.MimeMultipart;
    import javax.swing.AbstractAction;
    import javax.swing.Action;
    import javax.swing.JButton;
    import javax.swing.JComponent;
    import javax.swing.JFrame;
    import javax.swing.JTextField;
    public class Main {
          * @param args
         public static void main(String[] args) {
              // Create the frame
              String title = "Frame Title";
              JFrame frame = new JFrame(title);
              // Create a component to add to the frame
              JComponent comp = new JTextField();
              Action action = new AbstractAction("Button Label") {
                   // This method is called when the button is pressed
                   public void actionPerformed(ActionEvent evt) {
                        System.out.println("sending email with attachment");
                        sendEmail();
              // Create the button
              JButton button = new JButton(action);
              // Add the component to the frame's content pane;
              // by default, the content pane has a border layout
              frame.getContentPane().add(comp, BorderLayout.SOUTH);
              frame.getContentPane().add(button, BorderLayout.NORTH);
              // Show the frame
              int width = 300;
              int height = 300;
              frame.setSize(width, height);
              frame.setVisible(true);
         protected static void sendEmail() {
              String from = "me@localhost";
              String to = "me@localhost";
              String subject = "Important Message";
              String bodyText = "This is a important message with attachment";
              String filename = "c:\\tmp\\message.pdf";
              Properties properties = new Properties();
              properties.put("mail.stmp.host", "localhost");
              properties.put("mail.smtp.port", "25");
              Session session = Session.getDefaultInstance(properties, null);
              try {
                   MimeMessage message = new MimeMessage(session);
                   message.setFrom(new InternetAddress(from));
                   message.setRecipient(Message.RecipientType.TO, new InternetAddress(
                             to));
                   message.setSubject(subject);
                   message.setSentDate(new Date());
                   // Set the email message text.
                   MimeBodyPart messagePart = new MimeBodyPart();
                   messagePart.setText(bodyText);
                   // Set the email attachment file
                   MimeBodyPart attachmentPart = new MimeBodyPart();
                   FileDataSource fileDataSource = new FileDataSource(filename) {
                        @Override
                        public String getContentType() {
                             return "application/octet-stream";
                   attachmentPart.setDataHandler(new DataHandler(fileDataSource));
                   attachmentPart.setFileName(filename);
                   Multipart multipart = new MimeMultipart();
                   multipart.addBodyPart(messagePart);
                   multipart.addBodyPart(attachmentPart);
                   message.setContent(multipart);
                   Transport.send(message);
              } catch (MessagingException e) {
                   e.printStackTrace();
    }The sample above is not ideal so you need to go through it and start to ask me some questions if you have
    Let me know if you miss something
    Regards,
    Alan Mehio
    London,UK

  • E-mailing: How to sent out an email to the Managers OUTLOOK express account

    Hi Experts,
    System is ECC6.0.
    I hv requirement that, the sales orders comes from EDI into SAP. If there is a error in material (like,
    non-sellable, not existing etc.), I need to trap this issue/error.....................fine, I did it and working fine.
    But, in next step, I need to send out an email to the manager to his/her OUTLOOOK express(NOT work flow account) email account"s inbox, with a standard specified format!!!!
    I do NOT think, work flow is necessorily involved here in this scenario!!!
    So, let me know that,
    1) Is WORK FLOW involvment i there?
    2) How to get it done that, sending out email to OUTLOOK express account with a standard format
    3) Any FMs, piece of code
    replies appreciated.
    Edited by: SAP ABAPer on Sep 6, 2008 3:34 PM
    Edited by: SAP ABAPer on Sep 6, 2008 3:35 PM

    Hello
    I can offer two proposals:
    1) Standard report RSEIDOCA is used to actively monitor IDoc processing.
    This report can be scheduled in background and reports failed IDocs. Unfortunately SAP did not offer e-mail notification together with this report which is really a shortcoming. However, I have written a modified version of this report which allows to send e-mails (see below).
    2) Another scenario we are using is to replace wrong partners/materials with dummy partners or materials ensuring that the IDoc will be processed under all circumstances. In this case we set the Purchase order number supplement (sales order -> header -> tabstrip Order Data: field VBAK-BSTZD) = 'ERR'.
    Using a condition (transaction VOFM ) we trigger an ORDRSP IDoc if a new sales order has BSTZD = 'ERR'. This IDoc is forwared to SAP-XI and translated into an e-mail to the customer service.
    The crucial parts of my report ZRSEIDOCA are shown below (adjust selection screen and notification routine):
    ...*    perform show_act_moni.
    **    PERFORM send_notification.
        PERFORM _send_email_notification.
        MESSAGE s596.
      ELSE." keine Benachrichtigung
        MESSAGE s597.
      ENDIF.
    *&      Form  _SEND_NOTIFICATION
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM _send_email_notification.
    * define local data
    * All activities done via facade CL_BCS!
      DATA: lo_send_request       TYPE REF TO cl_bcs.
      DATA: lt_text               TYPE bcsy_text.
      DATA: lo_document           TYPE REF TO cl_document_bcs.
      DATA: lo_sender             TYPE REF TO cl_sapuser_bcs.
      DATA: lo_recipient          TYPE REF TO if_recipient_bcs.
      DATA: lo_bcs_exception      TYPE REF TO cx_bcs.
      DATA: lx_sent_to_all        TYPE os_boolean.
      DATA: ls_edidc              TYPE edidc,
            lo_idoc               TYPE REF TO zcl_idoc,
            lif_idoc              TYPE REF TO zif_idoc,
            ls_text               TYPE soli,
            ld_text(50)           TYPE c,
            ld_subject            TYPE so_obj_des,
            ld_date(10)           TYPE c,
            ld_time(8)            TYPE c.
      TYPES: BEGIN OF ty_s_idocdata.
      INCLUDE TYPE vbak AS vbak RENAMING WITH SUFFIX _vbak.
      INCLUDE TYPE kna1 AS kna1 RENAMING WITH SUFFIX _kna1.
      TYPES: END OF ty_s_idocdata.
      DATA: ls_idocdata   TYPE ty_s_idocdata.
      TRY.
    *     -------- create persistent send request ------------------------
          lo_send_request = cl_bcs=>create_persistent( ).
    *     -------- create and set document -------------------------------
    *     create document from internal table with text
    **      APPEND 'Hello world!' TO lt_text.
    **      lo_document = cl_document_bcs=>create_document(
    **                      i_type    = 'RAW'
    **                      i_text    = lt_text
    **                      i_length  = '12'
    **                      i_subject = 'test created by ZRSEIDOCA' ).
          ld_subject = 'IDoc Monitoring'.
          WRITE syst-datum TO ld_date DD/MM/YYYY.
          WRITE syst-uzeit TO ld_time.
          CONCATENATE ld_subject syst-slset
            INTO ld_subject SEPARATED BY space.
          CONCATENATE ld_subject ':' INTO ld_subject.
          CONCATENATE ld_subject ld_date 'at' ld_time
            INTO ld_subject SEPARATED BY space.
          LOOP AT i_edidc INTO ls_edidc.
            " Create IDoc instance
            CLEAR: lo_idoc,
                   ls_idocdata.
            lo_idoc = zcl_idoc=>create_by_idoc_control( ls_edidc ).
            IF ( lo_idoc IS BOUND ).
              lif_idoc ?= lo_idoc.
              CALL METHOD lif_idoc->get_specific_data
                CHANGING
                  c_data = ls_idocdata.
            ELSE.
            ENDIF.
            WRITE ls_edidc-docnum TO ls_text-line NO-ZERO.
            CONDENSE ls_text-line.
            IF ( ls_idocdata-vbak IS NOT INITIAL ).
              CONCATENATE 'POnumber' ls_idocdata-bstnk_vbak
                INTO ld_text SEPARATED BY '='.
              CONCATENATE ls_text-line ld_text
                INTO ls_text-line SEPARATED BY space.
              WRITE ls_idocdata-bstdk_vbak TO ld_text DD/MM/YYYY.
              CONCATENATE 'POdate' ld_text
                INTO ld_text SEPARATED BY '='.
              CONCATENATE ls_text-line ld_text
                INTO ls_text-line SEPARATED BY space.
              IF ( ls_idocdata-kunnr_vbak IS NOT INITIAL ).
                CONCATENATE 'Customer' ls_idocdata-kunnr_vbak
                  INTO ld_text SEPARATED BY '='.
                CONCATENATE ls_text-line ld_text
                  INTO ls_text-line SEPARATED BY space.
              ENDIF.
              IF ( ls_idocdata-name1_kna1 IS NOT INITIAL ).
                CONCATENATE '(' ls_idocdata-name1_kna1 ')'
                  INTO ld_text.
                CONCATENATE ls_text-line ld_text
                  INTO ls_text-line SEPARATED BY space.
              ENDIF.
            ENDIF.
            APPEND ls_text TO lt_text.
          ENDLOOP.
          lo_document = cl_document_bcs=>create_document(
                          i_type    = 'RAW'
                          i_text    = lt_text
    **                      i_length  = '12'
                          i_subject = ld_subject ).
    *     add document to send request
          CALL METHOD lo_send_request->set_document( lo_document ).
    *     --------- set sender -------------------------------------------
    *     note: this is necessary only if you want to set the sender
    *           different from actual user (SY-UNAME). Otherwise sender is
    *           set automatically with actual user.
          lo_sender = cl_sapuser_bcs=>create( sy-uname ).
          CALL METHOD lo_send_request->set_sender
            EXPORTING
              i_sender = lo_sender.
    *     --------- add recipient (e-mail address) -----------------------
    *     create recipients - please replace e-mail address !!!
          LOOP AT o_email.
            lo_recipient = cl_cam_address_bcs=>create_internet_address(
                                              o_email-low ).
    *       add recipient with its respective attributes to send request
            CALL METHOD lo_send_request->add_recipient
              EXPORTING
                i_recipient = lo_recipient
                i_express   = 'X'.
          ENDLOOP.
    *     ---------- send document ---------------------------------------
          TRY.
              CALL METHOD lo_send_request->set_status_attributes
                EXPORTING
                  i_requested_status = 'N'  " suppress delivery confirmation
                  i_status_mail      = 'E'.
            CATCH cx_send_req_bcs .
          ENDTRY.
          TRY.
              CALL METHOD lo_send_request->set_send_immediately
                EXPORTING
                  i_send_immediately = 'X'.
            CATCH cx_send_req_bcs .
          ENDTRY.
          CALL METHOD lo_send_request->send(
            EXPORTING
              i_with_error_screen = 'X'
            RECEIVING
              result              = lx_sent_to_all ).
          IF lx_sent_to_all = 'X'.
            WRITE text-003.
          ENDIF.
          COMMIT WORK.
    * *                     exception handling
    * * replace this very rudimentary exception handling
    * * with your own one !!!
        CATCH cx_bcs INTO lo_bcs_exception.
          WRITE: text-001.
          WRITE: text-002, lo_bcs_exception->error_type.
          EXIT.
      ENDTRY.
    ENDFORM.
    Regards
      Uwe

  • When i try to buy something it gives me my security questions i put them in right but saying they are worng i try to send me a email of the answers from itunes but it near shows up in my email?

    when i try to buy something it gives me my security questions i put them in right but saying they are worng i try to send me a email of the answers from itunes but it near shows up in my email?

    You need to ask Apple to reset your security questions; ways of contacting them include phoning AppleCare and asking for the Account Security team, clicking here and picking a method for your country, and filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (105412)

  • How do I delete multiple emails at the same time rather than individually?

    How do I delete multiple emails at the same time rather than individually?

    My mistake
    I was looking at my KB, even tested my suggestion with the command key, and then wrote option
    Barry

  • My email recently changed and so I updated my Apple ID to reflect my new email, but my Icloud account still shows the old email as the username on both my Iphone and Ipad and for the life of me I can't figure out how to change or delete it.

    My email recently changed and so I updated my Apple ID to reflect my new email, but my Icloud account still shows the old email as the username on both my Iphone and Ipad and for the life of me I can't figure out how to change or delete it.  My password doesn't work with the old email address.  When I look for my old email address in the Apple ID support area it says that the ID doesn't exist.  Help!!!

    You have to go to Settings>iCloud and tap Delete Account, then sign back in with your updated credentials.  This deletes the account and your synced data from your device, but not from iCloud.  Provided you are signing back into the same account and not changing to a different account, your data will be synced back to your device when you sign back in.

  • MY HUSBAND AND I SHARED THE SAME EMAIL ADDRESS, AT THAT TIME I PURCHASED MUSIC, NOW I HAVE MY  OWN EMAIL. I ADDED MYSELF TO THE ORIGINAL EMAIL, ON THE ORIGINAL ITUNES ACCOUNT. HOW CAN I GET MY MUSIC ON MY I PHONE. MY HUSBAND HAS ALL MY MUSIC ON HIS PHONE.

    MY HUSBAND AND I SHARED THE SAME EMAIL ADDRESS, AT THAT TIME I HAD DOWNLOADED MUSIC TO MY PHONE. I GOT MY OWN EMAIL ADDRESS AND ADDED THAT EMAIL TO THE ORIGINAL ACCOUNT, WHICH ORIGINATED WITH MY HUSBANDS EMAIL.
    HOW CAN I GET THE MUSIC DOWNLOADED TO MY IPHONE.

    nshepley wrote:
    I GOT MY OWN EMAIL ADDRESS AND ADDED THAT EMAIL TO THE ORIGINAL ACCOUNT, WHICH ORIGINATED WITH MY HUSBANDS EMAIL.
    Please turn off your CAPS LOCK!
    How did you "add that email to the original account"?
    You changed the AppleID to your new email address?

  • I try to find something on my iPad, many results are emails, when I push on an email I can't see the email, because I get ever the first email,or the previous selected email in my inbox. How can I see the email selected?

    I try to find something on my iPad, many results are emails, when I push on an email I can't see the email, because I get ever the first email,or the previous selected email in my inbox. How can I see the email selected?

    Is your Yahoo account set up as POP3 or IMAP?

  • Have Operating System 10.6.8, Mail Program 4.6.  How can I prevent the next email in the que from automatically opening after I act on the previous email ? It creates big organizational problems for me. My computer changes this mode from self opening to m

    Have Operating System 10.6.8, Mail Program 4.6.
    How can I prevent the next email in the que from automatically opening after I act on the previous email ? It creates big organizational problems for me. My computer changes this mode from self opening to manually opening every few month with no ? action from me.
    Help

    Have Operating System 10.6.8, Mail Program 4.6.
    How can I prevent the next email in the que from automatically opening after I act on the previous email ? It creates big organizational problems for me. My computer changes this mode from self opening to manually opening every few month with no ? action from me.
    Help

  • How to send a modulate signal by the NI PXI-5441?

    How to send a modulate signal by the NI PXI-5441?
    I am using NI PXI-8108 / PXI-5441.
    I want to send a binary signal modulated (FSK) by the 5441. I tried to use, without success, the modulation VIs with the Fgen VI.
    Thanks

    Hi Mauro,
    the code structure is similar to any structure of I/O. You need open the communication channel with the hardware (using VI Open), use VI Write/Read to send/receive data and close the reference (VI Close). You can look the structure in LV examples.
    Nevertheless, if you cannot, post your code that I analize to you.
    Regards,
    Ricardo Ramos
    Engenheiro de Vendas - Sul
    National Instruments Brasil

  • How to put ipod 3rd generation on the disk mode manually?

    how to put ipod 3rd generation on the disk mode manually?

    I am having this problem as well. I've tried dozens of times at this point. I can produce the apple icon but when I release and press play+select it just reverts back to the red x. The red x is the whole reason I'm trying to get this into disk mode. I need to reset it but I can't until it is in disk mode. I've tried the flat surface, one finger etc etc but disk mode still eludes me. Any other thoughts?

Maybe you are looking for

  • ITUNES WON'T OPEN AND GIVES AN ERROR MESSAGE HELP

    my iTunes won't open, and instead pops up a window saying: "The iTunes application could not be opened. An unknown error occured (-200)." Something similar to this is happening with my mac DVD player. When I try to open that, it won't open and says:

  • CN41 report with out values for project dates

    Hi Experts The following field values are captured in Table PROJ. a. Finish Date PROJ-PLSEZ b. Forecast Start PROJ-SPROG c. Forecast Finish PROJ-EPROG But the report CN41/CN41N does not show values for these fields. Can anybody give clue to get this

  • Configure ACCONF idoc in XI

    Hi, We are using ACCONF idoc as an acknowledgement idoc for the inbound INVOIC idoc. But, the ACCONF idoc doesn't reached to the receving system eventhough it is created and the status is 12. Please suggest me how to send the ACCONF idoc to receiving

  • How can I use accents in Adobe CentralForms?

    Anybody bknows how can I use accents in Adobe CentralForms? It's crazy...... I've tried in Spanish .... also nee to use in catalan, the accents are similar to some french ones  (down from left to right). Thks

  • Upgrading from 12GB to 24 GB ram

    I currently have 12 gigs of ram and I want to upgrade to 24 gb. My system is working great and fast with Premiere CS5 with the Mercury Playback Engine, but I want improvement in AE CS5 I have a similar question in the Adobe Hardware forum but I figur