Ansicht
Dokumentation

HR_TRCAT_READ_RESULT - Return result from Tax Reporter cluster (PCL4)

HR_TRCAT_READ_RESULT - Return result from Tax Reporter cluster (PCL4)

BAL Application Log Documentation   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Provides Computer Aided Testing Tool s (CATT & eCATT) access to U.S. Tax Reporter (TR) data storted in cluster U1 of table PCL4. This is the data generated by the "fill" step (RPCTRCU0) of the U.S., Tax Reporter module, transaction PU19. Due to the cluster architecture, the TR data is not accessible via other tools such as the data browser (SE16) or table mainentenance views (SM30).

The design of the US Tax Reporter is such that production of the required output is done in steps. The first step evaluates payroll results and stores the required data in an unformatted state for a particular tax form in a cluster table called PCL4. This data is further organized into numerical data, table AMTF, and text data, table TXTF with each row defined by a Tax Form Field (TFF). Cluster rows are aggregated at the following levels: Tax form; Worksite; Tax Authority; Tax Company and Employee.

This function module can return up to 10 field values per call, for either the AMTF or TXTF tables, per aggregation. The function is also capable of returning the number of entries in the AMTF or TXTF tables for a specified aggregation. The number of entries may be retrieved at the same time field values are requested by passing the special field name "$TABIX".

In order to access the correct row in the Tax Reporter cluster, table PCL4, key elements including form number and control number are required. This module should be called from the same script/program that started the corresponding Tax Reporter run, as form number and control number information are imported from a memory area filled by the Tax Reporter program. This memory area will only be accessible from programs initiated under this main script/program. Field values may be accessed directly using the optional form number and control number parameters if known.

IMPORTANT! This module is intended for use by internal SAP programs to perform automated testing of the U.S., Tax Reporter function and is not supported for any other use.

Example

Notes

Further information





Parameters

CNTRL
EMPLOYEENUMBER
FIELD_01
FIELD_02
FIELD_03
FIELD_04
FIELD_05
FIELD_06
FIELD_07
FIELD_08
FIELD_09
FIELD_10
FRMNM
RUNTP
TABNAME
TAXAU
TXCMP
VALUE_01
VALUE_02
VALUE_03
VALUE_04
VALUE_05
VALUE_06
VALUE_07
VALUE_08
VALUE_09
VALUE_10
WKSIT

Exceptions

CONTROL_INFO_NOT_FOUND
NO_RESULT
TABLE_ENTRY_NOT_FOUND
TABNAME_NOT_VALID

Function Group

HRPAYUS_TRCAT

CL_GUI_FRONTEND_SERVICES - Frontend Services   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 2875 Date: 20240523 Time: 102416     sap01-206 ( 84 ms )