You are on page 1of 12

Examples of Feature 14EST

www.sap.com

TABLE OF CONTENTS
EXAMPLE ......................................................................................................................................................... 3
Example 1 ......................................................................................................................................................... 3
Example 2 ....................................................................................................................................................... 10
Example 3 ....................................................................................................................................................... 12

Legal Disclaimer

The information in this document is confidential and proprietary to


SAP and may not be disclosed without the permission of SAP. This
document is not subject to your license agreement or any other
service or subscription agreement with SAP. SAP has no obligation
to pursue any course of business outlined in this document or any
related document, or to develop or release any functionality
mentioned therein. This document, or any related document and
SAP's strategy and possible future developments, products and or
platforms directions and functionality are all subject to change and
may be changed by SAP at any time for any reason without notice.
The information in this document is not a commitment, promise or
legal obligation to deliver any material, code or functionality. This
document is provided without a warranty of any kind, either express
or implied, including but not limited to, the implied warranties of
merchantability, fitness for a particular purpose, or non-infringement.
This document is for informational purposes and may not be
incorporated into a contract. SAP assumes no responsibility for
errors or omissions in this document, except if such damages were
caused by SAP´s wilful misconduct or gross negligence.
All forward-looking statements are subject to various risks and
uncertainties that could cause actual results to differ materially from
expectations. Readers are cautioned not to place undue reliance on
these forward-looking statements, which speak only as of their
dates, and they should not be relied upon in making purchasing
decisions.
.
CONFIGATURATION DOCUMENT

The best practices are creating Contract Elements (0016) infotype record for
every active employee who need submit CP8D file. Set correct contract type
and contract end date (valid until) according to the employment contract. If
contract is not fixed-term contract, for example Permanente, valid until field is
hidden, set the end date of infotype as the retirement date according to any
written law. The modify feature 14EST, add "Field for decision operation" as
"CTTYP"(Contract Type), set suitable return value. You may use existing
contract type or create new contract type in view V_T547V with T-code
SM30.

Here are examples for feature 14EST, for reference only. Modify it according to your own business
requirement.

EXAMPLE

Example 1

Defined contract type in view V_T547V

(Use existing contract type in your system to modify feature 14EST. If field "Fixed-term contract" is not
selected, the contract end date in Infotype 0016 will be hidden)
T-code PE03

3
CONFIGATURATION DOCUMENT

select the blank return value and click "delete"

then select root node, click "Create nodes"

select "CTTYP", Transfer

4
CONFIGATURATION DOCUMENT

select CTTYP, click "Create nodes"

click "+" 4 times

5
CONFIGATURATION DOCUMENT

insert 01 02 W2 W5 W6, Transfer

6
CONFIGATURATION DOCUMENT

select "01", click "Create nodes"

select "Return value", ok

Finally:

7
CONFIGATURATION DOCUMENT

Save and activate it.

which means:
If employee's contract type is "01"(permanent) in Contract Elements Infotype (0016), the employee status is
"2" and retirement date / contract end date is employee's birthday plus 60 years.
V_T511K-EPFRA = 60

8
CONFIGATURATION DOCUMENT

If employee's contract type is "02"(Fixed term contract) in Contract Elements Infotype (0016), the employee
status is "3" and retirement date / contract end date comes from field CTEDT (Contract End Date) of
Contract Elements Infotype (0016).

If employee's contract type is "W2"(Working Director) in Contract Elements Infotype (0016), the employee
status is "1" and retirement date / contract end date comes from Date Specifications Infotype (0041) with
date type "Q1".
if it doesn't exist, retirement date / contract end date comes from Monitoring of Tasks Infotype (0019) with
task type "Q1" and Processing indicator is not "Task completed".

If employee's contract type is "W5"(Student) in Contract Elements Infotype (0016), the employee status is "5"
and retirement date / contract end date comes from field CTEDT (Contract End Date) of Contract Elements
Infotype (0016).

If employee's contract type is "W6"(Part Time) in Contract Elements Infotype (0016), and the personnel
number is 50014591, the employee status is "4" and retirement date / contract end date is 2026-01-01.

If employee's contract type is "W6"(Part Time) in Contract Elements Infotype (0016), and the personnel
number is 50014966, the employee status is "4" and retirement date / contract end date is 2025-12-25.

If employee's contract type is "W6"(Part Time) in Contract Elements Infotype (0016), and the personnel
number is not 50014591 nor 50014966, the employee status and retirement date / contract end date come
from program ZRPCADD00 subroutine ext_call_f.

If employee's contract type is not above values or employee have no Contract Elements Infotype (0016) at
all, the employee status is "6" and retirement date / contract end date is payroll period end date in the
selection screen of RPCTEAL0_01 report plus 5 years.
2028-11-30 for the following case.

9
CONFIGATURATION DOCUMENT

Example 2

select the blank return value and click "delete"

then select root node, click "Create nodes"

10
CONFIGATURATION DOCUMENT

select Program, input any program name (similar to RPCADD00), for example ZRPCADD00

Activate it. Then double click ZRPCADD00, create or change

11
CONFIGATURATION DOCUMENT

PROGRAM zrpcadd01.

FORM ext_call_f USING namen back status struc.

status = '0'.
CASE namen.
WHEN '14EST'.
back = '3/20251225'."-< add your own code here,for example upload from a
local file
ENDCASE.

ENDFORM.

FORM ext_call_t TABLES back USING namen status struc.

ENDFORM.

Example 3

Employee status is "3" and date of retirement /end of contract is contract end date (Valid Until) from the
latest record of Contract Elements (0016) Infotype in that tax year. If Valid Until does not exist, date of
retirement /end of contract is end date of Contract Elements (0016) Infotype. If Contract Elements (0016)
Infotype does not exist, date of retirement /end of contract is blank.

12

You might also like