Sending mail to all partner function in transaction

Hi Folks,
Standard action and condition sends mail to only main partner function in transaction. But transaction could have more than one partners for same partner function. Can mail be sent to all partners in transaction by using standard action configuration?
Regards,
Nikhil

Hi Nikhil,
You can control this using CRM_ACTION_BADI.
Below the use of this BADI.
In partner-dependent actions, business partners that occur in several functions, only the main partner remains.
This can be useful, for example to avoid sending the same e-mail to the same business partner if there are several action definitions for different partner functions or function types.
However, if several different actions have been defined as partner- dependent, this effect may not be required.
In this case, the CRM_ACTION_BADI standard implementation can be deactivated. In this case, all partners from the transaction are considered during action determination.
If this is also not required, a new implementation can be created.
Hope this helps.
Cheers, Satish

Similar Messages

  • Mail to multiple Partner function

    Hi,
    We are in process of implementing SOLMAN CHARMS .
    i have a requirement where i need to send mail to multiple partner function.
    I have created a z action , however it gives option to select only one Partner function.
    Is there any way to send mail to multiple  Partner function or any workaround for this?
    Kindly suggest.
    Regards,
    Sangvir Singh

    Hello Sangvir,
    As stated, you can create multiple actions (if you do that, don't forget to properly tune the action merging). This is the best option, because involves only configuration.
    You can also add a few ABAP code in a new implementation of the standard send mail method and add multiple mail destinations in the "To" or "CC" fields. This is simpler than sounds to be. Ask for an ABAPper to analyze the method source code and he/she will adapt it for you in a question of hours.
    Best Regards,
    C Canzone

  • Function module to give all partner functions for given customer

    Can anyone tell me function module name which gives all partner functions for a customer. For ex if we give customer number and sales area then it should give the list of all partner functions of this customer.
    I know 'CUSTOMER_PARTNERFS_GET' function module. But I want other than this.

    Hi,
    U can join VBAK and VBPA table and get the parrtners of the customer..
    Regards,
    Nagaraj

  • Sending mail to all users

    Folks,
    In Communigate there was a default 'all' account which could be used to send mail to all users. I know I could set up a mailing list to do this but does the Apple Mail server have a built in option for sending an email to all users?
    /// kak
    powerbook   Mac OS X (10.4.7)  

    No there is no such option.
    You will either need to setup a mailing list or create an alias that forwards to all your users.
    Obviously both solutions require that you add new users to the mailing list or alias.

  • Sending mail to all users in Messaging Server 5.2

    Hi,
    I'm trying to send mail to all the users in my mail server, but haven't been able to do it. I'm using a command called deliver which is found in /opt/iplanet/server5/bin/msg/store/bin . I've tried sending messages to all users but have been successful in sending only to one user. Got any ideas??

    To create a dynamic mailing list:
    http://docs.sun.com/source/816-6009-10/users.htm
    If you're familir with ldapmodify, you can locate the user's pab in the directory server, and remove what you find there, but, honestly, I'd talk to the user first.. . .. .
    A user can work around removal of such, very easily. Any mail client, and a copy/paste will do it.

  • When i openned an excel attacment from an e-mail, it locked uped the e-mail. All other functions are ok.

    when i openned an excel attacment from an e-mail, it locked uped the e-mail. All other functions are ok.

    So if you tap the excel document you don't get a Done button at the top ? If not then try closing the Mail app completely : from the home screen (i.e. not with Mail 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work then you could try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Sending mail to the partner when the quotation is created in va21

    i need to send the email to the partner when the quotation is created(va21) or changred(va22) with smart form. plese advice how can i achive this..
    thanks,

    Hi,
    You can send by using the function module : SO_NEW_DOCUMENT_ATT_SEND_API1 . for that RSWNSENDMAIL1 is a sample program for sending mails.
    Then for your requirement, find the appropriate exit/badi and put the mail send code inside that.
    Regards,
    Renjith Michael.

  • RSWUWFML2 sending mail to all possible agents

    I have configured RSWUWFML2 and it is sending mail to Notes fine just the wrong agents.  I am wanting to send workflow messages from tasks etc in Quality Notifications and I have created an org structure and just assigned this structure as the agent in the workflow config.  When I assign an individual in the notification to a task only that user is getting the actual workflow in SBWP, which is great,  however notes mails are being sent to all possible agents, i.e. those in the org structure.  Anybody encountered this before? and how to stop it?

    Please check in the workflow log which are the agents it is going to?
    I think it is going to all users and the user you are saying is also receiving at.
    Please make your agent assignment properly in order the workitem not being sent to all users.
    Thanks
    Arghadip

  • Sending Mail to all E-Mail Accounts for a Contact

    Hi all,
    When I'm sending mail to someone in Address Book, is there a way I can send the mail to all of their email accounts?
    Thanks

    The only "simple" way to achieve this is to create a new card for each email that contact has, then add them to a group, then when you send an email, select that group and the email will be sent to each of the email addresses of your contact.
    hope this helps

  • Send mail using CL_BCS through function module, run in background task.

    Hi,
    I am running a function module in Background task. in this function module I am sending mail using CL_BCS class.
    but mail is not generated. if I run the same function Module in foreground mail generated successfully....
    can anyone please tell me the reason behind this.

    Hi i realise that The LIST_TO_ASCII thing is not working correctly in background because the the list-processing in beckground is working not the same as in dialog i think.
    I can only get the last page of the list out when running in background. Any solution to this?
    my code:
        CALL FUNCTION 'LIST_TO_ASCI'
             EXPORTING
                  list_index         = sy-lsind
             TABLES
                 list_dyn_ascii = downtab
             EXCEPTIONS
                  empty_list         = 1
                  list_index_invalid = 2
                  OTHERS             = 3.
        IF sy-subrc NE 0.
          EXIT.
        ENDIF.
    Thanks ,
    LH

  • IPad 2, mail app frozen after g3 cellular connected. Receiving mail, but all screen function frozen. ???

    Ipad 2, mail app frozen after connecting via g3 cellular. Incoming messages are received, but all app functions are frozen. Any ideas anyone?
    rural location, have only Internet connection for answers, since email frozen. Thanks any help.

    Thanks Diavonex, but that's what I tried to discribe that I'd already done. I didn't realise it was called the "task bar".
    I've done both the things you suggested again, but Mail is still locked into this "white" screen when it is relaunched, and after 10 seconds it crashes back to the app menu page. I seems to be running in the background as it knows new emails are waiting to be read, but you can't get into Mail any more to view anything.
    Not sure whether to delete all Mail accounts in Settings and start again, but that seems extreme.
    Any other suggestions ?

  • Still not sending mail tried all

    I just got my new Quad Mac Pro and I was totally ready for the mail sending problem. I have been following here for a while and was fairly certain I would not have a problem.
    I have a typical cable (Time Warner Road Runner) account and have a gmail address. Auto setup tries to create an IMAP mailbox when I first launched Mail, but I use POP. So I made the changes on the incoming server and immediately got my mail to download. I went to the outgoing server edit list and selected custom port, entered 25, set the authentication to password, included my password.
    I was so sure I was on it, but I failed! No send.
    I am at a loss, and it is way late. I will try again tomorrow.
    Andy

    William Kucharski
    As you kids say, you sir are 'The Bom!' That was the entire solution to my problem with a caveat. I made the changes suggested on that page to my account settings and still no joy. I believe that there were some bits of information still lingering in the .plist, so I deleted that after deleting the account. I have an unused account with a .rr.com domain, so I set that up first. I was able to get Mail to let me set up the account manually (an issue with sending the password caused this) With the standard 'custom port 25' setting that account could send mail (and receive all the spam there!)
    I then had to fool Mail into letting me setup the new Gmail account manually as well. If I allowed the Mail program to try to set it up, it would try to set it up as an IMAP account, and even with the changes made in the account settings it would not send mail from that account. Again I think it was something being hidden in the .plist that would not go away. So, another deletion of the .plist and tricking Mail into a manual setup by entering a bogus .rr.com account allowed me to create a new account as a POP account.
    I made all the settings as suggested by google on your link and BAM, Bob's your Uncle!
    Thank you so much. I would have spent hours.
    Andy
    p.s. Carolyn, that link was for setting up Mail 3, which unfortunately was unhelpful.

  • Mail: 'Reply all' not functioning when 'Reply-To' specified by sender

    Hello
    I've been testing the behaviour of the Mail app when selecting 'Reply all' to a message that has a 'Reply-To' address specified. e.g.
    Original message:
    From: [email protected]
    To: [email protected]
    Cc: [email protected]
    Reply-To: [email protected]
    On selecting 'Reply All' I get:
    From: [email protected]
    To: [email protected]
    I would expect a Cc field with '[email protected]' included, but there is none. (My expectation is satisfied if I use Gmail rather than the Mail app.)
    Any thoughts?

    This is still a problem in 10.10.1.  How can I not find more information about this or more people with this issue?  It's driving me insane.  It's such a stupid feature to have mess up.  How hard can it be to point to the message that you forwarded/replied.  It knows you did it or the arrow wouldn't show up to be clickable.
    "Mail was unable to find your reply to the message "test".  You may have deleted the message."
    Wrong.

  • How to send mail to all the receipients in distribution list

    Hi All,
    As per my requirement I need to send error log in doc format.
    I am using the help of following code suggested by someone in sdn.
    Mehr Beispile unter BCS_EXAMPLE_* mit se38
    Mehr Beispile unter BCS_TEST*     mit se38
    DATA: SEND_REQUEST       TYPE REF TO CL_BCS.
    DATA: SUBJECT            TYPE SO_OBJ_DES.
    DATA: ATT_TYPE           TYPE SOODK-OBJTP.
    DATA: IT_TEXT            TYPE BCSY_TEXT.
    DATA: WA_TEXT            LIKE SOLI.
    DATA: IT_BIN             TYPE SOLIX_TAB.
    DATA: WA_BIN             TYPE SOLIX.
    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: BCS_EXCEPTION      TYPE REF TO CX_BCS.
    DATA: SENT_TO_ALL        TYPE OS_BOOLEAN.
    Bytes der Datei
    DATA: IT_LENGHT          TYPE SO_OBJ_LEN.
    DATA: N10(10)            TYPE N.
    START-OF-SELECTION.
      PERFORM MAIN.
      PERFORM RSCONN01_EXECUTE.
    END-OF-SELECTION.
    FORM MAIN.
      TRY.
    Dokument erstellen (mit Anhang)
          SEND_REQUEST = CL_BCS=>CREATE_PERSISTENT( ).
          PERFORM HEAD_CONT.
          PERFORM RAW_ATT.
    Dokument (mit Anhang) setzen
          CALL METHOD SEND_REQUEST->SET_DOCUMENT( DOCUMENT ).
    Absender setzen
          SENDER = CL_SAPUSER_BCS=>CREATE( SY-UNAME ).
          CALL METHOD SEND_REQUEST->SET_SENDER
            EXPORTING
              I_SENDER = SENDER.
    Empfänger setzen
          RECIPIENT = CL_CAM_ADDRESS_BCS=>CREATE_INTERNET_ADDRESS(
                                            'email@address' ).
          CALL METHOD SEND_REQUEST->ADD_RECIPIENT
            EXPORTING
              I_RECIPIENT = RECIPIENT
              I_EXPRESS   = 'X'.
    Dokument senden
          CALL METHOD SEND_REQUEST->SEND(
            EXPORTING
              I_WITH_ERROR_SCREEN = 'X'
            RECEIVING
              RESULT              = SENT_TO_ALL ).
          COMMIT WORK.
    Sende-Error abfangen
        CATCH CX_BCS INTO BCS_EXCEPTION.
          WRITE: 'Fehler aufgetreten.'(001).
          WRITE: 'Fehlertyp:'(002), BCS_EXCEPTION->ERROR_TYPE.
          EXIT.
      ENDTRY.
    ENDFORM.                    "main
    FORM HEAD_CONT.
      CLEAR: IT_TEXT[], WA_TEXT, SUBJECT.
      ATT_TYPE = 'RAW'.
      SUBJECT = 'Betreffzeile'.
      WA_TEXT = 'First Line'. APPEND WA_TEXT TO IT_TEXT.
      WA_TEXT = 'Second Line'. APPEND WA_TEXT TO IT_TEXT.
      DESCRIBE TABLE IT_TEXT LINES N10.
      N10 = ( N10 - 1 ) * 255 + STRLEN( WA_TEXT ).
      IT_LENGHT = N10.
      TRY.
          DOCUMENT = CL_DOCUMENT_BCS=>CREATE_DOCUMENT(
                    I_TYPE    = ATT_TYPE
                    I_TEXT    = IT_TEXT
                    I_LENGTH  = IT_LENGHT
                    I_SUBJECT = SUBJECT ).
    Error abfangen
        CATCH CX_BCS INTO BCS_EXCEPTION.
          WRITE: 'Fehler aufgetreten.'(001).
          WRITE: 'Fehlertyp:'(002), BCS_EXCEPTION->ERROR_TYPE.
          EXIT.
      ENDTRY.
    ENDFORM.                    "HEAD_CONT
    *&      Form  RAW_ATT
          text
    FORM RAW_ATT.
      CLEAR: IT_TEXT[], WA_TEXT, SUBJECT.
      ATT_TYPE = 'RAW'.
      SUBJECT = 'Text Anhang'.
      WA_TEXT = 'First Line in ATT'. APPEND WA_TEXT TO IT_TEXT.
      WA_TEXT = 'Second Line in ATT'. APPEND WA_TEXT TO IT_TEXT.
    Lenght of Att_Text
      DESCRIBE TABLE IT_TEXT LINES N10.
      N10 = ( N10 - 1 ) * 255 + STRLEN( WA_TEXT ).
      IT_LENGHT = N10.
      TRY.
          CALL METHOD DOCUMENT->ADD_ATTACHMENT
            EXPORTING
              I_ATTACHMENT_TYPE    = ATT_TYPE
              I_ATT_CONTENT_TEXT   = IT_TEXT
              I_ATTACHMENT_SIZE    = IT_LENGHT
              I_ATTACHMENT_SUBJECT = SUBJECT.
    Error abfangen
        CATCH CX_BCS INTO BCS_EXCEPTION.
          WRITE: 'Fehler aufgetreten.'(001).
          WRITE: 'Fehlertyp:'(002), BCS_EXCEPTION->ERROR_TYPE.
          EXIT.
      ENDTRY.
    ENDFORM.                    "ATT_RAW
    But From this method I am not able to send the mail to the distribution list created.
    Please suggest How this can be done.
    I dont want to chang

    Hi Smriti,
    You can make changes like shown below. The changes are shown in the code format for your easy reference. You can remove the code in bold. This will work.
    Mehr Beispile unter BCS_EXAMPLE_* mit se38
    Mehr Beispile unter BCS_TEST* mit se38
    DATA: SEND_REQUEST TYPE REF TO CL_BCS.
    DATA: SUBJECT TYPE SO_OBJ_DES.
    DATA: ATT_TYPE TYPE SOODK-OBJTP.
    DATA: IT_TEXT TYPE BCSY_TEXT.
    DATA: WA_TEXT LIKE SOLI.
    DATA: IT_BIN TYPE SOLIX_TAB.
    DATA: WA_BIN TYPE SOLIX.
    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: BCS_EXCEPTION TYPE REF TO CX_BCS.
    DATA: SENT_TO_ALL TYPE OS_BOOLEAN.
    Bytes der Datei
    DATA: IT_LENGHT TYPE SO_OBJ_LEN.
    DATA: N10(10) TYPE N.
    data: it_recipients type standard table of ad_smtpadr.
    data: w_recipients type ad_smtpadr.
    START-OF-SELECTION.
    PERFORM MAIN.
    PERFORM RSCONN01_EXECUTE.
    END-OF-SELECTION.
    FORM MAIN.
    TRY.
    Dokument erstellen (mit Anhang)
    SEND_REQUEST = CL_BCS=>CREATE_PERSISTENT( ).
    PERFORM HEAD_CONT.
    PERFORM RAW_ATT.
    Dokument (mit Anhang) setzen
    CALL METHOD SEND_REQUEST->SET_DOCUMENT( DOCUMENT ).
    Absender setzen
    SENDER = CL_SAPUSER_BCS=>CREATE( SY-UNAME ).
    CALL METHOD SEND_REQUEST->SET_SENDER
    EXPORTING
    I_SENDER = SENDER.
    Empfänger setzen
    LOOP AT it_recipients into w_recipients.
    RECIPIENT = CL_CAM_ADDRESS_BCS=>CREATE_INTERNET_ADDRESS(w_recipients).
    CALL METHOD SEND_REQUEST->ADD_RECIPIENT
    EXPORTING
    I_RECIPIENT = RECIPIENT
    I_EXPRESS = 'X'.
    ENDLOOP.
    RECIPIENT = CL_CAM_ADDRESS_BCS=>CREATE_INTERNET_ADDRESS('email@address' ).
    CALL METHOD SEND_REQUEST->ADD_RECIPIENT
    EXPORTING
    I_RECIPIENT = RECIPIENT
    I_EXPRESS = 'X'.
    Dokument senden
    CALL METHOD SEND_REQUEST->SEND(
    EXPORTING
    I_WITH_ERROR_SCREEN = 'X'
    RECEIVING
    RESULT = SENT_TO_ALL ).
    COMMIT WORK.
    Sende-Error abfangen
    CATCH CX_BCS INTO BCS_EXCEPTION.
    WRITE: 'Fehler aufgetreten.'(001).
    WRITE: 'Fehlertyp:'(002), BCS_EXCEPTION->ERROR_TYPE.
    EXIT.
    ENDTRY.
    ENDFORM. "main
    FORM HEAD_CONT.
    CLEAR: IT_TEXT[], WA_TEXT, SUBJECT.
    ATT_TYPE = 'RAW'.
    SUBJECT = 'Betreffzeile'.
    WA_TEXT = 'First Line'. APPEND WA_TEXT TO IT_TEXT.
    WA_TEXT = 'Second Line'. APPEND WA_TEXT TO IT_TEXT.
    DESCRIBE TABLE IT_TEXT LINES N10.
    N10 = ( N10 - 1 ) * 255 + STRLEN( WA_TEXT ).
    IT_LENGHT = N10.
    TRY.
    DOCUMENT = CL_DOCUMENT_BCS=>CREATE_DOCUMENT(
    I_TYPE = ATT_TYPE
    I_TEXT = IT_TEXT
    I_LENGTH = IT_LENGHT
    I_SUBJECT = SUBJECT ).
    Error abfangen
    CATCH CX_BCS INTO BCS_EXCEPTION.
    WRITE: 'Fehler aufgetreten.'(001).
    WRITE: 'Fehlertyp:'(002), BCS_EXCEPTION->ERROR_TYPE.
    EXIT.
    ENDTRY.
    ENDFORM. "HEAD_CONT
    *& Form RAW_ATT
    text
    FORM RAW_ATT.
    CLEAR: IT_TEXT[], WA_TEXT, SUBJECT.
    ATT_TYPE = 'RAW'.
    SUBJECT = 'Text Anhang'.
    WA_TEXT = 'First Line in ATT'. APPEND WA_TEXT TO IT_TEXT.
    WA_TEXT = 'Second Line in ATT'. APPEND WA_TEXT TO IT_TEXT.
    Lenght of Att_Text
    DESCRIBE TABLE IT_TEXT LINES N10.
    N10 = ( N10 - 1 ) * 255 + STRLEN( WA_TEXT ).
    IT_LENGHT = N10.
    TRY.
    CALL METHOD DOCUMENT->ADD_ATTACHMENT
    EXPORTING
    I_ATTACHMENT_TYPE = ATT_TYPE
    I_ATT_CONTENT_TEXT = IT_TEXT
    I_ATTACHMENT_SIZE = IT_LENGHT
    I_ATTACHMENT_SUBJECT = SUBJECT.
    Error abfangen
    CATCH CX_BCS INTO BCS_EXCEPTION.
    WRITE: 'Fehler aufgetreten.'(001).
    WRITE: 'Fehlertyp:'(002), BCS_EXCEPTION->ERROR_TYPE.
    EXIT.
    ENDTRY.
    ENDFORM. "ATT_RAW
    where the internal table "it_recipients" contains all the e-mail addresses.

  • Can't send mail using - all send mail servers offline

    I am not able to send any mail.  I've got many SMTP servers and have tried them all.  none send and I don't get an error.  Have rebooted and read in discussions and find no solution.   OS X 10.9.2   Finding myself concerned that Apple's QA/QC is lacking.. not what it once one.  Seeing increasing instability in general in core OS X apps.

    Mail is a bit weird sometimes...
    Does your network/ISP allow SMTP traffic?
    Have you linked each SMTP server to the correct mail account?
    Have you selected "Use only this server" ?
    Have you checked the port number being used?
    What are the mail providers are you using?

Maybe you are looking for

  • I want to find the image tag name from Image layer name InDesign JavaScript?

    I want to find the image tag name from Image layer name InDesign JavaScript?

  • Reports font in .pdf or .html

    Hi All, i m facing a problem in Reports 9i, I developed the reports in reports 9i with arabic fornts when i run it in "run page layout" the fonts are perfect but when I run it in web say 1)Internet explorer it gives me the garbage characters and when

  • Queries on Modelling,Extraction

    Hi BW Guys,                     I have one query on modelling that is 1) If we have 50 characteristics in a cube,how many dimensions we will create,suppose we created 10 dimensions,how would you arrange the characteristics ?  Would you give any prefe

  • Configuring Standalone Oracle HTTP server (1.3) with  Mid tier (10.1.2)

    Hai All, We have installed OHS 1.3 in DMZ and we have 10.1.2 midtier installed with B2B server in Firewall. I have modified mod_oc4j.conf of standalone OHS with following content to route the requests to midtier Oc4jMount /b2b/* instance://ap6003idmz

  • How to make tax codes in mm purchasing

    Dear Guru, 1. How to make tax code for purchase of Raw materials with basic excise duty=14%, SECess=2%, HSEcess=1% and Additional Excise duty=4% as follows . If we consider basic prise=100 then BASIC                  =100 BED    (14%)        =14 SED