SAP HR_BE_SI_READ_STATUS Function Module for HR-BE: Read EE status for SI declaration









HR_BE_SI_READ_STATUS is a standard hr be si read status 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-BE: Read EE status for SI declaration 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 be si read status FM, simply by entering the name HR_BE_SI_READ_STATUS into the relevant SAP transaction such as SE37 or SE38.

Function Group: 0PBS
Program Name: SAPL0PBS
Main Program: SAPL0PBS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function HR_BE_SI_READ_STATUS 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_BE_SI_READ_STATUS'"HR-BE: Read EE status for SI declaration
EXPORTING
I_DECID = "SI Declaration identifier
I_DYEAR = "Year the declaration refers to
I_DQART = "Quarter the declaration refers to
I_DSQNR = "Sequence number per declaration step
I_DSTAT = "Status SI declaration
I_STREF = "Reference pointing to the detailed declaration info

TABLES
E_LEV3XX = "Employee information except reductions ( level 3 )
E_LEV3RED = "Reductions for an employee reported on level 3
E_LEV4XX = "Employee remuneration and absence information ( level 4)

EXCEPTIONS
NOT_FOUND = 1
.



IMPORTING Parameters details for HR_BE_SI_READ_STATUS

I_DECID - SI Declaration identifier

Data type: T5BSD-DECID
Optional: No
Call by Reference: Yes

I_DYEAR - Year the declaration refers to

Data type: T5BSD-DYEAR
Optional: No
Call by Reference: Yes

I_DQART - Quarter the declaration refers to

Data type: T5BSD-DQART
Optional: No
Call by Reference: Yes

I_DSQNR - Sequence number per declaration step

Data type: T5BSD-DSQNR
Optional: No
Call by Reference: Yes

I_DSTAT - Status SI declaration

Data type: T5BSD-DSTAT
Optional: No
Call by Reference: Yes

I_STREF - Reference pointing to the detailed declaration info

Data type: T5BSD-STREF
Optional: No
Call by Reference: Yes

TABLES Parameters details for HR_BE_SI_READ_STATUS

E_LEV3XX - Employee information except reductions ( level 3 )

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

E_LEV3RED - Reductions for an employee reported on level 3

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

E_LEV4XX - Employee remuneration and absence information ( level 4)

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

EXCEPTIONS details

NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for HR_BE_SI_READ_STATUS 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_decid  TYPE T5BSD-DECID, "   
lt_e_lev3xx  TYPE STANDARD TABLE OF T5BS3, "   
lv_not_found  TYPE T5BS3, "   
lv_i_dyear  TYPE T5BSD-DYEAR, "   
lt_e_lev3red  TYPE STANDARD TABLE OF T5BSR, "   
lv_i_dqart  TYPE T5BSD-DQART, "   
lt_e_lev4xx  TYPE STANDARD TABLE OF T5BS4, "   
lv_i_dsqnr  TYPE T5BSD-DSQNR, "   
lv_i_dstat  TYPE T5BSD-DSTAT, "   
lv_i_stref  TYPE T5BSD-STREF. "   

  CALL FUNCTION 'HR_BE_SI_READ_STATUS'  "HR-BE: Read EE status for SI declaration
    EXPORTING
         I_DECID = lv_i_decid
         I_DYEAR = lv_i_dyear
         I_DQART = lv_i_dqart
         I_DSQNR = lv_i_dsqnr
         I_DSTAT = lv_i_dstat
         I_STREF = lv_i_stref
    TABLES
         E_LEV3XX = lt_e_lev3xx
         E_LEV3RED = lt_e_lev3red
         E_LEV4XX = lt_e_lev4xx
    EXCEPTIONS
        NOT_FOUND = 1
. " HR_BE_SI_READ_STATUS




ABAP code using 7.40 inline data declarations to call FM HR_BE_SI_READ_STATUS

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 DECID FROM T5BSD INTO @DATA(ld_i_decid).
 
 
 
"SELECT single DYEAR FROM T5BSD INTO @DATA(ld_i_dyear).
 
 
"SELECT single DQART FROM T5BSD INTO @DATA(ld_i_dqart).
 
 
"SELECT single DSQNR FROM T5BSD INTO @DATA(ld_i_dsqnr).
 
"SELECT single DSTAT FROM T5BSD INTO @DATA(ld_i_dstat).
 
"SELECT single STREF FROM T5BSD INTO @DATA(ld_i_stref).
 


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!