Quantcast
Channel: SCN : All Content - SAP CRM: Marketing
Viewing all articles
Browse latest Browse all 1578

How to Get the Current Activity ID generated for the Campaign executed in the attachment

$
0
0

Hi ALl,

 

 

I am creating a  campaign and executing the same.

 

An Attachment based on the mail form and Activities are getting created.

 

My requirement is to get the activities which are created for the BP's included in the TG in the Attachment.

 

But i couldnt get the Activtity which got created, instead i am able to get the activities already created in the system for the BP.

 

Can any one pls let me know how do i get the current Activity Number which got created for the BP mentioned in the Target Group in run time and populate the same in the Attachment.

 

i have created implementation in BADI : CRM_IM_ADD_DATA_BADI and written code in the method CRM_IM_BPSELE

 

to fill the attributes( based on the mail form included in the Campaign  ) in attachment .

 

But in this BADI, i could not get the current Activity Number which got created for the BP given in the TG.

 

I feel its not the correct place of code..

 

I have seen few BADI's : CRM_MKT_EXP_CAMP_DAT,

                                    CRM_MKT_MODIFY_ORDER

 

in some threads http://scn.sap.com/thread/1943839

 

But couldnt be of help !!

 

Pls let me know the BADI or correct place to code so that i can fill the attachment with the attribute values.

 

Any help is appreciated and Thanks in Advance !!


Viewing all articles
Browse latest Browse all 1578

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>