External Mailing with DIR status change

Hi SAP gurus
we have a particular senario,
where in DIR of Particular Document types at reaching a particular document status, a mail has to sent to the concerned relevent authorities for corrections and Approval.
(as and when the status changes to be mailed personalities also Changes)
how can this be achived if the mail has to be sent to there company or external Mailing IDs apart from SAP mail.
Can this  be done using Document Distribution?
what is the Work  flow activities involved (if required) for enabling this functions,
Thanks in Advance
Kumar K

hi kumar,
you can do it by doc distribution and activating some standerd task. and for mailing to extenal mail id , you have to activate SMTP, by tcode SCOT
but according to your requirement , you should consult to workflow consultent.
regards,
nitin
award point if useful

Similar Messages

  • Send External mail with Attchment from SAP

    Hi All,
    OUR REQUIREMENT: We need to send EXTERNAL MAIL with ATTACHMENT(Excel) form SAP .
    We have developed a function module which converts the internal table data into Excel Format and sends it as an attachment to External Mail.
    ISSUE : But our issue is we are unable to open that document using GOOGLE DOCS Could any one help me how to do this.
    it was thriughing error like
    Error log is .
    ''Sorry, we are unable to generate a view of the document at this time. Please try again later.
    You can also try to download the original document by clicking here. Alternatively, you can view the plain HTML (automatically redirecting).
    Regards
    Venkat .
    Edited by: venkata pradeep on Mar 5, 2012 10:26 AM
    Edited by: venkata pradeep on Mar 5, 2012 10:28 AM

    Is the excel file recognized by MS Excel? If not, then issue is you have wrongly converted your attachment and/or your FM to create an excel file was wrongly coded or you have passed it wrongly to your mail code.
    If you consider an OOP approach in sending external mail, refer to this link:
    http://wiki.sdn.sap.com/wiki/display/Snippets/SendingmailwithattachmentusingObjectOriented+Approach

  • Process chain failed with Error-Status Change of Process ABAP ZL321NIMIMUUT

    Hi,
    process chain got failed with Error --**Status Change of Process ABAP ZL321NIMIMUUT
                                                                   Save Status and Trigger Events if Appropriate**

    Hi Neha,
    When we do the repeat after right click then we are getting this messege"--**Status Change of Process ABAP ZL321NIMIMUUT
    Save Status and Trigger Events if Appropriate**"
    I have come to know that there is one ABAP programe when we go to manage varient.
    ABAP Programme"ZBWR_ZMYYNNINOH_CSV_CHANGE"

  • Problems in sent of external MAIL with the service SAPCONNECT

    Hello all
    We configured the service SAPCONNECT in my system quality  for sending the mail and this is not problem, I executed  tests with direction of mail internal and the are sent without any problem.
    But the problems starts is when I sent the mail external and the message that displays is
    Status received for this document:
         System Messages
    Sent on:
         25.01.2011 11:29:07
    Sent by:
         Marco Gerardo Ceballos V.
    Status for Recipient xxxxxxx@aaaaa:
         No delivery to xxxxxx@aaaaa, as recipient unknown
    The request of area of development is send the external mails.
    I review the configuration in the transaction SCOT and I not see a problem.
    ATTE
    Gerardo Ceballos

    Hi,
    Please check the parameter icm/server_port_1, if this parameter is not set, add in TX RZ10 with the value:
    PROT=SMTP,PORT=25
    Restart the instance, then create a service user with the S_A.SCON profile.
    In the SICF, open the SAPCONNECT service and check the configuration:
    Host data: profile parameter = 0 // host configuration= :
    Logon Data: Add the service user that you create
    Handler List: CL_SMTP_EXT_SAPCONNECT
    Save and active
    In the SCOT add the domain in menu settings and add the mailhost and port in the SMTP node, Click the button SET in the internet option and add a * in field address area.
    Go to SMICM --> Go to --> Services and check that the port that you add in the parameter icm/server_port_1 is active
    Go to SBWP and send the message.
    Good Luck
    AG

  • Email notification in Charm with several status changes

    Hello,
    according to OSS 1275036 I tried to implement email notification in my Charm-process using BADI  AGS_SDK_SCHED_ST_CHD in my schedule condition. If a new partner is responible in Charm-process, this partner should be notified by email. The email should be send if user status is changing.
    It still works for my change request (notification of change manager) and the first step of my change document (notification of developer). But for all following steps (e.g. notification of tester) no action for email-notification is found in my change document.
    In my actions I only use schedule conditions (according to OSS) and no start condition. To use the BADI for several user status, I maintained my user status in field value instead of inital value.
    Does anybody know, how to use this BADI for several status changes in my change document?
    Thanks,
    Laura

    Hello together,
    I solved my problem by using CRM Standardcustomizing. Forgot SAP note 1275036 and 865619. They are all bad and not sufficient for a complex Charm scenario.
    I only used note 1275036 for the first mail in my change document (email to developer). For all following mail notifcations I'm using actions based on workflow conditions instead of BADI.
    Just using normal CRM-Customizing and create one schedule and start condition for every used action.
    E.g. send mail to tester:
    schedule condition:
      &Servicevorgang CRM.Anwenderstatus&  [*] E0002+DHFHEAD 
      and    &Servicevorgang CRM.ErrorFreeFlag&  = X 
    start condition:
    &Servicevorgang CRM.Anwenderstatus&  [*] E0004+DHFHEAD 
      and    &Servicevorgang CRM.ErrorFreeFlag&  = X 
    This works perfect, because you won't get several mails for one status if you save your document more than one time, which is a problem with note 865619.
    Regards,
    Laura Mathes

  • External Mail with hyperlink

    Hi Experts,
                      I have done PO and PR release Strategy workflows and it works fine.Now i have an enhancement that i should send a notification to the Releasing Persons External Mail which i will do.
    I should send a hyperlink to external id so that on clicking the link he should get to sap release screen how do i do this ? Can anyone help me on this
    Regards,
    Hari

    Dev,
    If you have the Outlook mail , then as others were suggesting, go for Extended Notification config. This has been discussed in various blogs here in the forum. Pl search with "Extended Notification config", Especially, the below one to get a good idea to start with.
    How to get Work items @ your Outlook Inbox
    by Saujanya..
    and
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/d5/581ee8d56f1247bf34cfcd66d16d81/content.htm
    In that case also, the user will receive a mail with some attachment links like "Execute WItem" or "Display witem" etc., once he clicks on those links, it'll ask for single Sign-on, that authenticates the user in SAP system and depending on the task that the user is accessing from Outlook, it will open up that transactional screen to the user. for example, FB02, VA02 etc.,
    Hope this helps
    venu

  • Can SAP send e-mail to external mail with attached file?

    Hi ABAP Guru.
    Can SAP send the E-Mail to external mail server? (e.g. Hotmail, Yahoo and so on.)
    And Can the E-Mail sent with attached file?
    And How to do that?
    Please give me your advice.
    Thank you and Best Regard,
    Nattapash C.

    Thank you very much! Amit Gujargoud.
    And I'm so sorry for my question that not clear for you and everyone.
    What I need to know is How to do with ABAP Code.
    I found the Function Module
    'SO_DOCUMENT_REPOSITORY_MANAGER' with method 'SEND' is being used for my case.
    but I don't know what field of structure RECIPIENTS (Table parameter of this Func. Module) that used for define recipient's E-Mail Address.
    Does anyone know the field or Have any method to solved my case?
    Please give me your advice.
    Thank you and Best regard.
    Nattapash C.

  • MLGR - external Mail with text in the body

    Hi,
    I have a little problem. I setup the MLGR-Message as defined in the wiki.
    It works fine with SBWP. There is the message text in the body. When I send it
    to an external email-address, then the text is a pdf in the attachment. I'd like to have the text
    also in the body of the external mail, so that the user don't have to open the attachment.
    What do I have do?
    Regards Ralf

    Hi Ralf,
    the easiest solution will be to switch to Medium 5.
    Transmission Medium 5: Communication Strategy - Message Control (CA-GTF-BS) - SAP Library
    and if necessary develop some lines of coding to find the correct mail-addresses and the content-stuff.
    Class CL_BCS is very good documented and is really easy to use.
    or another solution I found in my documents:
    Transaction SO16 --> Send Mail to homeaddress. But that implements that you just send mails to internal users.
    (And I'm not sure, if you just done exact that to get it to external users)
    The SCN-Search brought me this one, but that is what you already got I think:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0e19d4c-b72d-2d10-72ad-a38a70c2a53f?quicklink=index&…
    ~Florian

  • Triggering of E-Mail With Creation or Change in Address of BP

    Hi,
    My requirement is to Trigger an E-mail with the all address records which are created or changed in a session of Creation or Change of BP.
    Can anybody suggest me the approach for it.

    Hello!
    I guess note "[176559 - Interfaces for Business Address Services|https://service.sap.com/sap/support/notes/176559]" can be helpful in this context. BAS is an open interface to react on changes related to the BP-Address.
    Best regards
    Arno

  • 2LIS_11_VAITM delta with user status change (JEST, JCDS)

    Hi,
    I'm using standard datasource '2LIS_11_VAITM' for sales order delta, and I'm trying to add new fileds which is user status in 'Status' tab in sales order.
    I thought it would be captured as delta if I change user status of sales order, but it's not captured as delta.
    I'm trying to avoid using generic datasource with table 'JEST' or 'JCDS'.
    Is there any way that user status change can be captured as delta?
    Any help would be much appreciated.
    Regards
    Bryan

    Hi Bryn,
    Normally when the status is updating is there flag is updating accordingly.If yes considered that field also for enhamncement then delts records will be picked for user status.
    More details check with SD consulatnt they will provide the complete details.
    Regards
    Ram.

  • CMWS CANNOT SEND EXTERNAL MAIL WITH EXCHANGE 2013

    Hi, all. i have integrated the cmws 1.5 server with exhcange 2013 mail server , now the webex can send mail to the user which in exchange, but cannot send mail to external mail server, how can i  fix this trouble? thank you.

    Hi Bin,
    Please look into exchange configuration, as it is not allowing emails from CWMS to be relayed to the Internet. This is not due to CWMS configuration.
    Thanks,
    Derek Johnson
    Conferencing TAC

  • Sending external mail with excel attachment from SAP

    Hi All,
    I am trying to send a external mail from SAP. Mail is getting posted correctly with attachment having type excel. If attach file has more than 1 records then in mail it is coming in a single lines. it is not getting wrap.
    e.g. my attach internal table has records like LINE1
                                                                      LINE2
                                                                      LINE3
    output in attach excel file is : LINE1         LINE2          LINE3
    in attach file it should come line by line.
    source code of my function module is as follows :
    FUNCTION ZXI_SEND_MAIL_WITH_ATTACHMENT.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(SUBJECT) TYPE  SO_OBJ_DES OPTIONAL
    *"     REFERENCE(ATTACH_NAME1) TYPE  SOOD-OBJDES
    *"     REFERENCE(EXT1) TYPE  SOODK-OBJTP
    *"     REFERENCE(MAIL_ID) TYPE  ADR6-SMTP_ADDR
    *"  TABLES
    *"      IT_CONTENT TYPE  SOLI_TAB OPTIONAL
    *"      IT_ATTACH TYPE  SOLI_TAB OPTIONAL
      DATA: send_request       TYPE REF TO cl_bcs.
      DATA: document           TYPE REF TO cl_document_bcs.
      DATA: sender             TYPE REF TO cl_sapuser_bcs.
      DATA: recipient          TYPE REF TO if_recipient_bcs.
      DATA: exception_info     TYPE REF TO if_os_exception_info,
      bcs_exception      TYPE REF TO cx_document_bcs.
      DATA i_attachment_size TYPE sood-objlen.
    Creates persistent send request
      send_request = cl_bcs=>create_persistent( ).
      TRY.
    *****Create txt mail document**************************
          document = cl_document_bcs=>create_document(
                                        i_type    = 'RAW'
                                        i_text = it_content[]
                                        i_subject = subject ).
    **************Creates Attachment 1***********************
          CALL METHOD document->add_attachment
            EXPORTING
              i_attachment_type    = ext1
              i_attachment_subject = attach_name1
              i_att_content_text   = it_attach[].
    Add document to send request
          CALL METHOD send_request->set_document( document ).
    Get sender object
          sender = cl_sapuser_bcs=>create( sy-uname ).
    Add sender
          CALL METHOD send_request->set_sender
            EXPORTING
              i_sender = sender.
          recipient = cl_cam_address_bcs=>create_internet_address(
                               i_address_string = mail_id ).
          CALL METHOD send_request->add_recipient
            EXPORTING
              i_recipient  = recipient
              i_express    = 'U'
              i_copy       = ' '
              i_blind_copy = ' '
              i_no_forward = ' '.
    **********Trigger e-mails immediately****************************
          send_request->set_send_immediately( 'X' ).
          CALL METHOD send_request->send( ).
          COMMIT WORK.
        CATCH cx_document_bcs INTO bcs_exception.
      ENDTRY.
    ENDFUNCTION.
    please suggest me a solution and thanks in advance.
    Thanks&Regards,
    Sachin

    See the sample code  for sending attachment as Mail
    Mailing with Attachment by ABAP Coding  
    Refer this link:
    Mail with attachment.
    FORM send_list_to_basis .
      DATA: w_path      LIKE rlgrap OCCURS 0 WITH HEADER LINE,
            lt_index    TYPE sy-tabix,
            doc_type(3) TYPE c,
            descr       LIKE it_objpack_basis-obj_descr,
            temp_data   LIKE w_path,
            temp1       TYPE string,
            tab_lines   TYPE i,
            langu(15)   TYPE c,
            expirydate  TYPE so_obj_edt,
            L_FILE1(100).
      CONCATENATE 'C:\' sy-repid '_' sy-datum '.XLS' INTO L_FILE1.
      W_PATH-FILENAME = L_FILE1.
      APPEND w_path.
      CLEAR w_path.
      wa_doc_chng-obj_descr  = 'User List not logged on for 180 days'.
      wa_doc_chng-obj_langu  = 'E'.
      wa_doc_chng-obj_expdat = sy-datum.
      CLEAR w_subject.
      CONCATENATE 'Please find attached document with list of users'
                  'not logged on for 180 days for client' sy-mandt
                  INTO w_subject SEPARATED BY space.
      it_objtxt_basis-line = w_subject.
      APPEND it_objtxt_basis.
      CLEAR it_objtxt_basis.
      it_objtxt_basis-line = text-004.
      APPEND it_objtxt_basis.
      CLEAR it_objtxt_basis.
      CLEAR w_tab_line.
      DESCRIBE TABLE it_objtxt_basis LINES w_tab_line.
      READ TABLE it_objtxt_basis INDEX w_tab_line  INTO l_cline.
      wa_doc_chng-doc_size =
       ( w_tab_line - 1 ) * 255 + STRLEN( l_cline ).
      CLEAR it_objpack_basis-transf_bin.
      it_objpack_basis-head_start = 1.
      it_objpack_basis-head_num   = 0.
      it_objpack_basis-body_start = 1.
      it_objpack_basis-body_num   = w_tab_line.
      it_objpack_basis-doc_type   = 'RAW'.
      APPEND it_objpack_basis.
      CLEAR it_objpack_basis.
      LOOP AT w_path.
        temp1 = w_path.
        descr = w_path.
        CALL FUNCTION 'STRING_REVERSE'
          EXPORTING
            string  = descr
            lang    = 'E'
          IMPORTING
            rstring = descr.
        CALL FUNCTION 'STRING_SPLIT'
          EXPORTING
            delimiter = '\'
            string    = descr
          IMPORTING
            head      = descr
            tail      = temp_data.
        CALL FUNCTION 'STRING_REVERSE'
          EXPORTING
            string  = descr
            lang    = 'E'
          IMPORTING
            rstring = descr.
        CALL FUNCTION 'STRING_SPLIT'
          EXPORTING
            delimiter = '.'
            string    = descr
          IMPORTING
            head      = temp_data
            tail      = doc_type.
        CALL FUNCTION 'GUI_UPLOAD'
          EXPORTING
            filename      = temp1
            filetype      = 'BIN'
            header_length = 0
            read_by_line  = 'X'
            replacement   = '#'
          TABLES
            data_tab      = it_upload.
        DESCRIBE TABLE it_upload LINES tab_lines.
        DESCRIBE TABLE it_objbin_basis LINES lt_index.
        lt_index = lt_index + 1.
        LOOP AT it_upload.
          wa_objbin_basis-line = it_upload-line.
          APPEND wa_objbin_basis TO it_objbin_basis.
          CLEAR wa_objbin_basis.
        ENDLOOP.
        it_objpack_basis-transf_bin = 'X'.
        it_objpack_basis-head_start = 0.
        it_objpack_basis-head_num   = 0.
        it_objpack_basis-body_start = lt_index.
        it_objpack_basis-body_num   = tab_lines.
        it_objpack_basis-doc_type   = doc_type.
        it_objpack_basis-obj_descr  = descr.
        it_objpack_basis-doc_size   = tab_lines * 255.
        APPEND it_objpack_basis.
        CLEAR it_objpack_basis.
      ENDLOOP.
      it_reclist_basis-receiver = '[email protected]'.
      it_reclist_basis-rec_type = 'U'.
      APPEND it_reclist_basis.
      CLEAR it_reclist_basis.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = wa_doc_chng
          put_in_outbox              = 'X'
          commit_work                = 'X'
        TABLES
          packing_list               = it_objpack_basis
          contents_txt               = it_objtxt_basis
          contents_bin               = it_objbin_basis
          receivers                  = it_reclist_basis
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          operation_no_authorization = 4
          OTHERS                     = 99.
      IF sy-subrc EQ 0.
        SUBMIT rsconn01 WITH mode = 'INT' AND RETURN.
      ENDIF.
    ENDFORM.                    " send_list_to_basis
    Reward points if useful
    Regards
    Anji

  • STOP WITH AUTO STATUS CHANGE!!!!!!!!!!!!!

    I'VE HAD IT WITH THIS AUTO STATUS CHANGE
    at 3 in the morning skype starts wailing because of a incoming call. cus apparently some retard at skype thinks auto status change is the thing that is usefull and helpfull.
    well its the middle of winter everybody in the hosue woke up because the desktop was getting an incomming call.
    so i had to get up with the heat turned down to  change the status back to busy.
    there is a reason i change the status to busy/do not distrub.
    do you know what i did to me. i got a  migraine. you try and get woken up in the middle of the nigth by a extrrmely loud skype incomming call. have to  get out of bed. in the ocld.
    well i am suspectibel to migraine. so thats to you i got a migraine.
    i dont care about your community guidelines so dont go changing my message.
    on top of that as i got up to deal with your program. i just end the call. and changed status from away to buys.
    focourse the person seeing it is now mad at me for ignorign/ not picking up or having the decency to say sorry cant talk now.
    YUOU KNOW WHAT I WONT CONFORM TO YOUR GUIDELINES CUS SKYPE DOES NOT CONFORM TO MY STATUS CHANGE
    1 more statuschange and then im done with skype forever
    bakc in the day this  did not happen.
    but all of the sudden with all these advancememnts in computers,. ya'll cnat doe this anymore
    Edited to conform with the Community Guidelines

    Now that is authentically the post of someone who is awake at 3am and doesn't want to be. I sympathise, but it will probably need the attention of a moderator.
    This is an example of the software just not doing what it is told. From Eight Golden Rules -
    7. Support internal locus of control.
    Experienced users strongly desire the sense that they are in charge of the interface and that the interface responds to their actions. They don’t want surprises or changes in familiar behavior, and they are annoyed by tedious data-entry sequences, difficulty in obtaining necessary information, and inability to produce their desired result.
    Sean Ellis - uses Skype chat for serious work
    Click here to read my blog post on Skype 7 and basic principles of GUI design

  • 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

  • User Status change problem in Process Order

    Hi,
    We are in process of upgrading our system from 4.6C to ECC 6.0. I have a problem with User status change for process Orders.
    In 4.6C we are using the profile x with settings:
    10     ZNEW     Created process order     10     90     1     1     ZSTA
    20     ZLCK     Locked process order     20     90     1     1     ZREV
    30     ZOPN     Reopened process order     20     90     1     1     ZOPN
    40     ZMST     MES order started     20     90     1     1     ZMST
    50     ZMCL     MES order closed     20     90     1     1     ZMCL
    90     ZTEC     Technically completed      20     90     1     1     ZTEC
    In ECC 6.0 we also use the same profile settings as above.
    The problem is in ECC 6.0 when I do a goods receipt the User status changes to ZTEC . The process followed is ..Create process order, Release Order, Goods issue, Phase partuial confirmations, Goods receipt and then Finla confirmations of phases. Now in 4.6C if i do the above process the User status remains at ZMST and it only changes to ZTEC when i technically complete the order but in ECC 6.0 when I do a goods recipt from above steps the User status changes to ZTEC. THis should not happen.
    Any pointers will be very helpful.

    Hi,
    The log for production order preliminiary costing is not saved. Therefore, once the order is saved, there is no log available anymore (this is by the way a question of PP; none of the logs is saved).
    Hope that helps...
    Regards,
    Declan

Maybe you are looking for