SAP HRCCE_HR_BW_EXTRACT_IO_ORGUNIT Function Module for Extract additional attribute for Infoobject Org. unit-no. of leavers









HRCCE_HR_BW_EXTRACT_IO_ORGUNIT is a standard hrcce hr bw extract io orgunit SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Extract additional attribute for Infoobject Org. unit-no. of leavers 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 hrcce hr bw extract io orgunit FM, simply by entering the name HRCCE_HR_BW_EXTRACT_IO_ORGUNIT into the relevant SAP transaction such as SE37 or SE38.

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



Function HRCCE_HR_BW_EXTRACT_IO_ORGUNIT 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 'HRCCE_HR_BW_EXTRACT_IO_ORGUNIT'"Extract additional attribute for Infoobject Org. unit-no. of leavers
EXPORTING
* I_INITFLAG = "
* I_UPDMODE = "
* I_MAXSIZE = "
* I_PRIVATE_MODE = "
* P_BEGDA = '19000101' "Start Date
* P_ENDDA = '99991231' "End Date

TABLES
* ORGUNITS = "Object
* I_T_SELECT = "
* I_T_FIELDS = "
P_HRMS_BW_IO_ORGUNIT = "BW: Organizational Unit InfoObject
.



IMPORTING Parameters details for HRCCE_HR_BW_EXTRACT_IO_ORGUNIT

I_INITFLAG -

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

I_UPDMODE -

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

I_MAXSIZE -

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

I_PRIVATE_MODE -

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

P_BEGDA - Start Date

Data type: P0001-BEGDA
Default: '19000101'
Optional: Yes
Call by Reference: No ( called with pass by value option)

P_ENDDA - End Date

Data type: P0001-ENDDA
Default: '99991231'
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for HRCCE_HR_BW_EXTRACT_IO_ORGUNIT

ORGUNITS - Object

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

I_T_SELECT -

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

I_T_FIELDS -

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

P_HRMS_BW_IO_ORGUNIT - BW: Organizational Unit InfoObject

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

Copy and paste ABAP code example for HRCCE_HR_BW_EXTRACT_IO_ORGUNIT 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:
lt_orgunits  TYPE STANDARD TABLE OF HROBJECT, "   
lv_i_initflag  TYPE SBIWA_S_INTERFACE-INITFLAG, "   
lv_i_updmode  TYPE SBIWA_S_INTERFACE-UPDMODE, "   
lt_i_t_select  TYPE STANDARD TABLE OF SBIWA_T_SELECT, "   
lv_i_maxsize  TYPE SBIWA_S_INTERFACE-MAXSIZE, "   
lt_i_t_fields  TYPE STANDARD TABLE OF SBIWA_T_FIELDS, "   
lv_i_private_mode  TYPE SBIWA_T_FIELDS, "   
lt_p_hrms_bw_io_orgunit  TYPE STANDARD TABLE OF HRCCE_HRMS_BW_IO_ORGUNIT, "   
lv_p_begda  TYPE P0001-BEGDA, "   '19000101'
lv_p_endda  TYPE P0001-ENDDA. "   '99991231'

  CALL FUNCTION 'HRCCE_HR_BW_EXTRACT_IO_ORGUNIT'  "Extract additional attribute for Infoobject Org. unit-no. of leavers
    EXPORTING
         I_INITFLAG = lv_i_initflag
         I_UPDMODE = lv_i_updmode
         I_MAXSIZE = lv_i_maxsize
         I_PRIVATE_MODE = lv_i_private_mode
         P_BEGDA = lv_p_begda
         P_ENDDA = lv_p_endda
    TABLES
         ORGUNITS = lt_orgunits
         I_T_SELECT = lt_i_t_select
         I_T_FIELDS = lt_i_t_fields
         P_HRMS_BW_IO_ORGUNIT = lt_p_hrms_bw_io_orgunit
. " HRCCE_HR_BW_EXTRACT_IO_ORGUNIT




ABAP code using 7.40 inline data declarations to call FM HRCCE_HR_BW_EXTRACT_IO_ORGUNIT

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 INITFLAG FROM SBIWA_S_INTERFACE INTO @DATA(ld_i_initflag).
 
"SELECT single UPDMODE FROM SBIWA_S_INTERFACE INTO @DATA(ld_i_updmode).
 
 
"SELECT single MAXSIZE FROM SBIWA_S_INTERFACE INTO @DATA(ld_i_maxsize).
 
 
 
 
"SELECT single BEGDA FROM P0001 INTO @DATA(ld_p_begda).
DATA(ld_p_begda) = '19000101'.
 
"SELECT single ENDDA FROM P0001 INTO @DATA(ld_p_endda).
DATA(ld_p_endda) = '99991231'.
 


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!