File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
java/src/main/java/com/genexus/sap Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ public void TransactionBegin()
156156 scopeName = String .valueOf ( scopeObj );
157157 Log .info ("GX SAP - Begin Transaction " + destinationName );
158158 JCoDestination destination = null ;
159- if (scopeName .isEmpty ())
159+ if (scopeName .isEmpty () || scopeName . equals ( "null" ))
160160 destination = JCoDestinationManager .getDestination (destinationName );
161161 else
162162 destination = JCoDestinationManager .getDestination (destinationName , scopeName );
@@ -182,7 +182,7 @@ public void TransactionCommit()
182182 JCoDestination destination = null ;
183183 destinationName = (String )destinationObj ;
184184 scopeName = String .valueOf (scopeObject );
185- if ( scopeName .isEmpty () ) {
185+ if ( scopeName .isEmpty () || scopeName . equals ( "null" ) ) {
186186 destination = JCoDestinationManager .getDestination (destinationName );
187187 }
188188 else {
You can’t perform that action at this time.
0 commit comments