SAP HR_CH_CHECK_KIND_ZULBER Function Module for HR-CH: Check child authorization









HR_CH_CHECK_KIND_ZULBER is a standard hr ch check kind zulber SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for HR-CH: Check child authorization processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for hr ch check kind zulber FM, simply by entering the name HR_CH_CHECK_KIND_ZULBER into the relevant SAP transaction such as SE37 or SE38.

Function Group: RPC0
Program Name: SAPLRPC0
Main Program: SAPLRPC0
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function HR_CH_CHECK_KIND_ZULBER pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'HR_CH_CHECK_KIND_ZULBER'"HR-CH: Check child authorization
EXPORTING
P02_FAMKA = "FEF rule
P02_BEGDA = "Start date
P02_ENDDA = "End date
* P02_HERKUNFT = "

CHANGING
P02_KZBER = "Authorization indicator
P02_KIND = "Child data

TABLES
* P02_PTEXT = "
* P02_ERROR_PTEXT = "

EXCEPTIONS
NOT_FOUND = 1
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLRPC0_001 HR-CH: User Exit for Reduction of Bonus Wage Types
EXIT_SAPLRPC0_002 HR-CH: User-Exit for Calculation of FAK Contribution

IMPORTING Parameters details for HR_CH_CHECK_KIND_ZULBER

P02_FAMKA - FEF rule

Data type: T5C0P-FAMKA
Optional: No
Call by Reference: Yes

P02_BEGDA - Start date

Data type: P0021-BEGDA
Optional: No
Call by Reference: Yes

P02_ENDDA - End date

Data type: P0021-ENDDA
Optional: No
Call by Reference: Yes

P02_HERKUNFT -

Data type: CHZUL_KENNZ
Optional: Yes
Call by Reference: Yes

CHANGING Parameters details for HR_CH_CHECK_KIND_ZULBER

P02_KZBER - Authorization indicator

Data type:
Optional: No
Call by Reference: Yes

P02_KIND - Child data

Data type: CHZUL_KIND
Optional: No
Call by Reference: Yes

TABLES Parameters details for HR_CH_CHECK_KIND_ZULBER

P02_PTEXT -

Data type: PLOG_TEXT
Optional: Yes
Call by Reference: No ( called with pass by value option)

P02_ERROR_PTEXT -

Data type: PLOG_TEXT
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NOT_FOUND - Tables are not available

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for HR_CH_CHECK_KIND_ZULBER Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_not_found  TYPE STRING, "   
lv_p02_famka  TYPE T5C0P-FAMKA, "   
lv_p02_kzber  TYPE T5C0P, "   
lt_p02_ptext  TYPE STANDARD TABLE OF PLOG_TEXT, "   
lv_p02_kind  TYPE CHZUL_KIND, "   
lv_p02_begda  TYPE P0021-BEGDA, "   
lt_p02_error_ptext  TYPE STANDARD TABLE OF PLOG_TEXT, "   
lv_p02_endda  TYPE P0021-ENDDA, "   
lv_p02_herkunft  TYPE CHZUL_KENNZ. "   

  CALL FUNCTION 'HR_CH_CHECK_KIND_ZULBER'  "HR-CH: Check child authorization
    EXPORTING
         P02_FAMKA = lv_p02_famka
         P02_BEGDA = lv_p02_begda
         P02_ENDDA = lv_p02_endda
         P02_HERKUNFT = lv_p02_herkunft
    CHANGING
         P02_KZBER = lv_p02_kzber
         P02_KIND = lv_p02_kind
    TABLES
         P02_PTEXT = lt_p02_ptext
         P02_ERROR_PTEXT = lt_p02_error_ptext
    EXCEPTIONS
        NOT_FOUND = 1
. " HR_CH_CHECK_KIND_ZULBER




ABAP code using 7.40 inline data declarations to call FM HR_CH_CHECK_KIND_ZULBER

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
"SELECT single FAMKA FROM T5C0P INTO @DATA(ld_p02_famka).
 
 
 
 
"SELECT single BEGDA FROM P0021 INTO @DATA(ld_p02_begda).
 
 
"SELECT single ENDDA FROM P0021 INTO @DATA(ld_p02_endda).
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!