Requests a switch to another business object and optionally the execution of a nominated command.
AVSWITCH(sTo, sNamed, sExecute, sTargetWindow)
sTo | Specify as FRAMEWORK, APPLICATION or BUSINESSOBJECT indicating the object to which control is to be switched. |
sNamed | Specifies the User Object Name/Type of the APPLICATION or BUSINESSOBJECT that control is to switch to. |
sExecute | Specify the User Object Name/Type of any command that is to be executed in the target FRAMEWORK, APPLICATION or BUSINESSOBJECT. |
sTargetWindow | Specifies the target window in which the switch operation should be performed. Allowable values are CURRENT (the current window), MAIN (the main window) or specific window name. The default value is MAIN. |
None.
/* Switch to the Combobox Fast Part examples and run Example 1 */
AVSWITCH("BUSINESSOBJECT","C0846821929747C295C29FF1E518CCAD","EXAMPLE_1");
/* Switch to a business object in the same additional window and */
/* run the details command. */
AVSWITCH("BUSINESSOBJECT","EMPLOYEES","DETAILS","CURRENT");