SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

FM to create contact in CRM through ISU

Former Member
0 Kudos

Hi All,

I have to develop code in SAP-ISU system throgh which i want to create "contact" in SAP-CRM system.

If the above scenario is possible then please explain the detailed process.

Actually i have tried with "BAPI_BCONTACT_CREATEFROMDATA". But this BAPI is not exist in CRM system.

Please send me your comments.

Regards,

naveen ale,

alenaveen@gmail.com

1 ACCEPTED SOLUTION

Former Member
0 Kudos

This Bapi will not be there in CRM end.

BAPI_ACTIVITYCRM_CREATEMULTI

use this one to create activity in CRM end.

View solution in original post

2 REPLIES 2

Former Member
0 Kudos
  • Pass the values to create Bcontact.

lv_con_struct-partner = p_partnr.

lv_con_struct-class = 'p_class.

lv_con_struct-activity = 'Activity number'.

lv_con_struct-type = 'Type of the desc'.

lv_con_struct-direction = '2'.

lv_con_struct-contact_date = sy-datum.

lv_con_struct-contact_time = sy-uzeit.

lv_con_struct-created_by = sy-uname.

This is description field.

  • lv_con_struct-text_line = gv_desc.*

  • The Function Module BAPI_BCONTACT_CREATEFROMDATA is called for

  • the creation of Customer Contacts.

CALL FUNCTION 'BAPI_BCONTACT_CREATEFROMDATA'

EXPORTING

contactdata = lv_con_struct

IMPORTING

return = ls_return

contact = lv_contact.

Please Reward points if it helps

Regards,

Shiva Kumar

Former Member
0 Kudos

This Bapi will not be there in CRM end.

BAPI_ACTIVITYCRM_CREATEMULTI

use this one to create activity in CRM end.