cancel
Showing results for 
Search instead for 
Did you mean: 

Campaign guid from campaign id

Former Member
0 Kudos

Hi all,

can anyone provide a FM or class/method which takes campaign id as input gives the corresponding campaign guid ?

i nedd this bcoz i dont want to access the database tables as it'll create performance issue in this case.

plz help.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

There are the following conversion routines or FMs are running:

- CONVERSION_EXIT_CGPLP_INPUT - To convert External Project ID to GUID

- CONVERSION_EXIT_CGPLP_OUTPUT - To convert Conversion GUID to External Project ID

Regards,

Susanta

Former Member
0 Kudos

Hi Sibsankar,

Have you tried using the campaign id in your code instead of the GUID? There appears to be some kind of conversion function in the table that converts the campaign ID to the GUID?

Regards,

David.

Former Member
0 Kudos

I didnt get u......can u plz explain a little bit?

Former Member
0 Kudos

If you go to table CGPL_PROJECT and enter the campaign id into the GUID field it will retrun the details of the campaign. Therefore, it looks like there is a conversion routine that convertes the ID to the GUID. My suggestion was to try use the campaign ID in your code instead of the GUID.

Or alternatively, you could use this FM.

CRM_MKTPL_OL_CHECK_EXISTENCE

Edited by: David Sabharwal on Oct 21, 2011 10:36 AM