cancel
Showing results for 
Search instead for 
Did you mean: 

How to add marketing area for existing permissions in the cloud?

former_member355106
Active Participant
0 Kudos

Hello together,

we are on Marketing Cloud 1902.

Does there exist any way (BADI? / Coding?) to add the marketing area to existing permissions as we have the following problem when using the switch in Manage my Solution App "Activate Marketing Area for Campaign Execution":

BR/

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member355106
Active Participant
0 Kudos

We would like to use BADI BAdI CUAN_MKT_PERMISSION_UPDATE. The example of the BADI is quite long. Can anybody give us a hint how where to put the coding to read marketing area of contact and then add this marketing area on the permission?

BR/

former_member226
Employee
Employee
0 Kudos

Hi Oliver,

Did you try using standard odata API_MKT_CONTACT_SRV / API_MKT_INTERACTION_CONTACT_SRV to update the Marketing Area for permissions via Entity Path: /MarketingPermissions as explained here via PATCH/PUT methos call: https://help.sap.com/viewer/0f9408e4921e4ba3bb4a7a1f75f837a7/1902.500/en-US/95f2c87395bb4dda90501042....

Please note that there is no separate odata api for handling marketing permission. it is always handled via contacts apis.

Thanks

Saurabh

former_member355106
Active Participant
0 Kudos

Dear Saurabh,

thank you for the reply. We found BADI CUAN_MKT_PERMISSION_UPDATE. Do you think it owuld be possible to read marketing area of contact and it this value to all permissions of this contact when loading it?

BR/

former_member226
Employee
Employee
0 Kudos

Hi Oliver,

Sorry for coming late but i already see that this is answered here by Tim: https://answers.sap.com/questions/785785/abap-class-to-read-marketing-area-of-contact.html

Thanks

Saurabh