Direct mail campaign based on partner function

I'm trying to create a direct mail campaign to all persons who have a certain partner function. I have succeeded in getting all the persons out by exporting them from the target group in the Segment Builder, but I would also like to have the Company name and address. How can I achieve this?
I have based my target group on a attribute list made from the infoset CRM_MKTTG_BP_PRTFUNC_REL, and made af filter on the partner function attribute.
Thanks in advance, Peter

Hello Peter,
you have to use the BADI CRM_MKTTG_SEG_MEM_EX
There are two methods in the class:
IF_EX_CRM_MKTTG_SEG_MEMBER_EX~SELECT_TG_MEMBER_DETAILS_REL
IF_EX_CRM_MKTTG_SEG_MEMBER_EX~SELECT_TG_MEMBER_DETAILS
The first one is called in case the TG has BP's with relationsships and other one is called for BP's without relationships.
In standard implementation, the data from BUT000 and BUT020 is picked up. This imples that the personal addresses is picked up.
Hope this helps.
Regards
Raja Pamireddy
CRM Marketing Forum Moderator

Similar Messages

  • Sending mail to a particular partner function in workflkow

    hi all
    i m working on a workflow in which i have defined user as general,means anyone can start the workflow,now i want to assign agent to workflow ,how can i assign the agent and also how to send the mail to a particular partner function in our  case we have described "loan officer",
    please guide regarding the query
    regards
    ashish

    hi
    i should  tell first of all m working on CRM 5.0 standalone system.we are trying to trigger mail for LEAD .when say we are trying to change the status of lead or whenever the status of lead is changed the mail should be triggered to loan officer.
    hope i clear the air,now pz advise
    regards
    ashish

  • How to Split 1 Order into Multiple Deliveries based on Partner Function ?

    Hello,
    How can I split one Sales Order into multiple deliveries, based on the partner function "managed by" ?
    The requirement is that one order will be created for different "managed by".
    If partner function "managed by" is same at line item level in order, than the items having same "managed by" can be combined in one delivery, else delivery will split and multiple deliveries will be created from 1 Order.
    Jatin Mistry

    Hi,
    You need to create a new requirement in tcode VOFM for that, together with your ABAP consultant. This requirement will be used in copy contol.
    http://saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf
    MdZ

  • Invoice split based on Partner function

    We have a requirement where we want the invoice to be split based on the partner function. Here are the details.
    1. We bill the builder(Partner function PY) by default. Sometimes we want part of the amount to be billed to buyer(Partner function ZA). So if the the sales order has both the partner functions(PY and ZA), I would like the invoice to be split into 2 where one should go to builder(PY) and the other to buyer(ZA).
    2. I tried with the split routine given in data transfer for billing documents. The routine is triggered just once(for a sales order) as it is defined at the header level hence I am unable to split the invoice for that order.
    Is there any other way to split the invoice?
    Thanks in advance
    Vamsi

    what kind of code  have u written to this ? please paste here,
    Regards
    peram

  • Discount based on partner function

    Hello,
    A customer 2000 generates an order with his normal role of Sold to Part, Ship to Part, Bill to Party & Payer. A Partner function called special stock partner is also assigned to that customer which in itself is another customer 3000. If the customer 2000 generates an order with that special stock partner 3000 an automatic discount condition called ZDI (10% discount) should come up and give the customer 2000 discount. i.e. i want to give discount to customer 2000 if customer 3000 is his special stock partner. How do i make this condition automatic via condition record.
    Regards,
    Shahzad

    Hi,
    1st - Include the field partner function (or customer number) as a ZZ field in the structures KOMG, KOMK. For example ZZTPTNR - Third partner number - CHAR10
    2nd - Create condition table with this partner function / number field ZZTPTNR
    3rd - Create/modify the access sequence to include the new table
    4th - Create/modify the condition type for the discount
    5th - Add the discount condition in your pricing procedure
    6th - Create the condition record for this discount (VK11)
    7th - Fill this field in the userexit MV45AFZZ, form  userexit_pricing_prepare_tkomk with the required partner function or customer number
    Hope this helps your request.
    Regards,
    John

  • Service ORG determination based on partner function

    Hi
    Pls let me know - How to tell from the config which partner function from a transaction say case or complaint, is being used to determine the service ORG unit at the header level of the transaction?
    Also
    Suppose I have 2 partner functions
    1. A - std partner function - rule = "User"
    2. B - custom partner function - rule = "User"
    Which one will the system use?
    Thanks

    Hi,
    You need to define Partner Determination Procedure (PDP) where u r partner function should have 004USER as access sequence, then u can use "User orgunit" rule in org detemination rule to determine service ORG unit at the header level of the transaction.
    If u have define more than one partner function as user in u r transaction system will set the same user in both place on the basis of u r PDP.
    Hope it'll help u.
    Regards,
    Dipesh.
    Edited by: DD's on Nov 11, 2008 6:27 AM

  • Direct Mail Campaign - ORDER BY delivery error (Exercise 8, Part 3)

    You will get an error when you configure seed addresses to insert by "respecting the sort order" and then you don't sort the extraction file. Thanks Sindhu for reporting it.
    Here is what the error message looks like:

    Here is where the Insertion mode is set when configuring the Direct Mail delivery.

  • Need to auto populate Field based on Partner Function in UI

    Hello Experts ,
    Currently we have a requirement in Opportunity Management in UI .
    We are working on "Territory Management "  in UI .
    While creating the Opportunity in Web UI , when we put employee code the Territory ID is auto populated.
    Now we dont want to have   Territory ID filled automatically based on Employee , but we would like to have
    Territory ID autopopulated based on "Prospect" .
    Can any one let me know how we can achieve it ?
    Regards
    Milind

    Hi Milind,
    I guess the territory gets populated based on the Partner associated to the order.
    There shooukd be an attribute like TERRITORY_ID_UI or TERRITORY_ID where in the GET method the territory ID will be derived
    based on the partner relations and being populated.
    Now you need to redefine this method and remove this logic....figure which partner relation stores the prospect and put the appropriate code.
    Regards,
    Masood Imrani S.

  • 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

  • Restrict Contact Person replication from CRM to ECC based on Partner Funct

    Hi Experts
    We are replicating Contacts from CRM to ECC, by assigning them to Accounts. We have a scenario to restrict Contact Person replication to ECC only for specific Partner functions (we have 5 such partner functions), for remaining partner functions the contact Persons should not be replicated to ECC.
    By Partner function I mean, while making this assignment of Contact to an Account in u201Ccontact Person Relationships datau201D under u201CPartner Function Assignment blocku201D (in web UI) we are adding a Partner function E.g. Author, (same can be seen in GUI, under Usage tab of CP Relationship data).
    However we were able to replicate contacts assigned to accounts to ECC in our 5 partner functions, but even the unwanted contacts assigned to other partner functions in CRM are also getting replicated
    How can I restrict CP replication from CRM to ECC based on Partner Functions assigned to the Contact Person
    Your help is highly appriciated.
    Points guaranteed.
    Regards

    Issue resolved using CRMC_BUT_CALL_FU.
    Posing the table name, just in case it might help others.
    Thanks

  • VA05 Partner Function Selection Problem

    Hi Guys,
    In VA05 report when we click on “Partner Function” button then click on drop down it is showing only “Sold to Party” . User want to see all the partner functions in the drop down. I am not sure where the selection of partner function is controlled.
    Please let me know if you guys have any idea.
    Appreciate your responses.
    Thanks,
    Rohit

    Hi Rohit,
    VA05 is Sales Order report to enable end-user to view all order based on given requirement. This means that you can only find the data based on Partner Function's criteria of Sold-to or Ship-to.
    The other partner functions will not get you the desired result here. You need to look for other report.
    Raj

  • Whats the relationship between oppurtunies and Partner function in table?

    Hi,
    I have to generate a dynamic Query for Search to filter based on Partner function.
    I got crmd_partner_fct table which has the codes assigned to the Partners But how do i relate it to
    crmd_orderadm_h so that I can filter based on the partner number i select?
    George

    i have so many partners under pft_5 (Employee) and all are giving value pft_5 in the CRMD_ORDER_INDEX table for the same GUID in header.. How can i  find out the oppurtunities searching by partner function  of PFt_5 group .. (Not sure what to ask since We have this new partner functiions added to the dropdown and i dont see any difference in the table based on the Partner Function selected in the screen.Each function has a different number assigned but I dont see that in the table)

  • Sending E-mail by Partner Function when i save an Activity in the IC WC

    Hi Experts,
    I am trying to send an E-mail to a specific Activity Partner defined in the BP Partner Functions associated with the transaction type after the activity is saved
    in the Interaction Center WinClient.
    For this, I am using actions profiles and conditions. I have checked that I can send E-mails, but only when I directly specify the E-mail address of the person I want to send the E-mail to in the Action Conditions. However, as I mentioned before, what I need is to automatically determine the BP’s E-Mail address from the Business Partner Function (Activity Partner) in the transaction (in this case I am using a contact transaction type) in order to send the E-mail.
    Can anyone shed some light on this issue?

    Hi Pratik,
    I'm facing a similar issue than Alberto, but I' ve already performed the customizing you indicated.
    Also, we have maintained as Processing types, a standard "Smart Forms Mail", with the following Mail Settings:
    - Form Name                   CRM_ACTIVITY_BUSACT01
    - Processing Class            CL_DOC_PROCESSING_CRM_ORDER
    - Processing Method           Z_CRM_ACTIVITY_EXEC_SMART_FORM
    - Archive Mode                    Mail Only
    Also in the "Define Conditions" customizing, in the "Processing Details" we added "External Communication" and "Smart Forms Email" as Assigned Processings:
    - External Communication
       - Communication Method - INT Internet Mail
       - Form Name - CRM_REMINDER_MAIL_01
       - Form Type - Smart Forms
       - Format - CRM_ACTIVITY_EXEC_SF
       - Storage Mode - Send Only
    - Email Smart Form (default)
       - Forms Name- CRM_ACTIVITY_BUSACT01
       - Proc Class. - CL_DOC_PROCESSING_CRM_ORDER
       - Proc Method   Z_CRM_ACTIVITY_EXEC_SMART_FORM
    Finally, we assured that the employee email communication data was maintained on the Master Data (trx. BP).
    However, although we can receive and send emails to the outside (i.e. SCOT /SMTP are fully customized) I'm not able to send a Email from the business activity to the Employee external email address.
    Can you help us?
    Thanks in advance,
    Joao Fleming

  • Automatic assignment of Partner Function (Dealer) based on Postal Code?

    Hi Experts,
    We are realizing a project in the Bathroom-Product Industry. Responsible for the service to the end-clients are authorized dealer. When creating a service ticket the responsible dealer has to be assigned automatically to the ticket on the basis of the postal code where the IBase (the product) is installed.
    The process is:
    1. The client is calling the Interaction Centre and first the IC Agent has to identify the account and the Installed Base (The     installed base contains the postal code where the product of the client is installed) of this account.
    2. An Interaction Record is created to record this inbound call.
    3. Afterwards a Service Ticket is created as a follow-up Document of the Interaction Record. In the moment of the creation of the Service Ticket the correct dealer has to be assigned automatically to the Service Ticket (as a Partner Function not as a Service Organization) on the basis of the postal code of the installed base.
    I have the following question! Which are the steps to assign automatically a Business Partner Function to a Service Ticket? We also need to create a Z-Table with the postal codes for which every dealer is responsible.
    Example:
    Dealer 1 is responsible for the postal codes: 08040 - 08045 and 08056 - 08059. If a client is calling and his product (Installed Base) is installed in Postal Code 08042 or 08054 the dealer 1 has to be assigned to the service ticket.
    I hope I could make myself clear ;-)? Anybody can give me a hint how to do that? What are the basic steps?

    Slightly similiar, originally being an R/3 customer before implementing CRM our dealer equated to sales office.
    In the CRM Org model (PPOMA_CRM) in the attributes of the sales office we entered the Regions & Postal codes for that dealer (pain in the arse to do) and in CRM the sales office in the org creates a BP.
    We used a org rule for the IR record based on country, region, postal code to determine the appropriate sales org, DC, div, and sales office based onthe zip code.  We created a custom partner function to represent the partner number of the  BP from the org model.  Then we configured a custom relationship "ZORG" "Is partner of sales office" and went into the BP master and assigned the actual dealer number as a partner to BP from the org model that = sales office.  From that we configured a custom access sequence to pull the actual dealer number from the org model office relationships.
    We looked at territory management, but our dealer is an "org BP" and territory management appeared to want to drive to a person BP number.

  • Filtering My Open Task in SAP CRM based on Status, Transaction & Partner Function

    Hello
    Whenever i create a Task in SAP CRM, it displays that transaction in the My Open Task of all Business Partners involved in that Transaction.
    I want to restrict the My Open Tasks based on Transaction Type, Status and Partner Function.
    1) The system should work as it is for all other Tasks but for my Custom Transaction Type the logic should be based on status of the Transaction
    2) When My Open Task component is prepared the system should consider the Status and Partner Function as well i.e. if the status is Approval of Manager, the system should show the Open Task only to the Manager and not other parties.
    3) if the status of the Transaction is Open, the system should only display this Transaction / Task only to Employee Responsible and not to Manager and other people involved in their My Open Tasks.
    I have gone through the following post in SCN:
    https://scn.sap.com/thread/2056959
    I have implemented the method DO_PREPARE_OUTPUT as per the post but it does not do anything. When i redefine the method GET_QUERY_RESULT and remove everything,it does not prepare any list.
    If possible please specify which method needs to be redefined in the component/view CRMCMP_GS_WC/TodaysTasks & if possible please share the code that needs to be maintained in that method.
    Thanks

    Hi,
    Method DO_INIT_CONTEXT should be redefined
    This should be redifined to get the collections with your required filter criteria.
    * get the collection of entities for the tasks
       lr_col      = get_query_result( gc_status-open ).
    If this does not help, Delete the collections which are not required after above selection but before this code.
       me->typed_context->resultnew->collection_wrapper->set_collection( lr_col ).
    Thanks
    Ajay Singh

Maybe you are looking for

  • In classical report

    Hi,    In Classical report i have a requirement to if the user can go to Directly Basic list to 5th secondary list. is this possible to code that one. If possiable please give the cod eand inforamtion. Thanks & Regards Raghavendra

  • Loosing Sent Mail

    Hi, I get this message once and a while when I look in my Sent mail folder: The message from Peter Carry <[email protected]> concerning "Speedline Tech- Electrovert quote and rental" has not been downloaded from the server. You need to take this acco

  • Import App Error..need help

    I have a perfectly working app that will no longer import to its production app_id. I get this error on both 1.6 (db version 9) and from the oracle site: ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: l

  • HT1386 my ipad does not show in devices in itunes

    my ipad does not show in itunes devices

  • Can I remove some applications permanently from my PowerBook?

    When I don't play or use some applications on my iPhone, I just uncheck the application on iPhone > Applications of iTune, and syncing to remove from iPhone. But is there a way to remove the applications permanently from my iPhone > Applications of i