cancel
Showing results for 
Search instead for 
Did you mean: 

help in creating activities in CRM

Former Member
0 Kudos

Hi i need help creating activities in crm iam using

BAPI_CREATE_ACTIVITY to create activity but i also want this

activity to be linked to campaign element how is it possible are there any paramaters in bapi where in i can link this

activity created to the campaign element, can this be done in same program while creating activity or has to be done seperately, also it would be grea8 if anyone can provide me

campaign, activity tables in crm.

Any info would be greatly appreciated

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I cannot find BAPI_CREATE_ACTIVITY in the system... Have you taken a look at:

BAPI_ACTIVITYCRM_CREATEMULTI

Thanks,

Ranjan

Former Member
0 Kudos

Hi thanks for your reply i know that iam sorry i missed type the bapi name iam infact using BAPI_ACTIVITYCRM_CREATEMULTI

KaushalShah
Active Contributor
0 Kudos

Hi,

I am not completely sure, but you might want to try playing with fields PREDECESSOR_PROCESS & PREDECESSOR_OBJECT_TYPE of structure BAPIBUS2000110_HEADER_INS (HEADER).

Hope this helps.

Regards,

Kaushal

Former Member
0 Kudos

Hi kaushal thanks for your response your answer might be helpful but i had a look at structure BAPIBUS20001_DOC_FLOW_INS and i see there are few fields in this structure like OBJKEY_A- Identification of a Reference Object for Items,OBJKEY_B-Identification of a Reference, i feel this were we have to pass some values if you wanna to link the activity with campaign element, i donno when to use

OBJKEY_A and when to use OBJKEY_B,

any more ideas you have please

Thanks