Triggering of Mail

Hi Experts,
In my report I have two options forgeround display and down load to apps server.
If i give forgeround display I can limit display to 1023 cahracters , but my report has more than 1023 characters for display and if I give down load option , It will get down loaded to apps server in the form of a .txt file.
Now my requirement is that I need to mail this .txt file as a email attachment  triggered from SAP.
How should I trigger a mail, do I need to query the apps server for the file name .txt which got generated and send the attachment or can I write the logic in the program by using the function module SO_NEW_DOCUMENT_ATT_SEND_API1 for emailing the file.
Thanks in Advance,
Regards,
IFF

Hi,
Check the following code:
report y_cr17_mail.
data method1 like sy-ucomm.
data g_user like soudnamei1.
data g_user_data like soudatai1.
data g_owner like soud-usrnam.
data g_receipients like soos1 occurs 0 with header line.
data g_document like sood4 .
data g_header like sood2.
data g_folmam like sofm2.
data g_objcnt like soli occurs 0 with header line.
data g_objhead like soli occurs 0 with header line.
data g_objpara  like selc occurs 0 with header line.
data g_objparb  like soop1 occurs 0 with header line.
data g_attachments like sood5 occurs 0 with header line.
data g_references like soxrl occurs 0 with header line.
data g_authority like sofa-usracc.
data g_ref_document like sood4.
data g_new_parent like soodk.
data: begin of g_files occurs 10 ,
  text(4096) type c,
   end of g_files.
data : fold_number(12) type c,
       fold_yr(2) type c,
       fold_type(3) type c.
parameters ws_file(4096) type c default 'c:\debugger.txt'.
Can me any file fromyour pc ....either xls or word or ppt etc ...
g_user-sapname = sy-uname.
call function 'SO_USER_READ_API1'
exporting
   user                            = g_user
   PREPARE_FOR_FOLDER_ACCESS       = ' '
importing
   user_data                       = g_user_data
EXCEPTIONS
   USER_NOT_EXIST                  = 1
   PARAMETER_ERROR                 = 2
   X_ERROR                         = 3
   OTHERS                          = 4
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
fold_type = g_user_data-outboxfol+0(3).
fold_yr = g_user_data-outboxfol+3(2).
fold_number =  g_user_data-outboxfol+5(12).
clear g_files.
refresh : g_objcnt,
  g_objhead,
  g_objpara,
  g_objparb,
  g_receipients,
  g_attachments,
  g_references,
  g_files.
method1 = 'SAVE'.
g_document-foltp  = fold_type.
g_document-folyr   = fold_yr.
g_document-folno   = fold_number.
g_document-objtp   = g_user_data-object_typ.
*g_document-OBJYR   = '27'.
*g_document-OBJNO   = '000000002365'.
*g_document-OBJNAM = 'MESSAGE'.
g_document-objdes   = 'sap-img.com testing by program'.
g_document-folrg   = 'O'.
*g_document-okcode   = 'CHNG'.
g_document-objlen = '0'.
g_document-file_ext = 'TXT'.
g_header-objdes =  'sap-img.com testing by program'.
g_header-file_ext = 'TXT'.
call function 'SO_DOCUMENT_REPOSITORY_MANAGER'
  exporting
    method             = method1
   office_user        = sy-uname
   ref_document       = g_ref_document
   new_parent         =  g_new_parent
importing
   authority          =  g_authority
tables
   objcont            = g_objcnt
   objhead            = g_objhead
   objpara            = g_objpara
   objparb            = g_objparb
   recipients         = g_receipients
   attachments        = g_attachments
   references         = g_references
   files              = g_files
  changing
    document           = g_document
   header_data        = g_header
  FOLMEM_DATA        =
  RECEIVE_DATA       =
File from the pc to send...
method1 = 'ATTCREATEFROMPC'.
g_files-text = ws_file.
append g_files.
call function 'SO_DOCUMENT_REPOSITORY_MANAGER'
  exporting
    method             = method1
   office_user        = g_owner
   ref_document       = g_ref_document
   new_parent         =  g_new_parent
importing
   authority          =  g_authority
tables
   objcont            = g_objcnt
   objhead            = g_objhead
   objpara            = g_objpara
   objparb            = g_objparb
   recipients         = g_receipients
   attachments        = g_attachments
   references         = g_references
   files              = g_files
  changing
    document           = g_document
   header_data        = g_header
method1 = 'SEND'.
g_receipients-recnam = 'MK085'.
g_receipients-recesc = 'B'.
g_receipients-sndex = 'X'.
append  g_receipients.
call function 'SO_DOCUMENT_REPOSITORY_MANAGER'
  exporting
    method             = method1
   office_user        = g_owner
   ref_document       = g_ref_document
   new_parent         =  g_new_parent
importing
   authority          =  g_authority
tables
   objcont            = g_objcnt
   objhead            = g_objhead
   objpara            = g_objpara
   objparb            = g_objparb
   recipients         = g_receipients
   attachments        = g_attachments
   references         = g_references
   files              = g_files
  changing
    document           = g_document
   header_data        = g_header.
*-- End of Program
hope this helps.
Reward if helpful.
Regards,
Sipra

Similar Messages

  • 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

  • Triggering a mail when ever a perticular inbound IDOC fails

    Hi Experts,
          Is there any way I can trigger mails whenevr an inbound idoc fails to update in r3.With reference to workflow etc
    Regards,
    Arnab

    hi,
    i think u need to check tcode swu3 for automatic workflow customizing and check in we40 (error AND STATUS PROCESSING) whether the processing code is assigned to the workflow task.
    if it is assigned,the workflow will be automatically triggered and the mail will be sent to the user by itself.
    ALE error handling uses workflow. A standard task is provided for each message type. Task TS20000051 is used for all BAPIs.
    Workflow functions as follows:
    A task (work item) is generated for the error handling and stored as a message in the inboxes of the employees responsible.
    If one of these employees processes the work item, the standard task method for error handling is started. The user can, for example, restart IDoc processing.
    If the IDoc is processed successfully, the work item is deleted from the inboxes of all the employees involved.
    For this procedure to function, the employees responsible for a particular message type and partner (sender or receiver) must be defined as follows:
    1. A hierarchy of organizational units (for example, "sales office") and positions (for example, "customer officer for customer X") is created and employees are assigned to it.
    2. The standard tasks for error handling (for example, an error related to an inbound sales order) are assigned to the relevant organizational units or positions (for example, "sales office").
    3. The organizational unit, position or employee responsible for dealing with the error are specified for each partner and message type in the partner profiles.
    If an error occurs, the system determines:
    1. The employees responsible using the staffing schedule of the organizational unit or position linked to the standard task.
    2. The employees defined in the partner profiles (using position, user ID, or organizational unit).
    3. The employees appearing in both groups represent those who will receive a work item in their inboxes.
    regards,
    pankaj singh

  • Triggering multiple mails for external Mail id when PO is created

    Hi,
    I configured PO workflow and i used a standard program to send the mail to the external Mail id's of the users.
    The thing is when a PO is created the user whos has to release the PO is getting a Mail in Business Workplace through work flow and simoultaneously a mail will go to his external mail with a message that So and so PO is created please release it.
    As he cant keep on monitor his SAP Business workplace,whenever he get a mail to his external id,he will login to SAP and approves or rejects the PO.
    Here the probelm is the external mail is keep on triggering for every 15 min as we scheduled the Job for ever 15 min.
    So for the same PO number it is giving multiple mails to the external id until it is released.
    It should be like one mail should trigger for one PO number instead of multiple mails for the sam PO number.
    I'am unable to find the solution.
    Please guide me with a solution.
    With Regards,
    Praveen

    Hi Praveen,
    1> Goto transaction SWO1.
    2> Enter Object/Interface Name as BUS2012 and click on Create Subtype.
    3> Enter the required values (you can give ZBUS2012 everywhere....only give Application as R). Place cursor on methods and click on create. Enter details and finally give name of your function module (which you would be creating with the logic of sending mails to selected users) in ABAP tab.
    4> Place cursor on method name and click on parameters and create the required parameters. These parameters would receive value from task container.
    5> Finally goto transaction SWO6 and delegate this BO to parent BO (which is BUS2012). This would enable the methods of child BO to be available to the parent one.
    Try the steps and let me know wherever you get stuck.
    Best regards,
    Abir

  • Triggering a mail for a Particular payload

    Dear Friends,
              I am doing a file to file scenario beween the same system.
      My requirement is that if the payload of the file has flag value as 'S' i should put it in output folder in the ftp.
    But if the flag is 'E' then i should trigger a mail.
    Where this validation can be done and a mail can be triggered.
    Please tell how to handle the same with out using the BPM.
    Thanks
    Prem

    Hi Prem
    This can be done without using BPM.
    You need to set conditions in the receiver determination.
    Go to Receiver determination in ID
    Configured receivers
    set conditions
    refer help link
    http://help.sap.com/saphelp_nw70/helpdata/EN/43/a513f2632c332ce10000000a11466f/content.htm
    for Flag S -> OP (=) put in folder so select receiver service for file adapter
    for Flag E -> OP (=)  send error email and select the receiver for the mail adapter etc.
    Thanks
    Gaurav

  • Triggering of mails for different actions

    I have to trigger different mails for different actions. Eg: A2 - Confirmation Action and A3 - Promotion Action.
    In dynamic action I have written:
    0000                   06     4     P     T001P-MOLGA='40'
    0000                   06     6     P     P0000-MASSN='A2'/X
    0000                   06     7     P     P0000-MASSN='A3'
    0000                   06     8     M     M0001
    and in M0001 feature I have maintained :
        A Master Data and Time Data
            INFTY Infotype
                0000
                    SUBTY Subtype
                        A3
                            IDTXT MAIL_FOR_I0002
                            RECV1 X
                            RECV2 X
                            RECV3 X
                            OUTBX X
                            NAME1 RCNEW
                        A2
                            IDTXT MAIL_FOR_I0006
                            RECV1 X
                            RECV2 X
                            RECV3 X
                            OUTBX X
                            NAME1 RCNEW
    It doesnt work but if i maintain dynamic action as
    0000                   06     4     P     T001P-MOLGA='40'
    0000                   06     6     P     P0000-MASSN='A2'
    0000                   06     8     M     M0001
    and in M0001 feature I have maintained :
        A Master Data and Time Data
            INFTY Infotype
                0000
                            IDTXT MAIL_FOR_I0002
                            RECV1 X
                            RECV2 X
                            RECV3 X
                            OUTBX X
                            NAME1 RCNEW
    the mails are getting triggered with no problem. Im not sure where i am goin wrong. Please help as I have send out different mails for different actions and i have 9 types of actions to take into account here.
    Points wil be rewarded

    Hi BI ,
      Did you try the dynamic action by including '/X' and try to maintain
    M0001 feature as u had maintained earlier.
    A Master Data and Time Data
    INFTY Infotype
    0000
    SUBTY Subtype
    A3
    IDTXT MAIL_FOR_I0002
    RECV1 X
    RECV2 X
    RECV3 X
    OUTBX X
    NAME1 RCNEW
    A2
    IDTXT MAIL_FOR_I0006
    RECV1 X
    RECV2 X
    RECV3 X
    OUTBX X
    NAME1 RCNEW

  • Incoming Mail triggers Express mail notification

    We have EIC set up to receive incoming mails.
    These mails each launch a window saying 'You have received an express mail'
    When we get to production we are expecting many 100s of mails per day and the pop up is considered unnecessary and annoying by the users.
    How do we turn off the pop up, preferably by user rather than globally,
    or can we indicate that incoming mails are not express mails?

    Hello Tony,
    There is a way to disable this only at logon time.
    There is a flag in Office Shared Settings:
    No notification of unread mails when logging on -  This flag indicates that the dialog box that informs users of new messages when they log on to the R/3 System is to be deactivated.
    http://help.sap.com/saphelp_47x200/helpdata/en/6c/69c30f418d11d1896e0000e8322d00/frameset.htm
    Not sure whether there is a way to disable this permanently.
    Regards,
    Siddhesh

  • Triggering e-mail through ABAP based on conditions

    Hi ABAPers,
    I am very new to ABAP latest release.
    I am stuck up in developing a logic which fulfills the following requirement:
    If the Task = 3990 (file loaded successfully) in SAP table then those related Company ID general manager should receive a notification email. To fulfil this, I am following the below logic:
    ZTAB1 - replication of SAP table '/1SEM_UCV_0A013' (BCS system)
    ZTAB2 - Holds GM maild's
    I am comparing SAP table with ZTAB1 to check for any records with Task = '3990'. Pick up those check whether there are present in ZTAB1, if YES then do not send any mail and if NO then send the notification mail. After sending the email successfully move those records from SAP table to ZTAB1. So, when the comparison happens for nth time a repeatitive mail will not be sent to the Managers.
    The program will be scheduled on hourly basis.
    To send the email I have choosen 'SO_NEW_DOCUMENT_SEND_API1' FM.
    Could anyone of you please help me out by providing a sample code for the same?
    Many thanks,
    Sasi
    PS: Would definitely reward points for your help

    TABLES : ZBCS_MAIL, ZSEM_UCS, /1SEM/UCV__0A013.
    DATA:   t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
            t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
            t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0 WITH HEADER LINE.
    data:   w_doc_data LIKE sodocchgi1,
            l_lines type i,
            l_title LIKE sodocchgi1-obj_descr.
    DATA itab1 TYPE standard TABLE OF /1sem/ucv__0a013.
    Data wa_tab1 type /1sem/ucv__0a013.
    DATA itab2 TYPE standard TABLE OF zsem_ucs.
    Data wa_tab2 type zsem_ucs.
    DATA itab3 TYPE standard TABLE OF zsem_ucs.
    Data wa_tab3 type zsem_ucs.
    DATA itab4 TYPE standard TABLE OF zbcS_mail.
    Data wa_tab4 type zbcs_mail.
    SELECT * from /1sem/ucv__0a013 INTO TABLE itab1 WHERE task = '3990' and <datefield> = sy-datum.
    If sy-subrc = 0.
    Select * from zsem_ucs into table itab2 where task = '3990' and <datefield> = sy-datum .
    If sy-subrc = 0.
    LOOP at itab1 into wa_tab1.
    Read table itab2 into wa_tab2 with key task = '3990'  <datefield> = sy-datum <timefield> = wa_tab1-<timefield> .
    If sy-subrc ne 0.
    Append wa_tab1 to itab3.
    Endif.
    Endloop.
    Else.
    Itab3[] = itab1[].
    Endif.
    Else.
    Exit.
    Endif.
    Subject line for the mail
      l_title = 'Success...Mail program is working!!!'.
    Filling the contents
      clear it_message.
      it_message = 'This is a sample mail for testing'.
      append it_message.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      describe table it_message lines l_lines.
      w_doc_data-doc_size = l_lines * 255.
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'EMAIL'.
      w_doc_data-obj_descr  = l_title.
    Add the recipients email address
      CLEAR: t_receivers,
             wa_tab3.
      REFRESH t_receivers.
    If not itab3[] is initital.
    Select * from zbcs_mail into
    table itab4
    For all entries in itab3
    Where bukrs = itab3-bukrs.
    Loop at itab4 into wa_tab4.
        t_receivers-receiver = wa_tab4-emailid.
        t_receivers-rec_type = 'U'.
        t_receivers-notif_del = 'X'.
        t_receivers-notif_ndel = 'X'.
        APPEND t_receivers.
    Endloop.
    Function module which actually sends the mail
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
      EXPORTING
        DOCUMENT_DATA                    = w_doc_data
        DOCUMENT_TYPE                    = 'RAW'
        COMMIT_WORK                      = 'X'
      TABLES
        OBJECT_CONTENT                   = it_message
        RECEIVERS                        = t_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 <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    MODIFY zsem_ucs FROM TABLE itab3.
    Endif.
    Edited by: Ramesh Babu Cikka on Apr 5, 2008 12:57 PM

  • ERecruiting - Triggering of mail when candidate status changes

    Hi All,
    Is an email generated from the system, when a candidate status is changed?
    Say for example if the Activity of an candidate is changed to "Status Change - Rejected", will an email will be generated?

    Hello,
    some general thoughts at the beginning:
    Candidates do not have a rejected state. Candidate states are profile locked and profile released. Only applications and candidacies have a rejected state. It is very important for a technical view to have the obect types in e-recruiting very clear or you will get into big trouble sooner or later.
    SAP delivered workflows are examples. They do not fit a production environment. Also the sap delivered activity and process customizing is an example (and no good one) you will have to design this according to the business needs in the project.
    For the workflow question. It is possible to trigger a workflow by activity creation and activity completion. For status chage activities ths is the same as they are completed directly and never have status planned. The BOR object ERC_ACTIV contains both events, activtycreated is triggered directly, activitycompleted needs a note to run properly.
    It is also possible to trigger a workflow by a status change of an object. The super BOR object ERC_OBJECT contains a statuschanged event, which is raised for all status changes of NA, NB, NC, ND and NE objects.
    For rejection there are basically 2 scenarions.
    Scenario 1
    When rejecting a candidacy by creating a rejection activity you trigger a workflow based on the activity to create the corresponces activity automatically. You can either send it directly or just create it to allow the user to have an individual text. (I do not go into details of this workflow according to the chosen application-candidacy-relation, that would go to far at this point).
    Scenario 2
    When rejecting a candidacy directly in minimum data entry you do not have a status change activity as the status is set directly. In this case you have a workflow which is triggered directly by the status chang which again creates (and sends) the correspondence activity.
    Of course you need checks to ensure the two workflows are not mixed.
    Kind regards
    Roman

  • Triggering E-mail for failed outbound idoc (Without using workflow)

    Hi Experts,
    In my secnario Idoc to file, where any failures of Idoc( Inbound/Outbound ) at SAP R/3 side will generate and send Emails to the required group. How to do this without using Work flow. If anybody knws please help me out its very urget.
    Regards,
    venkatesh

    Hi,
    Create a Distribution list using SO23 and add Users whom to recieve messages.
    Modify your Inbound function module to handle if idoc failed to post by calling the function module: SO_NEW_DOCUMENT_SEND_API1
    Reward points if it is helpful.
    Ashok

  • Mails not triggering in CHARM

    Hi Experts,
    I have configured Solution Manager 4.0 for CHARM.  It is working fine.  My requirement is that, it should trigger mail whenever support team changes.
    Initally, I defined a action to trigger mail once whenever a support team is assigned.  It worked fine. But the problem with this setting is that, whenever I change support team, it is not triggering a mail and this is understood because I configured to trigger once only.  So, I changed the setting of action to "unprocessed", it starts triggering mails whenever I change the support team.
    Now Issue is that, it is also triggering the mail to support team whenever the transaction is saved (Ex:  When I create change document for a support message, transaction saves automatically) even though support message is not changed.  This leads to unnecessary mails.
    In order to avoid unnecessary mails, I deleted the existing action and created a new one wherein start condition was not maintained but maintained setting under scheduled condition as per SAP note 865619 and implemented BADI also. 
    Now I am not getting a single mail whenever a support team is assigned or changed.
    Any suggestion please provide.
    Thanks in advance.
    Regards
    Kumar

    Hi Kumar,
    This can be done very well.
    For this you can implement the BADI ORDER_SAVE, method CHECK_BEFORE_SAVE.
    In this method you write a code as mentioned below,
    1. Use FM
      WA_HEADER = IV_GUID.
      Insert wa_header into table lt_header.
      CALL FUNCTION 'CRM_ORDER_READ'
       EXPORTING
         IT_HEADER_GUID                = lt_HEADER
          IT_ITEM_GUID                  =
       IMPORTING
         ET_CUSTOMER_H                  = lt_customer_h
         ET_ORDERADM_H                  = lt_orderadm_h
          ET_OPPORT_H                   =
          ET_PARTNER                    = lt_partner
          ET_STATUS                     = It_status
          ET_REFOBJ                     = lt_CRMT_refobj_WRKT
           ET_SUBJECT                    = lt_CRMT_SUBJECT_WRKT
       EXCEPTIONS
         DOCUMENT_NOT_FOUND            = 1
         ERROR_OCCURRED                = 2
         DOCUMENT_LOCKED               = 3
         NO_CHANGE_AUTHORITY           = 4
         NO_DISPLAY_AUTHORITY          = 5
         NO_CHANGE_ALLOWED             = 6
         OTHERS                        = 7
      IF sy-subrc <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    2. You will get the Business Partners entered on the screen in the internal table lt_partner, read the address number1 for the partner function of the support team.
    3. Get the contents from view CRMV_LINKPARTNER using the LV_GUID. And get the address number2 for partner function of the support team.
    4. Compare the address number2 & address number1. If they are not equal then trigger a mail  else don't.
    Let me know if you need some more help.
    Reward if it helps.
    regards,
    mahantesh

  • Sending Mail to  when MIGO,MIRO or VL09 gets triggered

    Hi,
      I have a requirement to send a mail to a designated email address when either MIGO,MIRO or VL09 gets triggered.And we were triggering the mails from the correponding user exits since  triggering mail trigger in the form of delivery output by creating an output type was not faesible for our requirement since we had to do  some more checks for company code,movement type etc before triggering output type to send mail.
    I want to know if this is is not a correct solution from technical point of view to trigger emails from any document processing user exits?
    Thanks,
      Chithra

    I have the same request, did you solve it?

  • Triggering mail with pdf attachment in PO workflow

    I have a requirement that when PO is changed in ME22N or if new PO is created then Workflow will be triggered and mail is send with the PO details as .pdf file and is send to either the PO creator or PO changer in his SAP inbox. Can anybody help me with the steps on how to attach the pdf file of that specific PO in the mail and send it in Workflow. Pls reply urgently.
    Regards:
    Nayan Banerjee

    I have a requirement that when PO is changed in ME22N or if new PO is created then Workflow will be triggered and mail is send with the PO details as .pdf file and is send to either the PO creator or PO changer in his SAP inbox. Can anybody help me with the steps on how to attach the pdf file of that specific PO in the mail and send it in Workflow. Pls reply urgently.
    Regards:
    Nayan Banerjee

  • Workflow mail not triggering for PO's to the Manager

    Dear Seniors,
      I am creating a PO and keeping in hold and later on saving the PO. But for those kind of PO's, the manager is not getting the mail for approval. But if i create a PO without keeping in hold with same data, system is triggering the mail to the manager. Why is it so? how can i make the settings to trigger the mail for hold-saved PO's. Please guide me.
    Regards,
    Prasath J

    Hello Prasath,
    Please check your configuration on ERP/ECC
    side in transaction SWETYPV. Here you can enable or disable the
    event type linkage for BUS2012 and for CL_SE_PUR_PO_WF_OUT or any
    customer-specific business object related to Purchase Orders which might
    be in use. If you disable the event linkage for CREATE and/or change
    event, no message will be triggered upon PO creation.
    If this is not sufficient for your business process the usual logic is
    that all Purchase Order message are being sent out when the event
    linkage is active (e.g. you want to send out only some of the message
    types possible). In this case you might want to make use of BAdI
    PUR_SE_PO_INTERFACE_OUT_SELECT (enhancement spot / BAdI)."
    Enhancement Spot: PUR_SPOT_SE_PURCHASE_ORDER
    BAdI Definition:  PUR_SE_PO_INTERFACE_OUT_SELECT
    Interface:        IF_PUR_SE_PO_IF_OUT_SELECT
    BADI definition   PUR_APPL_SE_POCONF_IN_ASYN
    Also in the standard, for the following messages
       PurchaseOrderChangedInformation_Out
       PurchaseOrderERPRequest_Out_V1
       PurchaseOrderERPConfirmation_Out
    we are sending out these information as soon as a purchase Order is
    created. We do not distinguish between the services all of them will be
    triggered.
    Hope this hepls
    Ray

  • Triggered mail on record changes in infotype 9(bank details)

    Hi All,
    We have a requirement for triggering a mail notification on any record changes in table pa0009  (Bank Details - infotype 9).
    Please suggest.
    Thanks & Regards,
    Sujatha sahu.

    Hi all.
    I am new to this.
    actually  when i modified the data in pa30 for infotype 9, when i click the save button then email get trigger.
    this is my require ment.
    Please help me out of this.
    Thanks & Regards,
    Sujatha sahu

Maybe you are looking for

  • Looking for a replacement cd

    Can anyone tell me where I would go to find a replacement cd that has Airport utilities version 5 with bonjour

  • Help with Java.Sql package download

    I am compiling some java files with the following : import java.sql.* and getting errors. I realize I need the java.sql package. Can anyone help me by pointing out where I can download the package? Thanks. Murthy Gandikota

  • Has anyone else experienced their macbook powering off by itself after installing lion?

    This never happened before the lion install, but now it has happened twice and I can't restart without attempting power on mulitple times.

  • Help needed with X11 for Gimp.

    Hi, I'm trying to install the open source imaging editing software GIMP (I'm to cheap to pay for photoshop!), and have tried to install X11 as required before installing GIMP but its not working. I've tried installing X11 by both downloading it from

  • MSIE crashes, can't figure out why

    I just created a page containing just html and css, but every time I try to print it from MSIE, the browser crashes. I can print other pages I created the same way and none of them crash the browser. I'm not running any scripts on the page, so this i