cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete BP assignments to a target group.

0 Kudos

Hi Friends,

I am working on CRM 7.0 , Campaign management.

My requirement is :

1.I need to copy the existing campaign.

2. read all the BP's assigned to the target group of the copied BP.

3. check whether these BP's are exist any sales orders.

4. if some BP are exist in sales orders, take those BPs and assign to the target group.

5. Before assigning these BP's delete all the BP assignments to the target group.

6. If the BP's doesnot exist in any sales order check the duration of the BPs between planned start date and planned end date.

7. If the duration( planned end date- planned start date ) is less than a week, create a new campaign and target group, and assign these BPs to the new target group.

My problem is first I am trying by taking an existing targetgroupguid and passed it in to a FM 'BAPI_TARGETGROUP_REMOVE_BP'.

i am getting an error in return table 'BAPI - 003 ' Instance DF0CB6FFB88286F19267005056A00743 of object type MarketingTargetGroup could not be changed' "

Need suuggestion from you.

reagrds,

Raj.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Raj,

Once the target group is modelled, you cannot remove BP's from the target group and hence the system does not permit you to remove the BP's from the target group.

Ajay Gupta