Mail to Buyers SAP inbox once PR is released

Hi All,
How to configure the system so that a mail will be triggered to buyers SAP inbox once PR is released.
Thanks in Advance
Pavan H S

Hi,
Found this in SAP Note 365604 for release strategies in purchasing:
"3. User exit
During the individual release for purchase requisitions, the user exit
is called in function module ME_REL_STRATEGIE_EBAN, in the overall
release, it is called in function module ME_REL_GENERAL_STRATEGY_EBAN.
(Enhancement M06B0002, EXIT_SAPLEBND_001, ZXM06U13)"
You may be able to get a programmer to insert some code in this customer exit to initiate the mail message.
Regards

Similar Messages

  • Mail not in SAP inbox.

    Hi Gurus,
    I am new to workflow.. I have created a workflow from one of the examples of User Decision and SendMail.
    After i recive the work item .. i have three options: Approve, reject and cancel.
    when i click aprrove ior reject, i am supposed to recieve mail in my sap inbox..
    But i am unable to see the same/get the same..
    Can neone tell me if some settings need to be in place..?
    Best Regards,
    Navin Fernandes.

    Please check the setting in SWU3...
    there Maintain Runtime Environment should be maraked as Green tick mark...
    If not...please do the Perform Automatic customizing...by clicking the second icon at the top....
    Then test your workflow....

  • RE: Mail sent to SAP inbox-Urgent.

    Hi,
    I sent mail with attachment( internal table contents) to SAP inbox using the below codw.
       DATA: l_text TYPE char255.  " Text
    *DATA: l_text(280) TYPE c.  " Text
    DATA: l_lines TYPE i,
          l_size    TYPE  sood-objlen.      " Size of Attachment
    Mail related
    DATA: i_content         TYPE   soli_tab, " Mail content
          i_attach          TYPE   soli_tab. " Attachment
    DATA: l_send_request    TYPE REF TO    cl_bcs,   " E-Mail Send Request
          l_document        TYPE REF TO    cl_document_bcs,   " E-Mail Attachment
          l_recipient       TYPE REF TO    if_recipient_bcs,  " Distribution List
          l_sender          TYPE REF TO    if_sender_bcs,     " Address of Sender
          l_uname           TYPE           salrtdrcpt,        " Sender Name(SY-UNAME)
          l_bcs_exception   TYPE REF TO    cx_document_bcs,   " BCS Exception
          l_addr_exception  TYPE REF TO    cx_address_bcs,    " Address Exception
          l_send_exception  TYPE REF TO    cx_send_req_bcs.   " E-Mail sending Exception
    DATA: l_recipient_soos  TYPE           soos1.
    *data : p_uname TYPE ad_smtpadr .
    FORM send_to_sap_mail .
    Preparing body of the Mail
      MOVE 'Pending Delivery Documents List' TO l_text.
      APPEND l_text TO i_content.
    Preparing contents of attachment with Change Log
      PERFORM prepare_attachment.
    Creates persistent send request
      TRY.
          l_send_request = cl_bcs=>create_persistent( ).
    Creating Document
          l_document = cl_document_bcs=>create_document(
                                        i_type  = 'RAW'
                                        i_text  = i_content[]
                                        i_subject = 'Pending Delivery Documents' ).
         DESCRIBE TABLE i_mara LINES l_lines.
    DESCRIBE TABLE it_output LINES l_lines.
    Size to multiplied by 2 for UNICODE enabled systems
          l_size = l_lines * 2 * 255.
    Adding Attachment
          CALL METHOD l_document->add_attachment
            EXPORTING
              i_attachment_type    = c_ext
              i_attachment_size    = l_size
              i_attachment_subject = 'Pending Delivery Documents'
              i_att_content_text   = i_attach[].
    Add document to send request
          CALL METHOD l_send_request->set_document( l_document ).
    Get Sender Object
          l_uname = sy-uname.
          l_sender = cl_sapuser_bcs=>create( l_uname ).
          CALL METHOD l_send_request->set_sender
            EXPORTING
              i_sender = l_sender.
    E-Mail
          TRANSLATE p_uname TO UPPER CASE.
         l_recipient_soos-recesc = 'B'.
         l_recipient_soos-recnam = p_uname.
    Preparing recepient from SAP Logon Name
              CALL METHOD cl_send_request_bcs=>create_recipient_from_soos1
                    EXPORTING
                      i_soos1 = l_recipient_soos
                    RECEIVING
                      result = l_recipient.
    Add Recipient
          CALL METHOD l_send_request->add_recipient
            EXPORTING
              i_recipient  = l_recipient
              i_express    = 'U'
              i_copy       = ' '
              i_blind_copy = ' '
              i_no_forward = ' '.
    *Trigger E-Mail immediately
          l_send_request->set_send_immediately( 'X' ).
          CALL METHOD l_send_request->send( ).
          COMMIT WORK.
        CATCH cx_document_bcs INTO l_bcs_exception.
        CATCH cx_send_req_bcs INTO l_send_exception.
        CATCH cx_address_bcs  INTO l_addr_exception.
      ENDTRY.
    Refresh it_output.
    clear l_text.
    clear I_content.
    refresh I_attach.
    ENDFORM.                    " Send_to_sap_mail
    *&      Form  prepare_attachment
          text
    -->  p1        text
    <--  p2        text
    FORM prepare_attachment .
    FIELD-SYMBOLS: <lfs_table>,    " Internal table structure
                     <lfs_con>.      " Field Content
    DATA: l_text TYPE char1024.     " Text content for mail attachment
    DATA: l_text(1280) TYPE c.     " Text content for mail attachment
      DATA: l_con(50) TYPE c.        " Field Content in character format
    Columns to be tab delimeted
      LOOP AT it_output ASSIGNING <lfs_table>.
        DO.
          ASSIGN COMPONENT sy-index OF STRUCTURE <lfs_table>
                 TO <lfs_con>.
          IF sy-subrc NE 0.
            CONCATENATE c_cr l_text INTO l_text.
            APPEND l_text TO i_attach.
            EXIT.
          ELSE.
            CLEAR: l_con.
            MOVE <lfs_con> TO l_con.
            CONDENSE l_con.
            IF sy-index = 1.
              CLEAR: l_text.
              MOVE l_con TO l_text.
            ELSE.
              CONCATENATE l_text l_con INTO l_text
                 SEPARATED BY c_tab.
            ENDIF.
          ENDIF.
        ENDDO.
      ENDLOOP.
    ENDFORM.                    " prepare_attachment
    Here my problem is in my internal table i have 30 columns and the row output length is more than 255 char,
    and the SOLI structure fields defined as CHAR255, thats why when i am opening the sap mail attachment in Excel sheet, last three fields data is not displaying can any one please let me know the answer.

    loop at output_table.
      concatenate g_string
                         filed1
                         filed2
                     CL_ABAP_CHAR_UTILITIES=>CR_LF
      into g_string separted by
               CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
    endloop.
    now pass the filled string to
    CALL FUNCTION 'SCMS_STRING_TO_FTEXT'
        EXPORTING
          text            = g_string
      IMPORTING
        LENGTH          = LENGTH
        TABLES
          ftext_tab       = obj_bin.
    pass this objbin to SO_NEW_DOCUMENT_ATT_SEND_API1
    now you will get the desired excel sheet.
    NOte: dont put urgent in your subject.it is arule that people should not ans question which have urgent.
    Edited by: S.r.v.r.Kumar on Jun 18, 2008 10:25 PM

  • Mail alerts with sap inbox

    Hi can any one tell me the procedure of   Pushing  BO inbox item to Lotus Notes and SAP Inbox with step by step means , how to cofigure it ?

    Hi,
    well you should ask your Lotus Notes administrator to setup an SMTP gateway on the LotusNotes side for you. I know that this is possible but I have not done it myself before. And since this is an SAP BusinessObjects forum I am not sure you will get an answer about this here.
    Regards
    Stratos
    PS: I found the following link in the internet
    [http://www-12.lotus.com/ldd/doc/domino_notes/Rnext/help6_admin.nsf/89d3962efd85426f85256b870069c0aa/f0e11c47fc62bc2e85256c1d00394ef9?OpenDocument]
    Not sure if this applies to your version though.

  • How to generate a mail into the SAP Inbox

    Hi everyone,
    I have an MM Workflow that is starting correctly and a mail is supposed to be generated in the user Inbox in SAP after the completion of a material enhancement but it does not. The Workflow was copied from another system and it was working fine.
    I tried to see any event (step) that is sending a mail in the Workflow and I found only 1 but it seem correctly configured from what I can see. I am not even sure this is the right event that I am looking at.
    Does anyone have an idea of what I should look for and how I could manage to see why no mail is generated?
    I am still a beginner in Workflow so try to give me as much detail as possible.
    Thank you in advance for your answers.
    Best regards,
    Sylvain

    Hi Sylvain,
    The issue could be at many places.
    Check the workflow step that needs to send the mail to the desired user.
    Check if the agent who needs to recieve the mail is pesent in the current system. If the user is not hard-coded, check how the user is getting fetched in the step. If it is through rules, etc you need to debug the same.
    Also check the authorizations of the user in SU01. Check the agent assignment for the task as well.
    You can find much information in the workflow  log to start with the debugging.
    Hope this helps!
    Regards,
    Saumya

  • Reply from the notifiaction mail (from outlook) to sap Inbox

    HI
    I have a requirement where in I am sending a notification mail to user saying Document verification is OPEN(pending) in your name.1s he finshes that task he will reply to the same mail saying ClLOSED.
    Now can we get this mail reply to SAP Inbox of the reply receiver ?
    And If yes How can we process that either by subject or body content to close that activity.
    (We dont want to send workitem shortcut to the user,This will make us not to involve user into SAP S\W)

    Hi- you could refer below thread
    http://forums.sdn.sap.com/thread.jspa?threadID=2132333
    vinoth

  • Issue in sending mail to SAP Inbox from Workflow

    Hi All,
    I need to send the mail to the creator of the document about the user decision. If i am executing the workflow through the event ( ouput type) , the workflow processing in SWIA is complete but the mail is not sent in the SAP Inbox. But If i try to manually execute the workflow, mail is sent to the SAP Inbox.
    I've used WF_INITIAITOR in the Expression. I need to send the mail not to the approver but to the creator of the workflow.
    Thanks,
    Neha

    Hi,
    the event is also triggered from my Id but in that case I do not recieve any e-mail. None of the users recieve the e-mail in the SAP Inbox for the mail step after the decision.
    In workflow Log the last step shows the details as
    name of the manager and the workflow background for mail sent step as shown below
    Sumit Vij     Background work item created     10.01.2012     12:08:43     
    Sumit Vij     Execution started automatically     10.01.2012     12:08:43     
    Workflow Hintergrund     Work item processing complete     10.01.2012     12:08:44     
    Thanks

  • SAP Inbox to My Mail Account

    Hi
    I need to send the mail from the SAP Inbox (i.e. from Tcode SO01) to my personal mail account.
    In Tcode SO01, I am creating a new message and under recipient I am providing my mail ID (for eg [email protected]), and I am selecting Recp. Type as Internet Mail.
    I am checking the status in SOST, It is showing error messge 806 and 817.
    So How to proceed future and is there any thing else to configure in my system.
    If so, Please send me the relavant document which explains the step to step solution.
    U can reach me at [email protected] or [email protected]
    Thanks and Regards
    Vijay Kumar Varma

    Hi Amit
    As you told that some configuration should be wrong in SCOT. In my company, I need to take care of  basis job also. So can u please help me out what should be configured in SCOT.
    If any suitable document from yourside will be a great help for me.
    Thanks and Regards
    Vijay Kumar Varma

  • Problem in Triggering the Mail to SAP Inbox

    Dear Experts,
                     I have a problem for triggering the Mail option to SAP Inbox.
    We created a Job assigning the program RSEIDOCA,RSWUWFML2 by creating a variant for those programs. We are scheduling the job,  It is showing as
    24.11.2010 12:43:46 Job started                                                                     00           516          S
    24.11.2010 12:43:46 Step 001 started (program RSEIDOCA, variant ZRSEIDOCA, user ID__ )        00           550          S
    24.11.2010 12:43:48 Error situation found by evaluation                                             E0           596          S
    24.11.2010 12:43:48 Step 002 started (program RSWUWFML2, variant ZRSWUWFML2, user ID__)      00           550          S
    24.11.2010 12:43:49 Job finished                                                                    00           517          S
    But while checking in SOST, we are unable to see those mails. eventhough the user is unable to get those mail in SAP INBOX.
    I think, is there any authorization problem while triggering the mail for that particular user id.. Please tell me the solution, this is very high requirement for me.
    Thanks in Advance.
    Regards,
    Srini

    Hi Chandra,
              Thanks for your reply. Actually i am not workflow consultant, thats why i asking this question. Where to assign the Receipient Type and Recipient Notification.
    you give Recipient Type as position and Recipient of Notification must be position of the reciepient,
    Regards,
    Srini

  • PO workflow mail not sent to SAP Inbox

    Hi All,
    I have created a standard PO workflow WS20000075 , Task TS20000166 and in SPRO i have maintained Object type as "US"(user) and agent is maintained.No agent determination rule is maintained for the task.
    When i create and Save PO, system is not triggering workflow to my SAP Inbox.
    When i test the workflow using SWDD by giving PO number and release code, i am getting mail to my SAP Inbox
    What setting i am missing to trigger the workflow to my SAP Inbox as soon as i save my PO.

    Hi,
    I have verified the setting is SWDD -Basic data, event linkage and binding exists
    The event to workflow container details are given below
    &_EVT_OBJECT&                             &PURCHASE ORDER&
    &RELEASECODE&                            &RELEASECODE&
    &_EVT_CREATOR&                          &_WF_INITIATOR&
    Please let me know what setup is missing to trigger the workflow automatically

  • Mail sending - how to restrict from SAP inbox,

    I am passing my internal table gt_message in the below FM code .
    It is working fine.
    1). HOWEVER I AM GETTING MAIL TO MY SAP INBOX. 
    *My functional consultant don't want this.*
      How can I send only to mail id with out saving SAP mail.
    2). 
    I am not able to send mails to other mails ids other than our outlook. We need to send mail to our customer.
    How to do this . Please help / or just below coding is sufficient to send mail to external mailis like our customers ?
    FORM send_email_message.
      wa_doc_data-doc_size = 1.
      wa_doc_data-obj_langu  = sy-langu.
      wa_doc_data-obj_name   = 'SAPRPT'.
      wa_doc_data-obj_descr  = text-017. " 'Results of EDI 869 and 870'.    " psubject.
      wa_doc_data-sensitivty = 'F'.
      CLEAR wa_packing_list.
      REFRESH gt_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 gt_message LINES wa_packing_list-body_num.
      wa_packing_list-doc_type   = 'RAW'.
      APPEND wa_packing_list TO gt_packing_list.
      wa_receivers-receiver   = 'mahesh.bagel at the rate cadi.com'. 
      wa_receivers-rec_type   = 'U'.
      wa_receivers-express    = ' '.
      wa_receivers-com_type   = 'INT'.
      wa_receivers-notif_del  = 'X'.
      wa_receivers-notif_ndel = 'X'.
      APPEND wa_receivers TO gt_receivers.
      CLEAR wa_receivers.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = wa_doc_data
          put_in_outbox              = 'X'
        IMPORTING
          sent_to_all                = v_sent_all
        TABLES
          packing_list               = gt_packing_list
          contents_txt               = gt_message
          receivers                  = gt_receivers
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
      IF sy-subrc EQ 0.
        COMMIT WORK.
      ENDIF.
      v_error = sy-subrc.
      LOOP AT gt_receivers INTO wa_receivers.
      ENDLOOP.
    ENDFORM.                    " SEND_EMAIL_MESSAGE
    Edited by: Sam  Kumar on Oct 9, 2008 9:40 PM

    In your call don't pass put_in_outbox = 'X'.
    Don't pass the Transmission Medium in the Receiver
    Like:
    wa_receivers-receiver = 'mahesh.bagel at the rate cadi.com'.
    wa_receivers-rec_type = 'U'.
    wa_receivers-notif_del = 'X'.
    wa_receivers-notif_ndel = 'X'.
    APPEND wa_receivers TO gt_receivers.
    CLEAR wa_receivers.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data = wa_doc_data
    put_in_outbox = space   " <<
    IMPORTING
    sent_to_all = v_sent_all
    TABLES
    packing_list = gt_packing_list
    contents_txt = gt_message
    receivers = gt_receivers
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    OTHERS = 8.
    IF sy-subrc EQ 0.
    COMMIT WORK.
    ENDIF.
    Regards,
    Naimesh Patel
    Edited by: Naimesh Patel on Oct 9, 2008 4:54 PM

  • Not able to send mail to SAP Inbox(SBWP)

    When i create a new message in SBWP and send it to SAP Inbox, It is moving to outbox.  When I resubmit this mail , then it move to  SAP Inbox. Please Help me to solve this problem.

    Hi,
    When i create a new message in SBWP and send it to SAP Inbox, It is moving to outbox.
    When ever you send a new message (mail) from the SAP Inbox, Outbox will have a copy, Like sent items in the Outlook.
    When I resubmit this mail , then it move to SAP Inbox. Please Help me to solve this problem. code}
    When creating a new message, If you give the correct User Id in the recipient  it will go correctly. Click Refresh  in the SAP Inbox and check it.
    Regards,
    Surjith

  • Outgoing mail from SAP Inbox

    Hi,
    I have a problem of the mail sending from SAP inbox to external email id. The text which Iam entering in the mail is converted into pdf format and being sent as an attachment. we are using the version 46C. Please let me know on this.
    Thanks!
    Sreenivas

    what is the issue ?
    u dont want PDF ? then chek ur settings in SCOT.
    in SCOT -->double click on STMP nore >internet>here u will get converion format settings
    Regards
    Prabhu

  • SAP Inbox mail not working

    When I am sending mail from my SAP Inbox to other User SAP inbox, mail is not going into other user sap inbox.
    Let say User A is send SAP inbox email to User B sap inbox, User B does not get email in his SAP Inbox even we selected Receipent type "SAP Logon Name". Instead mail is going to email address mentioned in SU01. I removed email address from SU01 even mail is not coming to SAP User Inbox.
    I think this is defualt configuration sap has provided in all SAP system but some how it is not working.
    anybody has any idea.
    Thanks
    Manish Patel

    Dear Manish Patel!
    Please check whether you have activated the mail system group in your system. In this case the received mails will go automatically to user's home mail address, defined in tr. SU01 for user.
    To check the mail system group:
    -Tr. SO16 >> Tab "Mail sy. grp." >> check the checkbox "Send to home Addresses of Users"
    If this is set, please uncheck it (check the checkbox "No Mail System Group") and test the behaviour again.
    Regards
    Gergely

  • Mail to buyer once PR is released

    Hi All,
    I want a mail to be triggered to buyers SAP inbox (purchase group) once PR is released. How to configure this.
    Please guide.
    Thanks in Advance
    Pavan

    Hi
    Refer this link
    Work flow for release strategy for PO & PR
    Regards,

Maybe you are looking for

  • SerialCallableStatement giving NullPointerException

    Hi, I am calling a stored procedure in a sybase database by obtaining a connection from weblogic connection pool. Weblogic version is 7.1. Operating system is HP-UX11i. I create a callable statement like this - String sp = "{ ? = call WES_HMI_46..WES

  • Adding a parameter for Visual Composer

    i want to add a parameter called vc.bi.sqleditorenabled for Visual Composer i read that use this  parameter in visual Administrator. Pls tell me how can i do  it Message was edited by:         Balaji Rajendran

  • Auto start Front row when insert DVD

    Bonjour, May the subjet has been already discussed, but is anyone know an applescipt that can auto start front row when a DVD is loaded? Thank you

  • R12 - FSG: Calculation Using Previous Period Balance

    My client has the following requirement for an FSG: Period 1 Period 2 Period 3, etc. Row 1 PTD Actual/Account Row 2 PTD Actual/Account Row 3 PTD Actual/Current period -less- PTD Actual/Previous period In other words, for 1 row of the report, we need

  • Doubt with set_item_property

    Hi all, I am trying to use set_item_property in when-validate item trigger,but whenever i am trying to write the below code i am getting an error too many declarations of set_item_property match this  call Can someone kindly guide me how to overcome