I am having an issue trying to update a member's marketing attribute upon update. I have read several posts regarding using the FM's listed here, but I have a question with those. The below FM's are the most frequently stated.
FM 'CRM_MKTBP_ASSIGN_ATTRIBUT_TAB' is used to initially assign the marketing attribute set and assign the initial values to the attributes. T
FM 'CRM_MKTBP_UPDATE_ATTR_BP' to update only.
Now, I have taken a look at these FM's and their input values have this attribute set input value:
IV_ATTRIBUTE_SET TYPE CRMT_MKTPROF_KEYS-PROFILE_TEMPLATE_ID
Now, IV_ATTRIBUTE_SET has the components:
PROFILE_TEMPLATE_ID Types CRMT_PROF_TEMPLATE CRM Marketing: Target Group Selection - Attribute Set
PROFILE_ID Types CRMT_PROFILE_ID CRM Marketing: Profile ID
BP_GUID Types CRMT_TG_BP_GUID CRM Marketing: Target Group Business Partner GUID
CATCHWORD Types KLSCHL Keywords
EXCEPTION_FLAG Types CRMT_ISA_MKT_RETURNCODE Exception Indicator Type CHAR 2
Here is my question. From my research, Target Group Selection and Profile ID are associated with an ALREADY created Target group for marketing. Now, if I ONLY want a BP to be updated with a particular marketing attribute on their master data (without any reference to pre-existing target groups), how would I go about this? In my scenario, PI is calling a zBAPI to update a customer. This BAPI then updates the BP structure with the passed parameters and later commits. Any assistance anyone can provide would be greatly appreciated.