biuan SAP® BUSINESS ONE SDK
DTW Human Resources / Employee Master Data
API OHEM / Employees Info
OHEM - Employees Table

SBO SQL database table details

FieldDescriptionTypeConstraintsSizeRelatedDefaultPrimary_KeyUnique
empID KEY UNIQUEEmployee No.Int
11
PRIMARYYes
lastNameLast NamenVarChar
50
firstName KEYFirst NamenVarChar
50
NAMENo
middleNameMiddle NamenVarChar
50
sexGenderVarChar
F) Female
M) Male
1
M
jobTitleJob TitlenVarChar
20
typeEmployee TypeInt
11OHTY
Employee Types
deptDepartmentInt
6OUDP
Departments
branchBranchInt
6OUBR
Branches
workStreetWork StreetnVarChar
100
workBlockWork BlocknVarChar
100
workZipWork Zip CodenVarChar
20
workCityWork CitynVarChar
100
workCountyWork CountynVarChar
100
workCountrWork CountrynVarChar
3OCRY
Countries
workStateWork StatenVarChar
3
managerManagerInt
11OHEM
Employees
userId KEYUser IDInt
11OUSR
Users
OUSRNo
salesPrson KEYSales EmployeeInt
11OSLP
Sales Employee
OSLPNo
officeTelOffice PhonenVarChar
20
officeExtOffice Ext.nVarChar
20
mobileMobile PhonenVarChar
20
pagerPagernVarChar
20
homeTelHome PhonenVarChar
20
faxFaxnVarChar
20
emailE-MailnVarChar
100
startDateStart DateDate
8
statusStatusInt
11OHST
Employee Status
salarySalaryNum
20
salaryUnitSalary UnitVarChar
H) Hour
D) Day
W) Week
M) Month
Y) Year
S) Semimonthly
B) Biweekly
1
M
emplCostEmployee CostsNum
20
empCostUntEmployee Cost UnitVarChar
H) Hour
D) Day
W) Week
M) Month
Y) Year
1
M
termDateTermination DateDate
8
termReasonTermination ReasonInt
11OHTR
Termination Reason
bankCodeBank CodenVarChar
30ODSC
Bank Codes
bankBranchBank BranchnVarChar
100
bankBranNoBank Branch No.nVarChar
30
bankAcountBank AccountnVarChar
100
homeStreetHome StreetnVarChar
100
homeBlockHome BlocknVarChar
100
homeZipHome Zip CodenVarChar
20
homeCityHome CitynVarChar
100
homeCountyHome CountynVarChar
100
homeCountrHome CountrynVarChar
3OCRY
Countries
homeStateHome StatenVarChar
3
birthDateDate of BirthDate
8
brthCountrCountry of BirthnVarChar
3OCRY
Countries
martStatusMarital StatusVarChar
S) Single
M) Married
D) Divorced
W) Widowed
1
S
nChildrenNo. of ChildrenInt
6
govIDID Issued by AuthoritiesnVarChar
64
citizenshpCitizenshipnVarChar
3OCRY
Countries
passportNoPassport No.nVarChar
64
passportExPassport Expiration DateDate
8
picturePicturenVarChar
127
remarkRemarksText
16
attachmentAttachmentsText
16
salaryCurrSalary CurrencynVarChar
3
empCostCurEmployee Costs CurrencynVarChar
3
WorkBuildWork Building/Floor/RoomText
16
HomeBuildHome Building/Floor/RoomText
16
positionPositionInt
11OHPS
Employee Position
AtcEntryAttachment EntryInt
11
AddrTypeWWork Address TypenVarChar
100
AddrTypeHHome Address TypenVarChar
100
StreetNoWWork Street No.nVarChar
100
StreetNoHHome Street No.nVarChar
100
DispMidNamDisplay Middle NameVarChar
N) No
Y) Yes
1
N
NamePosName Positioning SetVarChar
1) Last Name, First Name
2) First Name, Last Name
1
1
DispCommaDisplay CommaVarChar
N) No
Y) Yes
1
N
CostCenterCost CenternVarChar
8OPRC
Cost Center
CompanyNumCompany NumbernVarChar
20
VacPreYearVacation: Previous YearInt
11
VacCurYearVacation: Current YearInt
11
MunKeyMunicipality KeynVarChar
20
TaxClassTax ClassnVarChar
0
1) Tax Class I
2) Tax Class II
3) Tax Class III
4) Tax Class IV
5) Tax Class V
6) Tax Class VI
2
0
InTaxLiabiIncome Tax LiabilitynVarChar
0
1) On Tax Card
2) Flat-Rate Tax
3) Cross-Border Employee
4) Not Liable
2
0
EmTaxCCodeReligionnVarChar
0
--) No Church Tax Liability
AK) (AK) Old Catholic
EV) (EV) Protestant
FA) (FA) Non-Denomination Alzey
FB) (FB) Non-Denominational Regional Congregation Baden
FG) (FG) Non-Denominational Regional Congregation Palatinate
FM) (FM) Non-Denominational Congregation Mainz
FR) (FR) French-Reformed
FS) (FS) Non-Denominational Congregation Offenbach/Mainz
IB) (IB) Israelite Religious Community Baden
IL) (IL) Israelite Rural
IS) (IS) Israelite
IW) (IW) Israelite Religious Community Wuerttemberg
JD) (JD) Jewish Religion Tax
JH) (JH) Jewish Religion Tax
JS) (JS) Jewish Religion Tax
LT) (LT) Lutheran
RF) (RF) Reformed
RK) (RK) Roman Catholic
9
0
RelPartnerReligion of PartnernVarChar
0
--) No Church Tax Liability
AK) (AK) Old Catholic
EV) (EV) Protestant
FA) (FA) Non-Denomination Alzey
FB) (FB) Non-Denominational Regional Congregation Baden
FG) (FG) Non-Denominational Regional Congregation Palatinate
FM) (FM) Non-Denominational Congregation Mainz
FR) (FR) French-Reformed
FS) (FS) Non-Denominational Congregation Offenbach/Mainz
IB) (IB) Israelite Religious Community Baden
IL) (IL) Israelite Rural
IS) (IS) Israelite
IW) (IW) Israelite Religious Community Wuerttemberg
JD) (JD) Jewish Religion Tax
JH) (JH) Jewish Religion Tax
JS) (JS) Jewish Religion Tax
LT) (LT) Lutheran
RF) (RF) Reformed
RK) (RK) Roman Catholic
9
0
ExemptAmntExemption AmountNum
20
ExemptUnitExemption Amount PeriodnVarChar
0
1) Yearly
2) Monthly
3) Weekly
4) Daily
20
0
AddiAmntAdditional AmountNum
20
AddiUnitAdditional Amount PeriodnVarChar
0
1) Yearly
2) Monthly
3) Weekly
4) Daily
20
0
TaxONameTax Office NamenVarChar
50
TaxONumTax Office NumbernVarChar
20
HeaInsNameHealth Insurance Company NamenVarChar
50
HeaInsCodeHealth Insurance CodenVarChar
50
HeaInsTypeType of Health InsurancenVarChar
' ')
AOK) (AOK)
IKK) (IKK)
EKK) (EKK)
BKK) (BKK)
BKS) (BKS)
LKK) (LKK)
20
' '
SInsurNumSocial Insurance NumbernVarChar
20
StatusOfPProfessional StatusnVarChar
-1)
0
1) Worker
2) Skilled Worker
3) Supervisor/Foreman
4) Office Worker
5) Youth Help/Sheltered Workshop
6) On Career Advancement Training
7) Homeworker
8) Part Time <18 hrs
9) Part Time > 18 Hrs
2
-1
StatusOfEEducational StatusnVarChar
0
1) W/o Professional Qualification
2) W. Professional Qualification
3) High School w/o Prof. Qualif.
4) High School w. Prof. Qualific.
5) Vocational Qualification
6) University
7) Not Possible to Specify
2
0
BCodeDateVBank Code for DATEVnVarChar
20
DevBAOwnerDeviating Bank Account OwnerVarChar
Y) Yes
N) No
1
N
FNameSPFirst Name of SpousenVarChar
50
SurnameSPLast Name of SpousenVarChar
50
LogInstancLog InstanceInt
11
0
UserSignUser SignatureInt
6OUSR
Users
UserSign2Updating UserInt
6OUSR
Users
UpdateDateUpdate DateDate
8
PersGroupPerson GroupnVarChar
-1)
101) Subject to Social Insurance
102) Apprentice
104) Home Worker
105) Trainee
106) Student
108) Early Retirement
109) Part-Time Employee
110) Short-Term Employee
112) Family Member: Agriculture
113) Addnl Income: Agriculture
114) Addnl Income: Seasonal Agriculture
116) Receiving Compensation Pay
118) Irregularly Employed
119) Pensioner
997) Not Specified
5
-1
JTCodeJob Title CodenVarChar
5
ExtEmpNoExt. Employee No.nVarChar
20
BirthPlacePlace of BirthnVarChar
100
PymMethPayment MethodnVarChar
-1)
05) Bank Transfer
2
05
ExemptCurrExemption Amount CurrencynVarChar
3
AddiCurrAdditional Amount CurrencynVarChar
3
STDCodeSTD CodeInt
11
FatherNameFather's NamenVarChar
127
CPFPersonal Fiscal IDnVarChar
100
CRCCRC NumbernVarChar
20
ContRespAccountant ResponsibleVarChar
Y) Yes
N) No
1
N
RepLegalLegal RepresentativeVarChar
Y) Yes
N) No
1
N
DirfDeclarDIRF ResponsibleVarChar
Y) Yes
N) No
1
N
UF_CRCCRC StatenVarChar
3
IDTypeID TypenVarChar
30OIDT
Employee ID Type
ActiveEmployee StatusVarChar
Y) Active
N) Inactive
1
Y
BPLIdBranchInt
11OBPL
Business Place
ManualNUMManual EMP No.nVarChar
60
PassIssuePassport Issue DateDate
8
PassIssuerPassport IssuernVarChar
127
QualCodeQualification CodenVarChar
000) n/a
203) Diretor
204) Conselheiro de Administração
205) Administrador
206) Administrador do Grupo
207) Administrador de Sociedade Filiada
220) Administrador Judicial - Pessoa Fisica
222) Administrador Judicial - Pessoa Juridica - profissional responsável
223) Administrador Judicial / Gestor
226) Gestor Judicial
309) Procurador
312) Inventariante
313) Liquidante
315) Interventor
801) Empresário
900) Contador
999) Outros
3
000
PRWebAccssEnable Access to PR from WebVarChar
Y) Yes
N) No
1
N
PrePRWebPrevious Stats of PR Web AccessVarChar
Y) Yes
N) No
1
N

Table relationship map

SELECT statement

SELECT OHEM.empID AS 'Employee No.', OHEM.lastName AS 'Last Name', OHEM.firstName AS 'First Name', OHEM.middleName AS 'Middle Name', OHEM.sex AS 'Gender', OHEM.jobTitle AS 'Job Title', OHEM.type AS 'Employee Type', OHEM.dept AS 'Department', OHEM.branch AS 'Branch', OHEM.workStreet AS 'Work Street', OHEM.workBlock AS 'Work Block', OHEM.workZip AS 'Work Zip Code', OHEM.workCity AS 'Work City', OHEM.workCounty AS 'Work County', OHEM.workCountr AS 'Work Country', OHEM.workState AS 'Work State', OHEM.manager AS 'Manager', OHEM.userId AS 'User ID', OHEM.salesPrson AS 'Sales Employee', OHEM.officeTel AS 'Office Phone', OHEM.officeExt AS 'Office Ext.', OHEM.mobile AS 'Mobile Phone', OHEM.pager AS 'Pager', OHEM.homeTel AS 'Home Phone', OHEM.fax AS 'Fax', OHEM.email AS 'E-Mail', OHEM.startDate AS 'Start Date', OHEM.status AS 'Status', OHEM.salary AS 'Salary', OHEM.salaryUnit AS 'Salary Unit', OHEM.emplCost AS 'Employee Costs', OHEM.empCostUnt AS 'Employee Cost Unit', OHEM.termDate AS 'Termination Date', OHEM.termReason AS 'Termination Reason', OHEM.bankCode AS 'Bank Code', OHEM.bankBranch AS 'Bank Branch', OHEM.bankBranNo AS 'Bank Branch No.', OHEM.bankAcount AS 'Bank Account', OHEM.homeStreet AS 'Home Street', OHEM.homeBlock AS 'Home Block', OHEM.homeZip AS 'Home Zip Code', OHEM.homeCity AS 'Home City', OHEM.homeCounty AS 'Home County', OHEM.homeCountr AS 'Home Country', OHEM.homeState AS 'Home State', OHEM.birthDate AS 'Date of Birth', OHEM.brthCountr AS 'Country of Birth', OHEM.martStatus AS 'Marital Status', OHEM.nChildren AS 'No. of Children', OHEM.govID AS 'ID Issued by Authorities', OHEM.citizenshp AS 'Citizenship', OHEM.passportNo AS 'Passport No.', OHEM.passportEx AS 'Passport Expiration Date', OHEM.picture AS 'Picture', OHEM.remark AS 'Remarks', OHEM.attachment AS 'Attachments', OHEM.salaryCurr AS 'Salary Currency', OHEM.empCostCur AS 'Employee Costs Currency', OHEM.WorkBuild AS 'Work Building/Floor/Room', OHEM.HomeBuild AS 'Home Building/Floor/Room', OHEM.position AS 'Position', OHEM.AtcEntry AS 'Attachment Entry', OHEM.AddrTypeW AS 'Work Address Type', OHEM.AddrTypeH AS 'Home Address Type', OHEM.StreetNoW AS 'Work Street No.', OHEM.StreetNoH AS 'Home Street No.', OHEM.DispMidNam AS 'Display Middle Name', OHEM.NamePos AS 'Name Positioning Set', OHEM.DispComma AS 'Display Comma', OHEM.CostCenter AS 'Cost Center', OHEM.CompanyNum AS 'Company Number', OHEM.VacPreYear AS 'Vacation: Previous Year', OHEM.VacCurYear AS 'Vacation: Current Year', OHEM.MunKey AS 'Municipality Key', OHEM.TaxClass AS 'Tax Class', OHEM.InTaxLiabi AS 'Income Tax Liability', OHEM.EmTaxCCode AS 'Religion', OHEM.RelPartner AS 'Religion of Partner', OHEM.ExemptAmnt AS 'Exemption Amount', OHEM.ExemptUnit AS 'Exemption Amount Period', OHEM.AddiAmnt AS 'Additional Amount', OHEM.AddiUnit AS 'Additional Amount Period', OHEM.TaxOName AS 'Tax Office Name', OHEM.TaxONum AS 'Tax Office Number', OHEM.HeaInsName AS 'Health Insurance Company Name', OHEM.HeaInsCode AS 'Health Insurance Code', OHEM.HeaInsType AS 'Type of Health Insurance', OHEM.SInsurNum AS 'Social Insurance Number', OHEM.StatusOfP AS 'Professional Status', OHEM.StatusOfE AS 'Educational Status', OHEM.BCodeDateV AS 'Bank Code for DATEV', OHEM.DevBAOwner AS 'Deviating Bank Account Owner', OHEM.FNameSP AS 'First Name of Spouse', OHEM.SurnameSP AS 'Last Name of Spouse', OHEM.LogInstanc AS 'Log Instance', OHEM.UserSign AS 'User Signature', OHEM.UserSign2 AS 'Updating User', OHEM.UpdateDate AS 'Update Date', OHEM.PersGroup AS 'Person Group', OHEM.JTCode AS 'Job Title Code', OHEM.ExtEmpNo AS 'Ext. Employee No.', OHEM.BirthPlace AS 'Place of Birth', OHEM.PymMeth AS 'Payment Method', OHEM.ExemptCurr AS 'Exemption Amount Currency', OHEM.AddiCurr AS 'Additional Amount Currency', OHEM.STDCode AS 'STD Code', OHEM.FatherName AS 'Father's Name', OHEM.CPF AS 'Personal Fiscal ID', OHEM.CRC AS 'CRC Number', OHEM.ContResp AS 'Accountant Responsible', OHEM.RepLegal AS 'Legal Representative', OHEM.DirfDeclar AS 'DIRF Responsible', OHEM.UF_CRC AS 'CRC State', OHEM.IDType AS 'ID Type', OHEM.Active AS 'Employee Status', OHEM.BPLId AS 'Branch', OHEM.ManualNUM AS 'Manual EMP No.', OHEM.PassIssue AS 'Passport Issue Date', OHEM.PassIssuer AS 'Passport Issuer', OHEM.QualCode AS 'Qualification Code', OHEM.PRWebAccss AS 'Enable Access to PR from Web', OHEM.PrePRWeb AS 'Previous Stats of PR Web Access' FROM OHEM AS OHEM

Related information


Employees Info EmployeesInfo Object· Table: OHEM
EmployeesInfo is a business object that represents the employee master data in the Human Resources module. This object enables you to: Add employee's details. Retrieve employee's details by its key. Update employee's details. Save the...

Employees OHEM SQL Table

Bank Codes ODSC SQL Table

Business Place OBPL SQL Table

Branches OUBR SQL Table

Countries OCRY SQL Table

Cost Center OPRC SQL Table

Departments OUDP SQL Table

Employee ID Type OIDT SQL Table

Employee Position OHPS SQL Table

Employee Status OHST SQL Table

Termination Reason OHTR SQL Table

Employee Types OHTY SQL Table

Users OUSR SQL Table



SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates