After exporting a function to a transport file and then on importing it on another installation you may receive the following error message:
[System.Exception] Import 'F:\Transport_MSSQL_Schema_XYZ.zip' failed.
 Error during execution of statement: exec QBM_PCustomSQLPropagate
 Database error 50000: re-throw in Procedure QBM_PExecuteSQL, Line 9
 Database error 50000: detected in Procedure QBM_PCustomSQLPropagate, Line 12
50000 0 detected in (SRV=NSINTD0010\RSPAC29, DB=D1IM) Procedure QBM_PFunctionDrop, Line 6
 Database error 50000: Name of element CCC_FTPWOOrderPerson_NoIsInactiveCheck is too long (30).
The length of the names of functions is restricted to 30 chars. The reason for this restriction is that Identity Manager not only supports MS SQL-Server, but also Oracle. Oracle is much more restrictive regarding the length of names for functions, views etc.
Reduce the length of the name of the function to 30 chars. Then export/import again.