4.5.2 Methods


Add a field object to the structure definition

getField(field="name of field")

Get a field object from the structure by name.

toHash(value="string value of struct")

Set the value of a structure - this automatically unpacks the string into the structure objects list of fields, and doe sthe SAP to Python data type conversions. Returns a Hash object of the fieldname/value pairs of the structure.


Automatically packs the current value of all the structure fields into the structure and returns the complete value as a string (in all the appropriate SAP data types)