cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI commit fails inside ABAP PROXY class method.

Former Member
0 Kudos

Hi, I'm have a scenario XI to CRM using ABAP PROXY to create a new Activity in CRM. The BAPI_ACTIVITYCRM_CHANGEMULTI works fine. But when I use it inside the EXECUTE method, the activity is not created.The BAPI_TRANSACTION_COMMIT is not working in this case. I copy the same source code into a SE38 program and its works.

CALL FUNCTION 'BAPI_ACTIVITYCRM_CREATEMULTI'

TABLES

header = t_header

headerx = t_headerx

partner = t_partner

partnerx = t_partnerx

date = t_date

datex = t_datex

return = t_return.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING

wait = 'X'

IMPORTING

return = t_return2.

Please help me to find out the solution for this.

Regards.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Daniela,

did you got back any error or do you see any related dump in ST22?

Kind Regards,

Sergio