SAP CACS_READ_HRDATA_INT Function Module for NOTRANSL: HR-Infotypen für Personenmenge lesen, ggf. remote









CACS_READ_HRDATA_INT is a standard cacs read hrdata int SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: HR-Infotypen für Personenmenge lesen, ggf. remote 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 cacs read hrdata int FM, simply by entering the name CACS_READ_HRDATA_INT into the relevant SAP transaction such as SE37 or SE38.

Function Group: CACS_HRINFOTYPES
Program Name: SAPLCACS_HRINFOTYPES
Main Program: SAPLCACS_HRINFOTYPES
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function CACS_READ_HRDATA_INT 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 'CACS_READ_HRDATA_INT'"NOTRANSL: HR-Infotypen für Personenmenge lesen, ggf. remote
EXPORTING
IT_MOD_PERSONS = "Changed Personnel Numbers with Change Date

TABLES
ET_P0000 = "HR Master Record: Infotype 0000 (Actions)
ET_P0001 = "HR Master Record: Infotype 0001 (Org. Assignment)
ET_P0002 = "HR Master Record: Infotype 0002 (Personal Data)
ET_P0006 = "HR Master Record: Infotype 0006 (Addresses)
ET_P0009 = "HR Master Record: Infotype 0009 (Bank Details)
ET_P0105 = "HR Master Record: Infotype 0001 (Org. Assignment)
.



IMPORTING Parameters details for CACS_READ_HRDATA_INT

IT_MOD_PERSONS - Changed Personnel Numbers with Change Date

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

TABLES Parameters details for CACS_READ_HRDATA_INT

ET_P0000 - HR Master Record: Infotype 0000 (Actions)

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

ET_P0001 - HR Master Record: Infotype 0001 (Org. Assignment)

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

ET_P0002 - HR Master Record: Infotype 0002 (Personal Data)

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

ET_P0006 - HR Master Record: Infotype 0006 (Addresses)

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

ET_P0009 - HR Master Record: Infotype 0009 (Bank Details)

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

ET_P0105 - HR Master Record: Infotype 0001 (Org. Assignment)

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

Copy and paste ABAP code example for CACS_READ_HRDATA_INT 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_et_p0000  TYPE STANDARD TABLE OF P0000, "   
lv_it_mod_persons  TYPE CACS_HRPERSON_MOD_T, "   
lt_et_p0001  TYPE STANDARD TABLE OF BAPIP0001, "   
lt_et_p0002  TYPE STANDARD TABLE OF BAPIP0002, "   
lt_et_p0006  TYPE STANDARD TABLE OF BAPIP0006, "   
lt_et_p0009  TYPE STANDARD TABLE OF BAPIP0009, "   
lt_et_p0105  TYPE STANDARD TABLE OF BAPIP0105. "   

  CALL FUNCTION 'CACS_READ_HRDATA_INT'  "NOTRANSL: HR-Infotypen für Personenmenge lesen, ggf. remote
    EXPORTING
         IT_MOD_PERSONS = lv_it_mod_persons
    TABLES
         ET_P0000 = lt_et_p0000
         ET_P0001 = lt_et_p0001
         ET_P0002 = lt_et_p0002
         ET_P0006 = lt_et_p0006
         ET_P0009 = lt_et_p0009
         ET_P0105 = lt_et_p0105
. " CACS_READ_HRDATA_INT




ABAP code using 7.40 inline data declarations to call FM CACS_READ_HRDATA_INT

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.

 
 
 
 
 
 
 


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!