SAP PLM_GET_SUBORDINATE_FUNCLOCATS Function Module for NOTRANSL: Lesen untergeordnete TechnPlätze und eingebaute Equipments
PLM_GET_SUBORDINATE_FUNCLOCATS is a standard plm get subordinate funclocats 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: Lesen untergeordnete TechnPlätze und eingebaute Equipments 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 plm get subordinate funclocats FM, simply by entering the name PLM_GET_SUBORDINATE_FUNCLOCATS into the relevant SAP transaction such as SE37 or SE38.
Function Group: PLM_STRUCTURE_BROWSER
Program Name: SAPLPLM_STRUCTURE_BROWSER
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function PLM_GET_SUBORDINATE_FUNCLOCATS 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 'PLM_GET_SUBORDINATE_FUNCLOCATS'"NOTRANSL: Lesen untergeordnete TechnPlätze und eingebaute Equipments.
EXPORTING
* FUNCLOCATNUMBER = "Number of Functional Location
* OBJECT_HANDLE = "Application
* VALIDFROM = SYST-DATUM "DE-EN-LANG-SWITCH-NO-TRANSLATION
* APPLICATION = 'INST' "Application
* REFRESH_BUFFER = ' ' "Checkbox
* INCLUDING_BOMS = ' ' "Checkbox
IMPORTING
FUNCLOCAT_DATA = "DE-EN-LANG-SWITCH-NO-TRANSLATION
EQI_MAX_HITS = "Internal Tables, Current Row Index
FLC_MAX_HITS = "
BILLOFFLC_DATA = "Flo BOM Header Data in Product Structure Browser
BILLOFMAT_DATA = "Material BOM Header Data in Product Structure Browser
TABLES
SUB_FUNCLOCAT_DATA = "DE-EN-LANG-SWITCH-NO-TRANSLATION
INS_EQUIPMENT_DATA = "Installed Equipment
EXCEPTIONS
NOT_FOUND = 1
IMPORTING Parameters details for PLM_GET_SUBORDINATE_FUNCLOCATS
FUNCLOCATNUMBER - Number of Functional Location
Data type: IFLOT-TPLNROptional: Yes
Call by Reference: No ( called with pass by value option)
OBJECT_HANDLE - Application
Data type: PDM_TREE-OBJECT_HANDLEOptional: Yes
Call by Reference: No ( called with pass by value option)
VALIDFROM - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: SY-DATUMDefault: SYST-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
APPLICATION - Application
Data type: RC29L-CAPIDDefault: 'INST'
Optional: Yes
Call by Reference: No ( called with pass by value option)
REFRESH_BUFFER - Checkbox
Data type: CSDATA-XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
INCLUDING_BOMS - Checkbox
Data type: CSDATA-XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for PLM_GET_SUBORDINATE_FUNCLOCATS
FUNCLOCAT_DATA - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: PLM_FUNCLOCATOptional: No
Call by Reference: No ( called with pass by value option)
EQI_MAX_HITS - Internal Tables, Current Row Index
Data type: SY-TABIXOptional: No
Call by Reference: No ( called with pass by value option)
FLC_MAX_HITS -
Data type: SY-TABIXOptional: No
Call by Reference: No ( called with pass by value option)
BILLOFFLC_DATA - Flo BOM Header Data in Product Structure Browser
Data type: PDM_BILLOFFLCOptional: No
Call by Reference: No ( called with pass by value option)
BILLOFMAT_DATA - Material BOM Header Data in Product Structure Browser
Data type: PDM_BILLOFMATOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for PLM_GET_SUBORDINATE_FUNCLOCATS
SUB_FUNCLOCAT_DATA - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: PLM_FUNCLOCATOptional: No
Call by Reference: No ( called with pass by value option)
INS_EQUIPMENT_DATA - Installed Equipment
Data type: PLM_EQUIPMENTOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_FOUND - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for PLM_GET_SUBORDINATE_FUNCLOCATS 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_not_found | TYPE STRING, " | |||
| lv_funclocat_data | TYPE PLM_FUNCLOCAT, " | |||
| lv_funclocatnumber | TYPE IFLOT-TPLNR, " | |||
| lt_sub_funclocat_data | TYPE STANDARD TABLE OF PLM_FUNCLOCAT, " | |||
| lv_eqi_max_hits | TYPE SY-TABIX, " | |||
| lv_object_handle | TYPE PDM_TREE-OBJECT_HANDLE, " | |||
| lt_ins_equipment_data | TYPE STANDARD TABLE OF PLM_EQUIPMENT, " | |||
| lv_validfrom | TYPE SY-DATUM, " SYST-DATUM | |||
| lv_flc_max_hits | TYPE SY-TABIX, " | |||
| lv_application | TYPE RC29L-CAPID, " 'INST' | |||
| lv_billofflc_data | TYPE PDM_BILLOFFLC, " | |||
| lv_billofmat_data | TYPE PDM_BILLOFMAT, " | |||
| lv_refresh_buffer | TYPE CSDATA-XFELD, " SPACE | |||
| lv_including_boms | TYPE CSDATA-XFELD. " SPACE |
|   CALL FUNCTION 'PLM_GET_SUBORDINATE_FUNCLOCATS' "NOTRANSL: Lesen untergeordnete TechnPlätze und eingebaute Equipments |
| EXPORTING | ||
| FUNCLOCATNUMBER | = lv_funclocatnumber | |
| OBJECT_HANDLE | = lv_object_handle | |
| VALIDFROM | = lv_validfrom | |
| APPLICATION | = lv_application | |
| REFRESH_BUFFER | = lv_refresh_buffer | |
| INCLUDING_BOMS | = lv_including_boms | |
| IMPORTING | ||
| FUNCLOCAT_DATA | = lv_funclocat_data | |
| EQI_MAX_HITS | = lv_eqi_max_hits | |
| FLC_MAX_HITS | = lv_flc_max_hits | |
| BILLOFFLC_DATA | = lv_billofflc_data | |
| BILLOFMAT_DATA | = lv_billofmat_data | |
| TABLES | ||
| SUB_FUNCLOCAT_DATA | = lt_sub_funclocat_data | |
| INS_EQUIPMENT_DATA | = lt_ins_equipment_data | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| . " PLM_GET_SUBORDINATE_FUNCLOCATS | ||
ABAP code using 7.40 inline data declarations to call FM PLM_GET_SUBORDINATE_FUNCLOCATS
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 TPLNR FROM IFLOT INTO @DATA(ld_funclocatnumber). | ||||
| "SELECT single TABIX FROM SY INTO @DATA(ld_eqi_max_hits). | ||||
| "SELECT single OBJECT_HANDLE FROM PDM_TREE INTO @DATA(ld_object_handle). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_validfrom). | ||||
| DATA(ld_validfrom) | = SYST-DATUM. | |||
| "SELECT single TABIX FROM SY INTO @DATA(ld_flc_max_hits). | ||||
| "SELECT single CAPID FROM RC29L INTO @DATA(ld_application). | ||||
| DATA(ld_application) | = 'INST'. | |||
| "SELECT single XFELD FROM CSDATA INTO @DATA(ld_refresh_buffer). | ||||
| DATA(ld_refresh_buffer) | = ' '. | |||
| "SELECT single XFELD FROM CSDATA INTO @DATA(ld_including_boms). | ||||
| DATA(ld_including_boms) | = ' '. | |||
Search for further information about these or an SAP related objects