RCPDMCLASSFUNCLOCATIMP is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter RCPDMCLASSFUNCLOCATIMP into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: Implementation of ABAP class FUNCLOCAT
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
STATUS_BUFFER_REFRESH CALL FUNCTION 'STATUS_BUFFER_REFRESH' EXPORTING i_free = space.
ILOX_IFLOS_BUFFER_REFRESH CALL FUNCTION 'ILOX_IFLOS_BUFFER_REFRESH' CHANGING ct_tplnr = loc_tplnr.
FUNC_LOCATION_HIERARCHY CALL FUNCTION 'FUNC_LOCATION_HIERARCHY' EXPORTING spras = syst-langu level_limit = level_limit tabstructure = tab_structure including_root = including_root buffer_bypass = buffer_bypass
IMPORTING level_found = dummy_level
TABLES root_tab = root_tab iflo_tab = iflo_tab
EXCEPTIONS root_not_found = 01 read_error = 02 structure_not_possible = 03.
INSTALLED_EQMTS_ON_LOCATION CALL FUNCTION 'INSTALLED_EQMTS_ON_LOCATION' EXPORTING eq_table_fill = eq_table_fill iflo_number = funclocatnumber reading_date = validfrom
IMPORTING equi_count = equi_count
TABLES equi_table = equi_tab.
DOKUMENTE_ZU_OBJEKT CALL FUNCTION 'DOKUMENTE_ZU_OBJEKT' EXPORTING key = aux_objky objekt = iflot_dokob
TABLES doktab = doc_tab
EXCEPTIONS kein_dokument = 01.
CLCV_CONVERT_FIELDS_TO_OBJECT CALL FUNCTION 'CLCV_CONVERT_FIELDS_TO_OBJECT' EXPORTING rmclfstru = aux_rmclf table = table_iflot
IMPORTING rmclfstru = aux_rmclf tcode = syst-tcode
EXCEPTIONS tclo_not_found = 04.
CLAP_DDB_GET_CLASSIFICATION CALL FUNCTION 'CLAP_DDB_GET_CLASSIFICATION' EXPORTING object = aux_rmclf-objek obtab = table_iflot standard_type_only = space object_eq_class = space spras = syst-langu only_varklart = varklart pobtab = pobtab date_of_change = validfrom read_only = read_only
TABLES allocations = aux_class_tab
EXCEPTIONS no_allocation = 01 set_aennr = 02 change_nr_not_exist = 03 date_in_past = 04 error_class = 05 error_date_restriction = 06 error_status = 07.
CLAP_DDB_INIT_CLASSIFICATION CALL FUNCTION 'CLAP_DDB_INIT_CLASSIFICATION'.
GET_TPST_AOV CALL FUNCTION 'GET_TPST_AOV' EXPORTING no_buffer = cross
TABLES tpstb_tab = aux_tpstb_tab
CHANGING wa_tpstb_tab = aux_tpstb_wa
EXCEPTIONS call_invalid = 01 end_of_table = 02 key_incomplete = 03 key_invalid = 04 no_record_found = 05.
CS_ALT_SELECT_TPL CALL FUNCTION 'CS_ALT_SELECT_TPL' EXPORTING datuv = validfrom tplnr = funclocatnumber stlan = aux_tpstb_wa-stlan werks = aux_tpstb_wa-werks
TABLES tpstb_wa = aux_tpstb_tab1 stkob_wa = aux_stkob_tab stzub_wa = aux_stzub_tab
EXCEPTIONS bom_not_active = 01 bom_not_found = 02 no_alt_found = 03 no_bom_found = 04.
CA_BUILD_OBJECT_KEYFIELDSTRING CALL FUNCTION 'CA_BUILD_OBJECT_KEYFIELDSTRING' EXPORTING object_type = funclocat_objtp
IMPORTING objkey = aux_objkey
TABLES object_type_keyfield_values = obj_inst_key
EXCEPTIONS invalid_object_type_key_fields = 01 object_type_not_existent = 02.
SO_OBJECT_REFERENCES_IN_OFO CALL FUNCTION 'SO_OBJECT_REFERENCES_IN_OFO' EXPORTING object = aux_swotobjid owner = syst-uname
TABLES object_folder = aux_sood4.
BZID_TRANSMIT_APPL CALL FUNCTION 'BZID_TRANSMIT_APPL' EXPORTING appl = appl_0002.
BZID_GET_AKT_ID_INFO CALL FUNCTION 'BZID_GET_AKT_ID_INFO' EXPORTING appl = appl_0002
IMPORTING flg_setting = appl_0002_active.
BZID_SEARCH_WITH_ID_GROUP CALL FUNCTION 'BZID_SEARCH_WITH_ID_GROUP' EXPORTING appl = appl_0002 cont_field = aux_tplnr varid1 = aux_varid1
TABLES e_guid_range_t = aux_guid_tab
EXCEPTIONS no_such_field = 01 wrong_param = 02.
GET_STPO_VARIABLE CALL FUNCTION 'GET_STPO_VARIABLE' EXPORTING datuv = validfrom datub = validfrom valid = cross
TABLES wa = aux_stpob cond = aux_cond
EXCEPTIONS call_invalid = 01 key_incomplete = 02 no_record_found = 03.
FUNC_LOCATION_RFC_CREATE CALL FUNCTION 'FUNC_LOCATION_RFC_CREATE' EXPORTING superior_location = funclocatnumber
IMPORTING new_location = new_tplnr new_superior_location = superior_floc.
EQUIPMENT_RFC_CREATE CALL FUNCTION 'EQUIPMENT_RFC_CREATE' EXPORTING tplnr = funclocatnumber
IMPORTING new_equipment = new_equnr new_superior_equipment = superior_equi new_superior_location = superior_floc.
CALL FUNCTION 'FUNC_LOCATION_RFC_RENAME' EXPORTING source_location = funclocatnumber
IMPORTING popup_ok_code = aux_fcode
TABLES destination_locations = renamed_flocs.
FUNC_LOCATION_RFC_MOVE CALL FUNCTION 'FUNC_LOCATION_RFC_MOVE' EXPORTING source_location = funclocatnumber destination_location = i_superior_floc
IMPORTING new_source_location = aux_tplnr new_destination_location = aux_tplma_new old_superior_location = aux_tplma_old popup_ok_code = aux_fcode.
FUNC_LOCATION_RFC_COPYTREE CALL FUNCTION 'FUNC_LOCATION_RFC_COPYTREE' EXPORTING source_location = funclocatnumber superior_location = i_superior_floc
IMPORTING new_source_location = aux_tplnr new_superior_location = aux_tplma_new popup_itobcp = copy_options popup_ok_code = aux_fcode
TABLES old_2_new_destination_locs = aux_tplnr_trans old_2_new_equis = aux_equnr_trans.
EQUIPMENT_RFC_INSTALL CALL FUNCTION 'EQUIPMENT_RFC_INSTALL' EXPORTING source_equi = inst_eqinumber destination_iflo = funclocatnumber
IMPORTING new_source_equi = aux_equnr new_destination_equi = aux_equnr1 new_destination_iflo = aux_tplnr popup_ok_code = aux_fcode.
PM_OBJECT_RFC_ACTIVITY CALL FUNCTION 'PM_OBJECT_RFC_ACTIVITY' EXPORTING st_vrgng = y_st_vrgng_lvms tplnr = funclocatnumber
IMPORTING new_equnr = aux_equnr new_tplnr = aux_tplnr popup_ok_code = aux_fcode
TABLES equipments = aux_equnr_tab locations = aux_tplnr_tab.
PM_OBJECT_RFC_ACTIVITY CALL FUNCTION 'PM_OBJECT_RFC_ACTIVITY' EXPORTING st_vrgng = y_st_vrgng_lvmz tplnr = funclocatnumber
IMPORTING new_equnr = aux_equnr new_tplnr = aux_tplnr popup_ok_code = aux_fcode
TABLES equipments = aux_equnr_tab locations = aux_tplnr_tab.
PM_OBJECT_RFC_ACTIVITY CALL FUNCTION 'PM_OBJECT_RFC_ACTIVITY' EXPORTING st_vrgng = y_st_vrgng_inak tplnr = funclocatnumber
IMPORTING new_equnr = aux_equnr new_tplnr = aux_tplnr popup_ok_code = aux_fcode
TABLES equipments = aux_equnr_tab locations = aux_tplnr_tab.
PM_OBJECT_RFC_ACTIVITY CALL FUNCTION 'PM_OBJECT_RFC_ACTIVITY' EXPORTING st_vrgng = y_st_vrgng_inaz tplnr = funclocatnumber
IMPORTING new_equnr = aux_equnr new_tplnr = aux_tplnr popup_ok_code = aux_fcode
TABLES equipments = aux_equnr_tab locations = aux_tplnr_tab.
AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = tcode
EXCEPTIONS ok = 00 not_ok = 01.
AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = tcode
EXCEPTIONS ok = 00 not_ok = 01.
BAPI_DOCUMENT_CHANGE2 CALL FUNCTION 'BAPI_DOCUMENT_CHANGE2' EXPORTING documentnumber = document_inst->documentnumber documenttype = document_inst->documenttype documentpart = document_inst->documentpart documentversion = document_inst->documentversion documentdata = lcl_doc_data documentdatax = lcl_doc_datax
IMPORTING return = lcl_return
TABLES objectlinks = lcl_obj_links.
TCODE_INST_AUTHORITY_CHECK CALL FUNCTION 'TCODE_INST_AUTHORITY_CHECK' "647237 EXPORTING TCODE = tcode_il03 "647237 EXCEPTIONS OTHERS = 1. "647237
FUNC_LOCATION_READ CALL FUNCTION 'FUNC_LOCATION_READ' EXPORTING auth_check = flag_x auth_tcode = tcode_il03 buffer_bypass = flag_x no_other_language = flag_x spras = syst-langu tplnr = funclocatnumber
IMPORTING iflo_wa = aux_iflo pltxt = description
EXCEPTIONS iflot_not_found = 01 iloa_not_found = 02 no_authority = 03.
C_PDM_APPLY_FILTER_TO_OBJECT CALL FUNCTION 'C_PDM_APPLY_FILTER_TO_OBJECT' EXPORTING object_type = funclocat check_form = filter_funclocat_form check_program = filter_funclocat_program funclocat_data = aux_funclocat_data
IMPORTING check_ok = check_ok.
IMAS_CHECK_STATUS_MULTI CALL FUNCTION 'IMAS_CHECK_STATUS_MULTI' EXPORTING i_status_tab = aux_status_tab
CHANGING c_objnr_status_tab = aux_objnr_status_tab.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.
This will then be available for everyone to easily find by simply searching on the report name RCPDMCLASSFUNCLOCATIMP or its description.
RCPDMCLASSFUNCLOCATIMP - Implementation of ABAP class FUNCLOCAT RCPDMCLASSFUNCLOCATDEF - Definition of ABAP class FUNCLOCAT RCPDMCLASSEQUIPMENTIMP - Implementation of ABAP class EQUIPMENT RCPDMCLASSEQUIPMENTDEF - Definition of ABAP class EQUIPMENT RCPDMCLASSECMIMP - Implementation of ABAP class ECM RCPDMCLASSECMDEF - Definition of ABAP class ECM