Symptom
CSV Employee Import Control In-Scope Variables
Script Text
List of In-Scope Variables
| Name | Type | Description | Read-only? |
|---|---|---|---|
| csv | ResultSet | The current record in the CSV being imported | Yes |
| filename | String | The name of the file being processed by the import | Yes |
| wfConnection | Connection | The database connection that will be used to commit the employee data changes | Yes |
| script_parameters | ScriptableMapWrapper | Runtime parameters specified for the import | Yes |
| employee | DbRecEmployee | The employee record to be written to by the import | No |
| employee_master | DbRec | The employee master record to be written to by the import | No |
| assignment | DbRecAsgnmt | The assignment record to be written to by the import | No |
| assignment_master | DbRecAsgnmt_master | The assignment master record to be written to by the import | No |
| app_user | DbRecApp_user | The user record to be written to by the import | No |
| general_right | DbRec | Deprecated The general role to assign to the user. Should only be used in single-general-role configurations. Use new GeneralRight() instead | No |
| old | OldScriptable | Provides access to the existing information for the employee/assignment that is already committed to the database | Yes |
| isSplitRequired | Function | Function that evaluates the currently-assigned policy profile and match field values and compares them to the existing data, determining if a split assignment is necessary in order to accommodate a change in policy profile | Yes |
| import_employee | Boolean | Indicates if employee and employee master records should be written by the import after script processing completes | No |
| import_assignments | Boolean | Indicates if assignment and assignment master records should be written by the import after script processing completes | No |
| import_user | Boolean | Indicates if user records should be written by the import after script processing completes | No |
| import_user_rights | Boolean | Indicates if general and/or group rights associated with a user should be written by the import after script processing completes | No |
| allow_asgnmt_policy_profile_change | Boolean | Indicates if the import should allow assignment data to be written if the data represents a change in policy profile for that assignment | No |
| lock_out_terminated_employee | Boolean | Indicates if the user account associated with a newly-terminated employee should be automatically locked out by the import | No |
| unlock_rehired_employee | Boolean | Indicates if the user account associated with a newly-rehired employee should be automatically unlocked by the import | No |
| keep_old_manual_user_rights | Boolean | Indicates if existing manually-assigned rights for the user being imported should be preserved, as opposed to being automatically revoked by the import | No |
| new_asgnmt_on_pp_change | Boolean | Indicates if a split assignment should be created when a policy profile change is imported for an assignment | No |
Read more...
Environment
SAP Time and Attendance Management by WorkForce Software (17.3 and greater)
Product
SAP Time and Attendance Management by WorkForce Software all versions
Keywords
assignment_master, app_user, DBrec, script_parameters , KBA , XX-PART-WFR-TAM , SAP Time and Attendance Management by Workforce Software , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview