Example: sapgui_set_propertyMethod and Property Functions

Sets the property of a SAP object.

int sapgui_set_property( const char *control_id, const char *property_name, const char *new_value, [args,] LAST );
control_idObject ID Strings
property_name The name of the SAP GUI Object Properties to set
new_value The value to set property_name
argsOptional Arguments
LAST A marker indicating the end of the argument list. Not required if Optional Arguments are used.

The sapgui_set_property function sets the specified property property_name, with the value new_value, in the SAP object with the identification number control_id.

Return Values

This function returns LR_PASS (0) on success or LR_FAIL (1) on failure.


You can parameterize all string (char type) arguments.