Hi Everyone,
My issue is around creation Profile in the programming way using the BAPI or Function modules.
I have created Profile set using BAPI BAPI_PROFILESET_CREATE and target group with BAPI BAPI_TARGETGROUP_CREATE,
but unable to find the correct BAPI to create Profile and link it under the profile set.
I have to look into some forums and found few Function modules below which I have worked.
The Function modules that got triggered is CRM_MKTTG_PF_MAINTAIN, when i try this i am not getting any errors but it is not getting saved in database, i used bapi commit. but in actual creation from GUI sceanrio they are using some other function module CRM_MKTTG_PF_G_SAVE_OB.
Please suggest how to save to database after maintaining profile through CRM_MKTTG_PF_MAINTAIN.
Other scenario when i try using the FM CRM_MKTPF_CHECK_AND_CREATE, when i debug through i get following after coming out of the FM before saving.. We get the error saying Profile set ID does not exist, but actually it exists..
Can anyone let me know the correct data to be passed to the FM to create a Profile...
Thanks
Kranthi