SAP ACEDB_ACEOBJ_PREFETCH Function Module for Fill Global Buffers for Mass Processing
ACEDB_ACEOBJ_PREFETCH is a standard acedb aceobj prefetch SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Fill Global Buffers for Mass Processing 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 acedb aceobj prefetch FM, simply by entering the name ACEDB_ACEOBJ_PREFETCH into the relevant SAP transaction such as SE37 or SE38.
Function Group: ACEDB_ACEOBJ
Program Name: SAPLACEDB_ACEOBJ
Main Program: SAPLACEDB_ACEOBJ
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ACEDB_ACEOBJ_PREFETCH 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 'ACEDB_ACEOBJ_PREFETCH'"Fill Global Buffers for Mass Processing.
EXPORTING
I_COMP = "
I_BUKRS = "Company Code
* IR_REFKEY = "Table with Select Options for Reference
* IR_OBJID = "Accrual cost objects
* IS_COMP_REFKEY_RANGES = "
* IT_REFSUBKEY = "Table with Accrual Subobjects
* IT_DOPT = "Dynamic Selection Criteria
* ID_ALLSTATUS = "
IMPORTING
ET_ACEOBJ = "
EXCEPTIONS
ERROR_OCCURRED = 1
IMPORTING Parameters details for ACEDB_ACEOBJ_PREFETCH
I_COMP -
Data type: ACE_COMPOptional: No
Call by Reference: Yes
I_BUKRS - Company Code
Data type: ACE_BUKRSOptional: No
Call by Reference: Yes
IR_REFKEY - Table with Select Options for Reference
Data type: ACE_DS_REFKEY_RANGE_TOptional: Yes
Call by Reference: Yes
IR_OBJID - Accrual cost objects
Data type: ACE_OBJID_RANGE_TOptional: Yes
Call by Reference: Yes
IS_COMP_REFKEY_RANGES -
Data type: ACE_COMP_SPECIFIC_OBJ_RANGESOptional: Yes
Call by Reference: Yes
IT_REFSUBKEY - Table with Accrual Subobjects
Data type: ACE_SUBKEY_EXT_TOptional: Yes
Call by Reference: Yes
IT_DOPT - Dynamic Selection Criteria
Data type: ACE_DOPT_TOptional: Yes
Call by Reference: Yes
ID_ALLSTATUS -
Data type: FLAGOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ACEDB_ACEOBJ_PREFETCH
ET_ACEOBJ -
Data type: ACEA_TY_ACEOBJ_TABOptional: No
Call by Reference: Yes
EXCEPTIONS details
ERROR_OCCURRED - An error has occurred
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ACEDB_ACEOBJ_PREFETCH 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_comp | TYPE ACE_COMP, " | |||
| lv_et_aceobj | TYPE ACEA_TY_ACEOBJ_TAB, " | |||
| lv_error_occurred | TYPE ACEA_TY_ACEOBJ_TAB, " | |||
| lv_i_bukrs | TYPE ACE_BUKRS, " | |||
| lv_ir_refkey | TYPE ACE_DS_REFKEY_RANGE_T, " | |||
| lv_ir_objid | TYPE ACE_OBJID_RANGE_T, " | |||
| lv_is_comp_refkey_ranges | TYPE ACE_COMP_SPECIFIC_OBJ_RANGES, " | |||
| lv_it_refsubkey | TYPE ACE_SUBKEY_EXT_T, " | |||
| lv_it_dopt | TYPE ACE_DOPT_T, " | |||
| lv_id_allstatus | TYPE FLAG. " |
|   CALL FUNCTION 'ACEDB_ACEOBJ_PREFETCH' "Fill Global Buffers for Mass Processing |
| EXPORTING | ||
| I_COMP | = lv_i_comp | |
| I_BUKRS | = lv_i_bukrs | |
| IR_REFKEY | = lv_ir_refkey | |
| IR_OBJID | = lv_ir_objid | |
| IS_COMP_REFKEY_RANGES | = lv_is_comp_refkey_ranges | |
| IT_REFSUBKEY | = lv_it_refsubkey | |
| IT_DOPT | = lv_it_dopt | |
| ID_ALLSTATUS | = lv_id_allstatus | |
| IMPORTING | ||
| ET_ACEOBJ | = lv_et_aceobj | |
| EXCEPTIONS | ||
| ERROR_OCCURRED = 1 | ||
| . " ACEDB_ACEOBJ_PREFETCH | ||
ABAP code using 7.40 inline data declarations to call FM ACEDB_ACEOBJ_PREFETCH
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