SAP HR_CHECK_CLUSTERB2_ARCHIVED Function Module for









HR_CHECK_CLUSTERB2_ARCHIVED is a standard hr check clusterb2 archived SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 check clusterb2 archived FM, simply by entering the name HR_CHECK_CLUSTERB2_ARCHIVED into the relevant SAP transaction such as SE37 or SE38.

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



Function HR_CHECK_CLUSTERB2_ARCHIVED 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_CHECK_CLUSTERB2_ARCHIVED'"
EXPORTING
I_PERNR = "
I_PABRJ = "
I_PABRP = "
I_CLTYP = "

IMPORTING
CLUSTER_ARCHIVED_STATUS = "
ARC_GROUP = "

EXCEPTIONS
AUTHORITY_PROBLEM_IT0283 = 1 PERIOD_NOT_FOUND = 2 TECH_ERROR_BUFFER_HANDLING = 3
.



IMPORTING Parameters details for HR_CHECK_CLUSTERB2_ARCHIVED

I_PERNR -

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

I_PABRJ -

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

I_PABRP -

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

I_CLTYP -

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

EXPORTING Parameters details for HR_CHECK_CLUSTERB2_ARCHIVED

CLUSTER_ARCHIVED_STATUS -

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

ARC_GROUP -

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

EXCEPTIONS details

AUTHORITY_PROBLEM_IT0283 -

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

PERIOD_NOT_FOUND -

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

TECH_ERROR_BUFFER_HANDLING -

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

Copy and paste ABAP code example for HR_CHECK_CLUSTERB2_ARCHIVED 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_i_pernr  TYPE PC2B0-PERNR, "   
lv_cluster_archived_status  TYPE I, "   
lv_authority_problem_it0283  TYPE I, "   
lv_i_pabrj  TYPE PC2B0-PABRJ, "   
lv_arc_group  TYPE T51B1-ARC_GROUP, "   
lv_period_not_found  TYPE T51B1, "   
lv_i_pabrp  TYPE PC2B0-PABRP, "   
lv_tech_error_buffer_handling  TYPE PC2B0, "   
lv_i_cltyp  TYPE PC2B0-CLTYP. "   

  CALL FUNCTION 'HR_CHECK_CLUSTERB2_ARCHIVED'  "
    EXPORTING
         I_PERNR = lv_i_pernr
         I_PABRJ = lv_i_pabrj
         I_PABRP = lv_i_pabrp
         I_CLTYP = lv_i_cltyp
    IMPORTING
         CLUSTER_ARCHIVED_STATUS = lv_cluster_archived_status
         ARC_GROUP = lv_arc_group
    EXCEPTIONS
        AUTHORITY_PROBLEM_IT0283 = 1
        PERIOD_NOT_FOUND = 2
        TECH_ERROR_BUFFER_HANDLING = 3
. " HR_CHECK_CLUSTERB2_ARCHIVED




ABAP code using 7.40 inline data declarations to call FM HR_CHECK_CLUSTERB2_ARCHIVED

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 PERNR FROM PC2B0 INTO @DATA(ld_i_pernr).
 
 
 
"SELECT single PABRJ FROM PC2B0 INTO @DATA(ld_i_pabrj).
 
"SELECT single ARC_GROUP FROM T51B1 INTO @DATA(ld_arc_group).
 
 
"SELECT single PABRP FROM PC2B0 INTO @DATA(ld_i_pabrp).
 
 
"SELECT single CLTYP FROM PC2B0 INTO @DATA(ld_i_cltyp).
 


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!