Custom Attributes in Target Group Email Campaign Not Refreshed

We have a campaign sending emails to a target group of BPs.  To fill our custom attributes with values  we have implemented our code in badi CRM_IM_ADD_DATA_BADI method CRM_IM_BPSELE.  We tested our code using the Test Send feature from the email form and all worked fine.
But when we ran the campaign in the background for a Target Group with multiple BPs it would not work correctly, our attribute values were incorrect. 
We discovered while debugging the job, that the badi gets run once for each BP, but the attribute values from the previous BP do NOT get refreshed.  In fact there are 2 entire sets of attribute records in the CT_ATT_VALUES table parameter.  Each time through it multiplies by another set of our attributes.
I have put code in the badi as a workaround that deletes the previously filled attributes for the previous BP, but I'd like to figure out what is causing this problem.
Any help would be appreciated.
thanks,
Lee

Hi Lee,
Is this issue resolved for you now??
I am facing the similar problem.
Though the BADi is not used for these two mails (it is used in some other mail forms), it is actually called in 'CRM_ERMS_MAIL_COMPOSE' Function Module and the process is same as u said. There are 2 sets of values.
I am using a Mail Alert functionality where in a 'Mail Alert ON' is sent to field engineers (FE) and then upon FE accepting the work we will send a 'Mail Alert OFF' to FEs.
Problem is, we get one or two fields data incorrectly sometimes. I am not able to find out the root cause yet.
Please let me know if you have had any resolution to this!
Thanks in advance.
Chaitanya

Similar Messages

  • Custom Attributes in Target Group

    Hi,
    we are experiencing an issue during Target group creation: we are unable to see our custom attributes in the Target Group.
    We have an Attribute List created by a Custom infoset; the Infoset is based on a custom Table.
    When we create a profile Set from this Attribute list, the Target Group is created with the correct records number, but when we look at the Target Group we find there only standard attributes, that are not defined in our Attribute List (they seems all BUT000 fields).
    How can we add our custom Field to Target Group Structure?
    I've read someone suggests to enahnce CRM_IM_ADD_DATA_BADI BADI: this is the only possible option? there is a way to do it using SPRO transaction?
    Thanks and regards,
    Francesca

    Hi Francesca ,
    Thanks for reporting your concern.
    When the target group is displayed on the WebUI, the system uses a standard structure crmt_mkttg_genil_tg_i_enhance. The fields available for selection comes from this structure. In this structure there are some 30 user fields provided which can be filled through the badi 'CRM_MKTTG_SEG_MEM_EX'. Using this badi you can display the required Custom details.
    Hope this helps.

  • Printing letters to customers of marketing target group or campaign

    Hello everyone,
    We have a need to print letters to customers from a marketing target group or campaign.  (SAP CRM 7)
    The problem is that we can only see an option in application to send a Mail/SMS/Fax to the customer (with an already prepared mail form), but we just can't find a letter/print channel option.
    Can it be that this basic option does not exist in the application ?
    If it does not exist u2013 How can we send letters to the customers from a target group/campaign ?
    We'll appreciate any help,
    Best Regards,
    Nitzan.

    Hi,
    I don't know if you found an answer already to your question but we had a similar issue.
    In CRM 7.0 direct mailing is no longer supported. 
    The only solution is to either develop a specific enhancement based on mail forms (find a good CRM developper) or alternatively generate a file that you would then send to an external mailing house.
    It seems that smaller customers try to do the mailing themselves but larger customers with higher volumes nearly allways use a mailing house.
    regards
    Tim

  • My email does not refresh in my phone

    My emails do not refresh on my phone. Sometimes after i open them on my phone i go to my computer and it will still show them as being new and vice versa. What can i do to solve this problem?

    Do you have a POP 3 or IMAP mail account?

  • Assign Target group to Campaign

    Hi,
    What  is the FM to assign target group to marketing campaign?
    Thanks a lot

    Hi Raja/Kiryl,
    I am trying to assign target group to a campaign using this FM MKTPL_TGGR_ASSIGN_CREATE. But its not working for me.
    It seems I am not passing the right parameters. Could you please help me to know which paramters we need to pass to this function to assign the target group.
    It would be great if you provide the info about how to get the relavent data for this function module.
    Thanks in advance.
    Regards,
    Kumar.

  • Custom attributes in vendor group

    Hi,
    I am unable to see custom Attributes after upgrading from SRM 3.0 to SRM 5.0
    As per SRM 5.0 the vendor root is visible now in PPOMV_BBP.
    As per post upgrade document if we register custom attribute in T77OMATTOT then the attributes should be visible in PPOMV_BBP
    Still the attributes are not visible in PPOMV_BBP
    can anyone suggest on the same
    Helpful aswers will be rewarded.
    Thanks
    jayesh

    Hi
    T77OMATTR is the main table.
    Please have a look in the other tables as well.
    T77OMATDIR   General Attribute Maintenance: Change Information          
    T77OMATGT    Attributes of General Tree-Overview Object                 
    T77OMATGTC   Attributes of General Tree-Overview Object                 
    T77OMATTDB   General Attribute Maintenance: Help Indices for Attributes 
    T77OMATTIX   General Attribute Maintenance: Index Analysis              
    T77OMATTOT   Gen. Attribute Maintenance:Attributes per Obj.Type/Scenario
    T77OMATTR    General Attribute Maintenance: Definition of Attributes    
    T77OMATTRT   General Attribute Maintenance: Text Tables for Attributes  
    T77OMATTSC   General Attribute Maintenance: Application Scenarios       
    T77OMATTST   General Attribute Maintenance: Texts on Scenarios          
    T77OMATTUS   General Attribute Maintenance: Attributes per Scenario    
    <b>Other useful links -></b>
    <u>Looking up Org. Paln Attributes
    Re: Creating a new custom attributes in org structure
    Re: The attributes for user could not be determined --
    Re: Attributes dropdown list empty in settings (SRM 5.0)
    urgent: regarding ATTRIBUTES</u>
    Regards
    - Atul

  • Error assigning Target Group to Campaign Element

    Hi
    I have created a Target group for a Campaign. I have saved and exported target group to channel and started the Campaign. But it shows error message saying No Target Groups are assigned to Campaign Element..
    Why is it showing error even after assigning members for the target group and exporting the TG to Channel. I have updated the status from created to released, approved before Starting the campaign.
    Please help.
    Thx.

    Hi Kalees
    Do you have a campaign element in your campaign? If so assign the target group to the campaign element in the segments assignment block.
    Cheers
    Declan

  • Delete target groups from campaign

    Hi,
    We are using crm 5.0 and want to archive target groups, but before they are archived we need to delete the target group from the campaign where is it used. Does anyone of you know about a program for this?
    Thanks, Camilla

    Hi Camilla,
    I guess you need to follow the Standard SAP Archiving procedure:
    First the Campaign needs to be set to Status: Finished or Rejected.
    Under the TG properties set the status of the TG as to be archived.
    Check the residence time for archiving.
    To have more detailed information on this please kindly check the link below:
    http://help.sap.com/saphelp_crm50/helpdata/en/09/72f63ad65c3b5ce10000000a11402f/frameset.htm
    Programs available for Segment Builder archiving are as follows:
    The following programs are available for the archiving object CRM_MKTSET:
    ·        CRM_MKTTG_SET_WRITE_ARC (write)
    ·        CRM_MKTTG_SET_DELETE_ARC (delete)
    ·        CRM_MKTTG_SET_LOAD_ARC (read)
    The following programs are available for the archiving object CRM_MKTTG:
    ·        CRM_MKTTG_TG_WRITE_ARC (write)
    ·        CRM_MKTT_TG_DELETE_ARC (delete)
    Hope this helps,
    Regards,
    Naveen

  • TS3899 How do I send a group email and not have to select each person

    How do I send a group email without having to select each person separately

    Hi Blair
    You dont need to use a server, but you will probably need a group emailing app of some sort to help you.
    There are a number of apps available on the App Store. Most will only let you send email from inside their own app, but MailShot Pro uniquely creates special contacts that you can use right from the Mail app, and tens of thousands of compatible apps, building group email right in.
    You can find the app at https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?ls=1&m t=8, a free version is also available, which can only create a few, smaller groups, but can be upgraded.
    Peter
    Soluble Apps
    Disclosure: I am the developer of MailShot Pro and may benefit from its sale.

  • Custom Attribute in OIM user Form is not populated.

    Hi Friends,
    I am new to this Identity Manager Technology. I really all ur support.
    I am using oracle Identity Manager 9.1.0.2 version with JBoss server. The Target System is Sun One directory.
    1. I added the custom field street in Resource Object--Object Reconciliation Tab for Xellerate User and also for Iplanet Users objects.
    2. In Process definition, for iplanet user provisioning Process and Xellerate Users provisioning process, in Reconciliation Field Mappings. I mapped the street field to the UDF(street) and also for UD_iplanet_Street .
    3. When I run the task schedular for Iplanet User Recon, the string associated with the field in Iplanet is reflecting in resource profile of the user view/Edit. However, it is not populated in OIM User Form Field.
    Can you please help me in resolving the issue. I will provide any further needed information.
    Thanks and Regards,
    Manjula

    Thank you for your prompt reply.
    Yes. I tested it.. I can see the street field in the process form is populated with the string. However, I cannot see the same in the OIM User Profile Form. That Means, When I go to User folder in Admin and User Console, Manage Users and then select the user associated with the street field, the street field for the user is not populating and is empty without any string.
    Please clarify me.
    Thanks and Regards,
    Manjula.

  • Built in Approval workflow can't send to AD univeral security mail enabled group (email recipient not valid)

    Background: SP2010 SP2 with March 2015 CU installed. Using the built-in Approval - SharePoint 2010 workflow on a library. The Approval workflow does send email to individual users when users are specified in the Approvers field instead of a group. We
    need to use a group. The workflow reports the error email recipients are not valid. I don't see anything in ULS logs. The Exchange server tracking logs do not show the emails to the AD group being processed (no evidence they are even received into Exchange,
    but all other mail from SharePoint goes through, including the workflow's email to the workflow initiator). I can send email to the AD group from Outlook and all group members get it.
    To send Approval workflow email to a mail enabled AD Universal Security group, what
    exactly are the requirements?
    Q1. Does the SharePoint\system account (aka web app pool account) *absolutely* need to have a mailbox?
    If so, I need some clarification. I saw
    http://www.spdev.info/2012/11/using-security-groups-with-workflows.html which was offered as a solution in another post. It says "To allow SharePoint to email the mail enabled security group you need to either create a mailbox for the SharePoint service
    account, or attach the email address provided in the Outbound Email Settings as an additional email alias for a mailbox." Then it says you need to do *both* - create a mailbox for service account *and* add the outbound email settings address as an alias
    in the *service account's* mailbox settings. Well, we can't do the latter. We are using a dedicated AD account with a mailbox for SharePoint mail settings purposes, and no two mailboxes can have the same alias.
    I tried adding the AD account specified in the Reply From: outbound email settings (Reply To: is set to a distribution list) to the AD group's "Message Delivery Restrictions" and UNchecking Require that all senders are authenticated (even
    though the AD account does authenticate). I tried allowing All Senders and UNchecking Require authentication (though that leaves email address open to spammers), but neither worked.
    Q2. Does the AD mail enabled group need to be synchronized via User Profile Sync?
    We currently only sync users. I do see the AD groups (we use AD groups into SharePoint groups security model) in SharePoint's People and Groups, and the mail address for the mail enabled group is *not* present in the properties. Is it a requirement to sync
    the AD groups so that the email address shows in the AD group's properties in SharePoint?
    The AD group is in a SharePoint group with Approve permissions. The individual AD group members are also in another AD group in a SharePoint group with Contribute permissions. I even placed myself in the AD group to test whether permissions issues; I am
    farm admin. All SharePoint groups are set to allow Everyone to read the group's members.
    This is driving me crazy.
    Thanks,
    Joan

    Hello Victoria,
    Thank you. I have an update. I got the workflow working. Turned out to be two separate unrelated issues:
    (1) invalid email address for recipient was because the email address of AD group was not present in SharePoint's properties for group. Also why nothing appeared in Exchange Server tracking logs; the email was never sent from SharePoint. Once this was remedied
    (explained below), the Task Assigned email was sent out to the AD group.
    (2) the Task Assigned email was rejected by Exchange for reason 550 5.7.1 RESOLVER.RST.AuthRequired. The Exchange tracking logs clearly showed this. Setting the AD group's properties Mail Flow Settings, Message Delivery Restrictions to "Only senders
    in the following list: <the domain account of the email address specified in SharePoint outgoing email Reply From setting>" and UNchecking "Require that all senders are authenticated" allowed the Task Assigned email to go through.
    Answer to Q1: It is not required for System account (aka web app pool account) to have a mailbox when the SharePoint outgoing mail settings Reply From email address is of a domain account of the domain SharePoint is in. That is our scenario, as I noted we
    use a domain service account dedicated for SharePoint mail. I can't speak to other scenarios. The Reply To: does not have to be the same email address; we use a distribution list. And, ever paranoid about spamming because of unchecking require autenticated
    senders, I verified that my own account could not send email to the group (Outlook provides message "You do not have permission to send to: <GroupName>").
    Answer to Q2: I did not have to sync groups via User Profile Service. What I did do, however, was remove the AD group from SharePoint, People and Groups, Groups list, and readd it. (Note: what I *literally* did was was remove the SharePoint group from all
    permissions, remove the AD group from the SharePoint group, then remove the AD group from the Groups list, readd the AD group into the SharePoint group, and reassign permissions to the SharePoint group - Read to top-level site, Read to subsite (has unique
    permissions), and Read, Approve to the subsite library with the workflow. In order to start clean. When I readded the AD group to the SharePoint group, it came in with an email address; email address now shows in the group's SharePoint properties. I noticed
    that the format was GroupName instead of Domain\GroupName. (I had originally created the AD group as a Global Security group, added it to a SharePoint group, *then* (after I found out about that requirement when first troubleshooting workflow) converted it
    to Universal and mail enabled it.
    I suppose, would syncing groups would fix this issue of SharePoint not updating AD group changes?
    Additional note: I first gave the AD group Read to the library directly instead of giving Read to the SharePoint group, tried the workflow, and the email was sent. I then removed the AD group's direct permissions to the library and added the SharePoint group
    to the library and that also worked. So I was able to use the AD group in SharePoint group (I had read in one post that would not work).
    Thanks,
    Joan

  • Email folder not refreshed

    Hi,
    After setting up my exchange account, I deleted some email folders but they are still appearing on the ipad 2.
    Can someone please help?
    Thanks.

    Try these two things and see if the folders go away.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • Posts to FB are not appearing or refreshing (but are all visible on Chrome); And emails are not refreshing either. What gives?

    Fonts were wonky recently too. What's going on?? I prefer Firefox to Chrome, but this is a problem.....

    Are your cookies setting "Ask me every time"?
    *http://kb.mozillazine.org/Cookies
    You can remove the current cookie exception for www.facebook.com and create an exception for facebook.com instead to include all facebook domains.
    *[[/questions/934784]]
    Can you attach a screenshot of the font problem?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    You can do a check for corrupted and duplicate fonts and other font issues:
    *http://www.thexlab.com/faqs/multipleappsquit.html - Font Book 2.0 Help: Checking for damaged fonts
    *http://www.creativetechs.com/iq/garbled_fonts_troubleshooting_guide.html

  • Creation of Campaign Id and assign Target Group to it.

    Hi all,
    I am facing a problem in creating a Campaign Id. This is the first time i am working on CRM Marketing Campaign, and i dont know the process of creating a Campaign id for a Target Group created for BP's. Please do help me in providing me any program or link where i can find the sample programs for creation of campaign id, Campaign Element, Profile Set, Target Group, Assigning BP's to Target Group.. I am presently using the below mentioned function modules/BAPI's for creation of Profile Set, Target Group etc.,
    For Profile Set Creation:                                         BAPI_PROFILESET_CREATE
    For Target Group Creation:                                    BAPI_TARGETGROUP_CREATE
    For Assigning Target Group to Campaign:             MKTPL_TGGR_ASSIGN_CREATE
    for Campaign Element:                                            MKT_ELEMENT_CREATE
    Please provide me complete program to explain the above.
    Thanks in Advance,
    Nagesh Thanneeru.

    hi,
    Target group is a group of BP, like a BP list.  It's a kind of master data which can be used in business transaction.
    And profile set is a base of target group, just like Product Hierachy and Product category.  Each target group should belong to a profile set. So create the profile set, before you create target group.
    Campaign is a kind of Marketing element of CRM Marketing.  In campaign, it need the BP or BP group or Target Group as its campaign objectives. Just like Customer of Sales Order, Vendor of Purchase order.
    Campaign can be assigned several target groups or BP or BP groups in it.
    So if you want to create campaign and assign target group to it, the steps is:
    1.  create a profile set  by BAPI_PROFILESET_CREATE
    2. create target group by BAPI_TARGETGROUP_CREATE, in this calling, you will use the profile set created before.
    3. create campaign by MKT_ELEMENT_CREATE
    4. assign the target group to your campaign, by MKTPL_TGGR_ASSIGN_CREATEl, the target group comes from step 2, the campaign comes from step 3

  • Target group changing

    Hello All,
    I've created TG "My TG" and attached it to a campaign "My campaign". I released campaign and transffered a group to a channel(call list in my case)
    After that I want to add additional BP to "My TG" and attach this group to the same campaign.
    According to help.sap.com I should delete the target group from campaign , change it and attach it again.
    But when I tryed to delete TG from campaign I got error message "Segment already transfered to a channel".
    Some suggestion?
    Is there some another way to add additional BP's to existing  target group and attached it to the same campaign?
    Thank you very much

    And to just make it more clear :
    and here is the SAP help on the subject:
    Transport Layer in ABAP Workbench
    The Change and Transport System supports the distribution of development work on large projects across multiple SAP Systems.
    The packages in each development system are grouped into one transport layer.
    The transport layer determines whether objects are assigned to a local or transportable change request.
    Use
    Each of your SAP development systems is assigned a transport layer as its standard transport layer. If you use Extended Transport Control, you can assign different standard transport layers to certain clients.
    You can define at the most one consolidation target for each SAP System and transport layer.
    When you create a package, it is assigned the standard transport layer of the SAP System.
    If you want to assign a different transport layer to a package, you require the administration authorization for the Change and Transport System.
    The objects in a package automatically have the transport attributes defined for the corresponding transport layer.
    If a consolidation route originating in their SAP System is defined, then the objects are assigned to a transportable request, and transported into the consolidation target when it is released.
    If a consolidation route is not defined, the objects are assigned to a local request, and are not transported.
    Customizing settings are not assigned to a package. They have the transport attributes of the standard transport layer of the system or client.
    It is best to assign a package a standard transport layer for which a consolidation route originating in the development system is defined.
    To display and maintain the transport layers and routes, use the Transport Management System (transaction STMS).
    Only the system adminstrator can make changes.
    Caution:
    The tables TSYST, DEVL, TWSYS, TASYS are no longer productive as of Release 4.0A and cannot be maintained.
    Best regards,
    Menelaos

Maybe you are looking for

  • Inbound IDoc used for updating Sales order status

    I have a requirements to set use standard IDoc to send out the Sales order to a non-SAP software as well as receiving Inbound IDoc to update the status of sales order in SAP. Could someone comment on my questions below: 1. What are the difference bet

  • Virtual PC 7 and G4

    Is there any way to speed up Virtual PC 7 on a G4? I'm hoping there is, because I'm about ready to remove it because it runs so slowly. Thanks

  • SQL Query for comparing years

    Hi guys, I need your help to solve these queries. Kindly help. 1)Given a orders table something like the below that has data for last 2 years: Order Day     Prod_Id     Customer_ID     Qty_Sold 1/5/2010     P1     C1     10 10/5/2010     P2     C2   

  • Tab control colour

    Hi All, A annoying problem ive come up against. Why is the colour of my tab control different to my background and cluster colour? They are supposed to be all the same. I used the 'Get Colour' tool and applied the colour to all items. I have attached

  • Mini upgrade ?

    My 2007 Mac Mini Intel Duo Core 2 is now 4 years old and I am thinking about upgrading as opposed to buying a new mini. To add 4 GB memory  RAM and a single user Snow Leopard OS is approx. 90 dollars. My original 80 GB HDD is close to full so I added