GetApprovalHierarchyTableRec

Get Approval Hierarchy Table Record

Minor Business Rule

Object Name: N0500370

Parent DLL: CFND

Location: Client/Server

Language: NER

Functional Description
The purpose of this business function is  Fetch from F05844 using the full key, if no record is found then fetch using CO and
approval type and business unit = ' '.  if no record then fetch where CO =  00000


Technical Specifications


Parameters

Data ItemRequiredI/ODescription

HMCOYIszCompanyHome
HMCUYIszCostCenterHome

APOPTYYIszApprovalType9

LVELFNOnLevelFrom

LVELTNOnLevelTo

ANHANOmnHighestAuthority

Ev01NOcError



Related Tables 

Table Table Description

F05844

Processing

Fetch using the full key from F05844


If no record is found , then fetch using CO and approval type and where business unit is blank'.  


If no record then fetch where CO = 00000


Data Structure

D0500370 - Get Approval Hierarchy Table

Parameter NameData ItemData TypeReq/OptI/O/Both
szCompanyHomeHMCOcharREQINPUT

The company number where the employee records generally reside.

szCostCenterHomeHMCUcharREQINPUT

The number of the business unit in which the employee generally resides.

szApprovalType9APPTYcharREQINPUT

A user defined code (05/AP) that specifies the type of change that requires an approval. For example, the approval type code required to 
approve a compensation change is COMP.

nLevelFromLVELFintegerOPTOUTPUT

The minimum numeric level above an employee that a manager must be for the manager to be included in the approval hierarchy. Any 
manager with a numeric level between the value in LVELF and LVELT will be included in the approval hierarchy. Note: LVELF is not used in 
Basic Compensation Approval Type COMP.

nLevelToLVELTintegerOPTOUTPUT

The maximum numeric level above an employee that a manager can be for the manager to be included in the approval hierarchy. Any 
manager with a numeric level between the value in LVELF and LVELT will be included in the approval hierarchy. Note: LVELT is not used in 
Basic Compensation Approval Type COMP.

mnHighestAuthorityANHAMATH_NUMERICOPTOUTPUT

The final authority in the approval process. This could be an individual or a department.

cErrorEV01charOPTOUTPUT

An option that specifies the type of processing for an event.

Related Functions

None

Related Tables

None