SAP FMFG_UPDATE_SHADOW_TABLES Function Module for Set shadow tables for CCR data
FMFG_UPDATE_SHADOW_TABLES is a standard fmfg update shadow tables SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Set shadow tables for CCR data 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 fmfg update shadow tables FM, simply by entering the name FMFG_UPDATE_SHADOW_TABLES into the relevant SAP transaction such as SE37 or SE38.
Function Group: FMFG_CCR_SERVICES
Program Name: SAPLFMFG_CCR_SERVICES
Main Program: SAPLFMFG_CCR_SERVICES
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update: 1

Function FMFG_UPDATE_SHADOW_TABLES 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 'FMFG_UPDATE_SHADOW_TABLES'"Set shadow tables for CCR data.
EXPORTING
I_T_CCRVENDOR_HDR = "PSM-FG: Table type for CCR Vendor Table
* I_T_CCRVENDOR_PROC = "PSM-FG: Table Type for Admin, civil or criminal proceedings
I_T_CCRVENDOR_POC = "Table Type for CCR Vendor Points of Contact
I_T_CCRVENDOR_CORP = "PSM-FG: Table Type for CCR Vendor Corporate Information
I_T_CCRVENDOR_GS = "PSM-FG: Table Type for Goods and Services
* I_T_CCRVENDOR_FLGS = "PSM-FG: Table type for CCR Vendor Flags
* I_T_CCRVENDOR_EXTC = "PSM-FG: Table type for CCR Vendor External Certifications
* I_T_CCRVENDOR_DISR = "PSM-FG: Table type for Disaster Resp Contractor Areas Served
* I_T_CCRVENDOR_NUMS = "PSM-FG: Table type for CCR Numerics
* I_T_CCRVENDOR_EXEC = "PSM-FG: Table Type for CCR Executive Compensation
IMPORTING Parameters details for FMFG_UPDATE_SHADOW_TABLES
I_T_CCRVENDOR_HDR - PSM-FG: Table type for CCR Vendor Table
Data type: FM_T_CCRVENDOR_HDROptional: No
Call by Reference: No ( called with pass by value option)
I_T_CCRVENDOR_PROC - PSM-FG: Table Type for Admin, civil or criminal proceedings
Data type: FM_T_CCRVENDOR_PROCOptional: Yes
Call by Reference: No ( called with pass by value option)
I_T_CCRVENDOR_POC - Table Type for CCR Vendor Points of Contact
Data type: FM_T_CCRTVENDORPOCOptional: No
Call by Reference: No ( called with pass by value option)
I_T_CCRVENDOR_CORP - PSM-FG: Table Type for CCR Vendor Corporate Information
Data type: FM_T_CCRVENDOR_CORPOptional: No
Call by Reference: No ( called with pass by value option)
I_T_CCRVENDOR_GS - PSM-FG: Table Type for Goods and Services
Data type: FM_T_CCRVENDOR_GSOptional: No
Call by Reference: No ( called with pass by value option)
I_T_CCRVENDOR_FLGS - PSM-FG: Table type for CCR Vendor Flags
Data type: FM_T_CCRVENDOR_FLGSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_T_CCRVENDOR_EXTC - PSM-FG: Table type for CCR Vendor External Certifications
Data type: FM_T_CCRVENDOR_EXTCOptional: Yes
Call by Reference: No ( called with pass by value option)
I_T_CCRVENDOR_DISR - PSM-FG: Table type for Disaster Resp Contractor Areas Served
Data type: FM_T_CCRVENDOR_DISROptional: Yes
Call by Reference: No ( called with pass by value option)
I_T_CCRVENDOR_NUMS - PSM-FG: Table type for CCR Numerics
Data type: FM_T_CCRVENDOR_NUMSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_T_CCRVENDOR_EXEC - PSM-FG: Table Type for CCR Executive Compensation
Data type: FM_T_CCRVENDOR_EXECOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FMFG_UPDATE_SHADOW_TABLES 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_t_ccrvendor_hdr | TYPE FM_T_CCRVENDOR_HDR, " | |||
| lv_i_t_ccrvendor_proc | TYPE FM_T_CCRVENDOR_PROC, " | |||
| lv_i_t_ccrvendor_poc | TYPE FM_T_CCRTVENDORPOC, " | |||
| lv_i_t_ccrvendor_corp | TYPE FM_T_CCRVENDOR_CORP, " | |||
| lv_i_t_ccrvendor_gs | TYPE FM_T_CCRVENDOR_GS, " | |||
| lv_i_t_ccrvendor_flgs | TYPE FM_T_CCRVENDOR_FLGS, " | |||
| lv_i_t_ccrvendor_extc | TYPE FM_T_CCRVENDOR_EXTC, " | |||
| lv_i_t_ccrvendor_disr | TYPE FM_T_CCRVENDOR_DISR, " | |||
| lv_i_t_ccrvendor_nums | TYPE FM_T_CCRVENDOR_NUMS, " | |||
| lv_i_t_ccrvendor_exec | TYPE FM_T_CCRVENDOR_EXEC. " |
|   CALL FUNCTION 'FMFG_UPDATE_SHADOW_TABLES' "Set shadow tables for CCR data |
| EXPORTING | ||
| I_T_CCRVENDOR_HDR | = lv_i_t_ccrvendor_hdr | |
| I_T_CCRVENDOR_PROC | = lv_i_t_ccrvendor_proc | |
| I_T_CCRVENDOR_POC | = lv_i_t_ccrvendor_poc | |
| I_T_CCRVENDOR_CORP | = lv_i_t_ccrvendor_corp | |
| I_T_CCRVENDOR_GS | = lv_i_t_ccrvendor_gs | |
| I_T_CCRVENDOR_FLGS | = lv_i_t_ccrvendor_flgs | |
| I_T_CCRVENDOR_EXTC | = lv_i_t_ccrvendor_extc | |
| I_T_CCRVENDOR_DISR | = lv_i_t_ccrvendor_disr | |
| I_T_CCRVENDOR_NUMS | = lv_i_t_ccrvendor_nums | |
| I_T_CCRVENDOR_EXEC | = lv_i_t_ccrvendor_exec | |
| . " FMFG_UPDATE_SHADOW_TABLES | ||
ABAP code using 7.40 inline data declarations to call FM FMFG_UPDATE_SHADOW_TABLES
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