Dear Superman,
I have a question, what the difference of the two way access SAP CRM?
1)
// Calls remote function module
wdContext.currentBapi_XXXX_RegElement().modelObject().execute();
// Synchronise the data in the context with the data in the model
wdContext.nodeOutput().invalidate();
wdContext.currentBapi_XXXX_RegElement().modelObject().modelInstance().disconnectIfAlive();
2)
wdThis.wdGetXXXXCustController().executeXXXXReg(A, B, C, D);