Customer is getting replicated into R/3.
Additionally I need to create "Company code data"
along with predefined (hardcoded) company code.
I have written on R/3 side & called from CRM 4.0 under Middleware --> Customer Specific flow under BDoc Type "BUPA_MAIN".
Transaction "SMW01" shows error "Update could not be completed".
At R/3 side, I called statement "CALL TRANSACTION "
in FM with Update task. And after that
called "BAPI_TRANSACTION_COMMIT", then "SMW01"
shows error that
"Validation error : Customer Already exists"
Is there any way to call bdc after BDoc data committed?