nabheet,
this is called expilicitly for commit.
Not in any exit or something.
Have a look at the source code which i have posted while starting this discussion.
This below FM is called just after CALL FUNCTION 'CO_XT_COMPONENT_CHANGE'
Look at the source code in starting of discussion. U will understand when it is executed.
CALL FUNCTION 'CO_XT_ORDER_PREPARE_COMMIT'
IMPORTING
E_ORDER_KEY = IS_ORDER_KEY
ES_BAPIRETURN = ES_BAPIRETURN
E_ERROR_OCCURRED = E_ERROR_OCCURRED
* TABLES
* ET_ORD_KEY_MAP = ET_ORD_KEY_MAP
* ET_BAPIRETURN = ET_BAPIRETURN
.