Accessing NCALE data via the Results Log when running a payroll



Route to access NCALE via the Results Log when running a payroll


Actual output in NCALE.

The format is as follows taking Month/day 0208 as an example.

 

02 ���������� ��������������� = ������������ Month

08����������� ��������������� = ������������ Day

 

D���������������������������� =������������� ?

SP���������� ��������������� =������������� Absence evaluation / Exclusion code:

��������������� SP = SSP day,

S. = non SSP day such as weekend etc

SX = excluded from SSP etc�

 

2002������� ��������������� =������������� Year of first start date of absence

01����������� ��������������� =������������� Month of first date of absence

28����������� ��������������� =������������� Day of first date of absence

0000014000����������� =������������� Number of SSP weeks paid (14.000)

 

 




Access NCALE data within ABAP

This data can be retrieved within ABAP using the function module 'HR_FR_READ_NCALE':

See Program: ZPY000901

 

CALL FUNCTION 'HR_FR_READ_NCALE'
������ EXPORTING
����������� empnr������������������ ����� = pernr-pernr
����������� datbeg������������������ ���� = gd_begda
����������� datend������������������ ���� = gd_endda
������ TABLES
����������� i_ncale����������������� ���� = it_ncale
����������� i_pcale����������������� ���� = it_pcale
������ EXCEPTIONS
����������� missing_personnel_number � = 1
��� ��������version_cluster_incomp�� ����� = 2
����������� OTHERS������������������ = 3.

 

 

 


Related Articles

Payroll results (ABAP)
Display organisational structure
SAP HR infotypes
GET PERNR LAST and GET PAYROL
Retrieve multiple contracts for HR personnel and include in locical database selection/report
SAP HR Development help - ABAP code and information on various areas of HR development in SAP
ABAP code to retrieve Absence type text(AWART) from SAP table
ABAP to retrieve country grouping for personnel with SAP
Deleting an SAP HR Infotype
SAP HR Infotype selection
Creating a New SAP Infotype using transaction PM01 and PPCI
Retrieve comment texts from cluster table for SAP infotype 19
SAP Function module to call ABAP report from managers desktop(MDT)
SAP User Exits to Add functionality to the PBO and PAI of HR infotypes
Create SAP HR report category for logical database selection within ABAP report
SAP HR Selection Screen example
Retrieve SAP personal work schedule
SAP HR Infotype Development Information, ABP and step by step instructions
Enhancing an Infotype - Add, change or modify fields of and SAP infotype
SAP Personal absence calander for SSP/SMP
ABAP Program to retrieve and display sickpay(SSP, SMP etc) with SAP
SAP Personal absence calendar (NCALE) using transaction PC00_M08_CLPC
Program to retrieve sickpay values
Processing the SAP HR Organisation unit
SAP HR Payroll results ( transaction code: PC_PAYRESULT)
Payroll results (ABAP)
Display Payroll results using SAP transaction PC_PAYRESULT