google-code-export / saplink

Automatically exported from code.google.com/p/saplink
1 stars 2 forks source link

Version field set to zero when calling saplink root class from plugin #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
ABAP Web Dynpro plugin has structures with a field called version.  The
setstructurefromattributes and getstructurefromattributes methods of the
ZSAPLINK root class, set these versions to 0.

Normally the version field is reserved for telling if an object is active
or inactive, but in the case of the dynpro this field is being used for
something else.

I need an option to preserve the version field under certain circumstances.

Original issue reported on code.google.com by ewherrm...@gmail.com on 30 Jan 2007 at 10:14

GoogleCodeExporter commented 9 years ago
A preserveVersion flag was added as an optional importing parameter to the 
ZSAPLINK
root class method GETSTRUCTUREFROMATTRIBUTES.  If this flag is set, the version 
field
will remain untouched.

The code to change the version field was removed from the root class method
SETATTRIBUTESFROMSTRUCTURE, as we see no real need to set the version to zero 
in two
places.

Original comment by ewherrm...@gmail.com on 30 Jan 2007 at 10:20