BAPI_TRANSACTION_COMMIT

Through the implementation of SAP NCO inside BAPI_TRANSACTION_COMMIT not directly take effect, SQL-like things inside, need to have a beginning and end, the right way is as follows:

 

RfcSessionManager.BeginContext (); //重要
........

RfcFunctionMetadata myrfc = dest.Repository.GetFunctionMetadata ( "BAPI_TRANSACTION_COMMIT");

RfcSessionManager.EndContext (); // 重要


Guess you like

Origin www.cnblogs.com/allen0118/p/11535960.html