SAP GUI Functions (SAPGUI) > Alphabetical List of Functions > sapgui_set_property

sapgui_set_property

Example: sapgui_set_property Method 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_id Object ID Strings
property_name The name of the SAP GUI Object Properties to set
new_value The value to set property_name
args Optional 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.

Parameterization

You can parameterize all string (char type) arguments.