Suppose I have transaction object mytrans in pb, and it is already connected to server. Then I want to create a new instance of transaction object, but want to get the same connection info from mytrans., then use this new instance to do data update, so it will not impact any transaction related mytrans.
the pseudo-code should like:
uo_trans ls_new_trans
ls_new_trans = create uo_trans
//copy connection info from mytrans to ls_new_trans: how to do this???
ls_new_trans .autocommit = true
//use ls_new_trans to call SP to update data
ls_new_trans .autocommit = false
destroy ls_new_trans.
how to implement it?