0% found this document useful (0 votes)
11 views4 pages

FCTR Debugging Session

The document outlines the FCTR debugging session, detailing the function 'HR_FR_PROCESS_SPECIAL_CONTRACT' which processes special contracts based on parameters passed in the schema. It explains the significance of the system field SY-SUBRC, which stores return codes indicating the execution status of ABAP statements. Additionally, it describes the inputs and calculations involved in generating wage types based on contract types and other parameters.

Uploaded by

mossaddekkhadija
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views4 pages

FCTR Debugging Session

The document outlines the FCTR debugging session, detailing the function 'HR_FR_PROCESS_SPECIAL_CONTRACT' which processes special contracts based on parameters passed in the schema. It explains the significance of the system field SY-SUBRC, which stores return codes indicating the execution status of ABAP statements. Additionally, it describes the inputs and calculations involved in generating wage types based on contract types and other parameters.

Uploaded by

mossaddekkhadija
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

FCTR Debugging Session

FCTR :
PE04 -> FCTR :
According to the parameter passed to FCTR in the schema
se38 -> RPDASC00 with variant (NEL)
This Function calls : 'HR_FR_PROCESS_SPECIAL_CONTRACT'
Note : this is a module function (se37) that does all the logic related to processing the special contracts
The var SY-SUBRC : stores the "Return Code."
Quick Info : _SY-SUBRC is SAP ABAP system field and contains a return code of ABAP statements._

-> System fields are active in all ABAP programs and they get their value by the run-time environment.

->In almost every ABAP program the system field SUBRC is used, because its meaning is connected with the
successful execution of a statement. It contains return value, set by ABAP statements. It is an integer value like 0,
4, 8 or other. This value is used to determine the status of the execution of an ABAP statement.
Snap shot on : HR_FR_PROCESS_SPECIAL_CONTRACT

- Takes :
- Contract type (T5F42 : table that links the MODIF of T5F1K AND The contract type) using
get_contract_type (pe07)
- last active day
- mode d'exo 2
- Calculates the AMT (LGART_CALC) ( using infos from T5F1K) and according to parameter of the FCTR
- Note : if output wage type is present in the table it search for it in the IT if it exists it
puts it in the IT, if it doesn't exist it store it in the memory
- it generates the wage type according to some conditions

You might also like