Adapter for SAP 10.1 | webMethods Adapter for SAP Documentation | webMethods Adapter for SAP Installation and User’s Guide Documentation | Built-in Services | SAP Client Services | pub.sap.client:getStructureDefinition
 
pub.sap.client:getStructureDefinition
Looks up the structure definition of an SAP structure in the given SAP system.
Input Parameter
structName
Structure name for which the definition is looked up.
serverName
Alias of the SAP system on which the RFC function module is defined. The name must match a configured RFC connection alias at Adapter for SAP.
Return Values
Document list named params that contains all parameter-related information:
tabLength
Length of the structure when used in a table. This might differ from the sum of all field lengths, as the number types have to be aligned to memory segments.
fields
Key
Description
fieldName
Name of the field.
tabName
Optional. Name of the table/structure in the SAP system the field is referring to.
position
Position within structure.
offset
Offset in bytes to this field.
length
Internal length in bytes.
decimals
Only relevant for decimal types; number of decimals used.
type
Type of the field (for example: CHAR, STRUCTURE, TABLE, ...).