Create the function module for custom check
- First, create the function module. Select the newly created function group and right-click to create the function module.
.
- Enter "Z_WINSHUTTLE_CHECK_ACCESS" in the Function group field and "Z Winshuttle Query Custom Auth Object" in the Short text field.
Note: The name and parameters should be entered exactly as shown below for the custom check to work.

- Enter Import parameters exactly as shown below.

- Create Export parameters exactly as shown below.

- Create this exception for use.

- Save, check, and activate the FM.