SAP EHFND_FCF_AIM_REP Function Module for AIM Repository Content for ZDO of SUM
EHFND_FCF_AIM_REP is a standard ehfnd fcf aim rep SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for AIM Repository Content for ZDO of SUM 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 ehfnd fcf aim rep FM, simply by entering the name EHFND_FCF_AIM_REP into the relevant SAP transaction such as SE37 or SE38.
Function Group: EHFND_FCF
Program Name: SAPLEHFND_FCF
Main Program: SAPLEHFND_FCF
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EHFND_FCF_AIM_REP 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 'EHFND_FCF_AIM_REP'"AIM Repository Content for ZDO of SUM.
EXPORTING
IV_OBJECTTYPE = "Object type
IV_OBJECTNAME = "Object Name
IV_METHOD_NAME = "Name of Function Module
IT_OBJECTS = "Transportwesen: Tabellentyp für E071
IT_OBJECT_KEYS = "Transportwesen: Tabellentyp für E071K
IMPORTING
ES_ATTRIBUTES = "OBJM_EXT_ATTR_FLGS expected
ET_SLAPI = "Table of SLAPI_ID (Char 40) expected
ET_TABLES = "OBJMT_TAB expected
ET_RELEASE_NOTE_TAB = "RELEASES_NOTE_TAB expected
IMPORTING Parameters details for EHFND_FCF_AIM_REP
IV_OBJECTTYPE - Object type
Data type: OBJH-OBJECTTYPEOptional: No
Call by Reference: Yes
IV_OBJECTNAME - Object Name
Data type: OBJH-OBJECTNAMEOptional: No
Call by Reference: Yes
IV_METHOD_NAME - Name of Function Module
Data type: OBJM-METHODNAMEOptional: No
Call by Reference: Yes
IT_OBJECTS - Transportwesen: Tabellentyp für E071
Data type: ANY TABLEOptional: No
Call by Reference: Yes
IT_OBJECT_KEYS - Transportwesen: Tabellentyp für E071K
Data type: ANY TABLEOptional: No
Call by Reference: Yes
EXPORTING Parameters details for EHFND_FCF_AIM_REP
ES_ATTRIBUTES - OBJM_EXT_ATTR_FLGS expected
Data type: ANYOptional: No
Call by Reference: Yes
ET_SLAPI - Table of SLAPI_ID (Char 40) expected
Data type: STANDARD TABLEOptional: No
Call by Reference: Yes
ET_TABLES - OBJMT_TAB expected
Data type: STANDARD TABLEOptional: No
Call by Reference: Yes
ET_RELEASE_NOTE_TAB - RELEASES_NOTE_TAB expected
Data type: STANDARD TABLEOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for EHFND_FCF_AIM_REP 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_es_attributes | TYPE ANY, " | |||
| lv_iv_objecttype | TYPE OBJH-OBJECTTYPE, " | |||
| lv_et_slapi | TYPE STANDARD TABLE, " | |||
| lv_iv_objectname | TYPE OBJH-OBJECTNAME, " | |||
| lv_et_tables | TYPE STANDARD TABLE, " | |||
| lv_iv_method_name | TYPE OBJM-METHODNAME, " | |||
| lv_it_objects | TYPE ANY TABLE, " | |||
| lv_et_release_note_tab | TYPE STANDARD TABLE, " | |||
| lv_it_object_keys | TYPE ANY TABLE. " |
|   CALL FUNCTION 'EHFND_FCF_AIM_REP' "AIM Repository Content for ZDO of SUM |
| EXPORTING | ||
| IV_OBJECTTYPE | = lv_iv_objecttype | |
| IV_OBJECTNAME | = lv_iv_objectname | |
| IV_METHOD_NAME | = lv_iv_method_name | |
| IT_OBJECTS | = lv_it_objects | |
| IT_OBJECT_KEYS | = lv_it_object_keys | |
| IMPORTING | ||
| ES_ATTRIBUTES | = lv_es_attributes | |
| ET_SLAPI | = lv_et_slapi | |
| ET_TABLES | = lv_et_tables | |
| ET_RELEASE_NOTE_TAB | = lv_et_release_note_tab | |
| . " EHFND_FCF_AIM_REP | ||
ABAP code using 7.40 inline data declarations to call FM EHFND_FCF_AIM_REP
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 OBJECTTYPE FROM OBJH INTO @DATA(ld_iv_objecttype). | ||||
| "SELECT single OBJECTNAME FROM OBJH INTO @DATA(ld_iv_objectname). | ||||
| "SELECT single METHODNAME FROM OBJM INTO @DATA(ld_iv_method_name). | ||||
Search for further information about these or an SAP related objects