Structure Properties 

The Structure object has the following properties:

Structure Object Properties

Name

Parameters

Return Type

Description

ColumnCount

 

VT_I2

Returns the number of columns in the Structure object. Read-only.

Type

 

VT_BSTR

Returns the name of the Structure object. Read-only.

Function

 

VT_DISPATCH

Returns the Function object that owns the Structure object (or nothing if there is no owner). Read-only.

Name

 

VT_BSTR

Returns ABAP name for the structure. Read-only.

Width

 

VT_I2

Returns the structure width. Read-only.

ColumnName

Index

VT_BSTR

Gets column name at pos. index

Value

Member

VT_VARIANT

Sets and returns a value for a given member. This is the default property. The required ‘member’ parameter is a string (VT_BSTR)

ColumnOffset

Index

VT_I2

Returns the first byte for the column (from the start of the structure). Read-only.

ColumnLength

Index

VT_I2

Returns the length of the column in bytes. Read-only.

ColumnSAPType

Index

VT_I4

Returns the SAP internal type for the column. Read-only.

ColumnDecimals

Index

VT_I2

Returns the number of decimal places to the right of the decimal point (for numeric columns only). Read-only.