Hi Preeti,
Thanks for your replay.
I implementing prepare method under order_save badi to fill fill this so I am calling crm_order_maintain to update opportunity status and FM if sy-subrc eq 0 then calling crm_order_maintain to update opportunity reason.
then calling crm_order_save next bapi_transaction_commit.
but both FM : crm_order_maintain there is sy-subrc eq 0 but FM : crm_order_save i am getting sy-subrc eq 1 and i am getting the below errors :
1. Message class CRM_OPPORT_H 810 : error in connection to sem, changes will not be save
2.Message class CRM_OPPORT_H 029: transaction could not be saved; items statuses could not be updated
3.500 SAP Internal sever error: error the abap/4 open array inserts results in duplicate database records. Records in the data base ( termination : RABAX_STATE )
so finally i am not able to update opportunity status and reason at the time of activity save...
can you please advice...
Divya