SAP Reports / Programs | Supply Chain Management | SCM Basis(SCM-BAS) SAP SCM

ICF_SRC SAP ABAP INCLUDE - ICFSRC







ICF_SRC 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 ICF_SRC into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT ICF_SRC. "Basic submit
SUBMIT ICF_SRC AND RETURN. "Return to original report after report execution complete
SUBMIT ICF_SRC VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT ICF_SRC

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

CIF_MATERIAL_KEY_SELECTION CALL FUNCTION 'CIF_MATERIAL_KEY_SELECTION' EXPORTING read_mara_keys = g_true_con read_marc_keys = g_true_con TABLES in_matnr_range = sr_matnr * in_werks_range = sc_werks out_werks_list = lt_matwrk_src_key1 in_werks_list = lt_matwrk_key EXCEPTIONS OTHERS = 0.

CIF_MATERIAL_KEY_SELECTION CALL FUNCTION 'CIF_MATERIAL_KEY_SELECTION' EXPORTING read_mara_keys = g_true_con read_marc_keys = g_true_con TABLES in_matnr_range = sc_matnr in_werks_range = sc_werks out_werks_list = lt_matwrk_src_key2 in_werks_list = lt_matwrk_src_key1 EXCEPTIONS OTHERS = 0.

SRC_CONTRACT_KEY_SELECTION CALL FUNCTION 'SRC_CONTRACT_KEY_SELECTION' EXPORTING in_wplnt_chbox = sc_wplnt in_matsel_chbox = h_matsel "334840 TABLES in_ven_range = sr_lifnr in_ven_d_range = sc_lifnr in_mat_range = sr_matnr in_mat_d_range = sc_matnr in_reswk_range = sr_reswk in_reswk_d_range = sc_reswk in_ebeln_range = sc_ebeln in_bsart_range = sc_bsart in_pstyp_range = sc_pstyp in_werks_range = sc_werks out_contract_list = lt_keys" lt_contract_key out_contract_all = lt_contract_all " all contract data in_matwrk_key = lt_matwrk_src_key2 in_mat_ma_range = ma_matnr in_werks_ma_range = ma_werks in_mtart_range = ma_mtart "334840 in_mmsta_range = ma_mmsta "334840 in_dispo_range = ma_dispo "334840 in_dismm_range = ma_dismm "334840 in_abckz_range = ma_maabc "334840 EXCEPTIONS OTHERS = 0.

SRC_ADD_VENDORS_SELECT CALL FUNCTION 'SRC_ADD_VENDORS_SELECT' TABLES * IT_INFREC = it_contract = lt_contract_all * IT_DELSCHED = ct_vendor = lt_ven_key ct_plant = lt_plant_key EXCEPTIONS OTHERS = 0.

CIF_MATERIAL_KEY_SELECTION CALL FUNCTION 'CIF_MATERIAL_KEY_SELECTION' EXPORTING read_mara_keys = g_true_con read_marc_keys = g_true_con TABLES in_matnr_range = sr_matnr * in_werks_range = sc_werks out_werks_list = lt_matwrk_src_key1 in_werks_list = lt_matwrk_key EXCEPTIONS OTHERS = 0.

CIF_MATERIAL_KEY_SELECTION CALL FUNCTION 'CIF_MATERIAL_KEY_SELECTION' EXPORTING read_mara_keys = g_true_con read_marc_keys = g_true_con TABLES in_matnr_range = sp_matnr in_werks_range = sp_werks out_werks_list = lt_matwrk_src_key2 in_werks_list = lt_matwrk_src_key1 EXCEPTIONS OTHERS = 0.

NDI_SYSTEM_RELEASE CALL FUNCTION 'NDI_SYSTEM_RELEASE' EXPORTING if_logsys = i_logsys if_systyp = gc_apo_type_con IMPORTING ef_ndrel = lv_ndisysrel EXCEPTIONS not_found = 1 OTHERS = 2.

CO_XR_R3_RELEASE_GET CALL FUNCTION 'CO_XR_R3_RELEASE_GET' IMPORTING e_r3_release = lv_r3_release EXCEPTIONS OTHERS = 0.

SRC_DELSCHED_KEY_SELECTION CALL FUNCTION 'SRC_DELSCHED_KEY_SELECTION' EXPORTING in_matsel_chbox = h_matsel "334840 in_subcon_sa = lv_subcon_sa TABLES in_ven_range = sr_lifnr in_ven_d_range = sp_lifnr in_mat_range = sr_matnr in_mat_d_range = sp_matnr in_reswk_range = sr_reswk in_reswk_d_range = sp_reswk in_ebeln_range = sp_ebeln in_bsart_range = sp_bsart in_pstyp_range = sp_pstyp in_werks_range = sp_werks out_delsch_list = lt_keys"lt_delsch_key out_delsch_all = lt_delsch_all in_matwrk_key = lt_matwrk_src_key2 in_mat_ma_range = ma_matnr in_werks_ma_range = ma_werks in_mtart_range = ma_mtart "334840 in_mmsta_range = ma_mmsta "334840 in_dispo_range = ma_dispo "334840 in_dismm_range = ma_dismm "334840 in_abckz_range = ma_maabc "334840 EXCEPTIONS OTHERS = 0.

SRC_ADD_VENDORS_SELECT CALL FUNCTION 'SRC_ADD_VENDORS_SELECT' TABLES * IT_INFREC = * it_contract = it_delsched = lt_delsch_all ct_vendor = lt_ven_key ct_plant = lt_plant_key EXCEPTIONS OTHERS = 0.

CIF_MATERIAL_KEY_SELECTION CALL FUNCTION 'CIF_MATERIAL_KEY_SELECTION' EXPORTING read_mara_keys = g_true_con read_marc_keys = g_true_con TABLES in_matnr_range = sr_matnr * in_werks_range = sc_werks out_werks_list = lt_matwrk_src_key1 in_werks_list = lt_matwrk_key EXCEPTIONS OTHERS = 0.

CIF_MATERIAL_KEY_SELECTION CALL FUNCTION 'CIF_MATERIAL_KEY_SELECTION' EXPORTING read_mara_keys = g_true_con read_marc_keys = g_true_con TABLES in_matnr_range = si_matnr in_werks_range = si_werks out_werks_list = lt_matwrk_src_key2 in_werks_list = lt_matwrk_src_key1 EXCEPTIONS OTHERS = 0.

SRC_INFREC_KEY_SELECTION CALL FUNCTION 'SRC_INFREC_KEY_SELECTION' EXPORTING in_norm_chbox = si_norm in_subc_chbox = si_subc in_cons_chbox = si_cons in_matsel_chbox = h_matsel "334840 TABLES in_infnr_range = si_infnr in_ven_range = sr_lifnr in_ven_d_range = si_lifnr in_mat_range = sr_matnr in_mat_d_range = si_matnr in_ekorg_range = si_ekorg in_werks_range = si_werks out_infrec_list = lt_keys"lt_INFREC_key out_infrec_all = lt_infrec_all in_matwrk_key = lt_matwrk_src_key2 in_mat_ma_range = ma_matnr in_werks_ma_range = ma_werks in_mtart_range = ma_mtart "334840 in_mmsta_range = ma_mmsta "334840 in_dispo_range = ma_dispo "334840 in_dismm_range = ma_dismm "334840 in_abckz_range = ma_maabc "334840 EXCEPTIONS OTHERS = 0.

WY_LFA1_SINGLE_READ CALL FUNCTION 'WY_LFA1_SINGLE_READ' EXPORTING pi_lifnr = ls_infrec_all-lifnr IMPORTING po_lfa1 = h_lfa1 EXCEPTIONS no_records_found = 1 OTHERS = 2.

SRC_ADD_VENDORS_SELECT CALL FUNCTION 'SRC_ADD_VENDORS_SELECT' TABLES it_infrec = lt_infrec_all * it_contract = * it_delsched = ct_vendor = lt_ven_key ct_plant = lt_plant_key EXCEPTIONS OTHERS = 0.



Contribute (Add Comments)

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 ICF_SRC or its description.