SAP /ACCGO/BUILD_EXACT_MATCH_DATA Function Module for Build Exact match groups data for Wash out
/ACCGO/BUILD_EXACT_MATCH_DATA is a standard /accgo/build exact match data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Build Exact match groups data for Wash out 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 /accgo/build exact match data FM, simply by entering the name /ACCGO/BUILD_EXACT_MATCH_DATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: /ACCGO/CAS_STL_NS_UI
Program Name: /ACCGO/SAPLCAS_STL_NS_UI
Main Program: /ACCGO/SAPLCAS_STL_NS_UI
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function /ACCGO/BUILD_EXACT_MATCH_DATA 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 '/ACCGO/BUILD_EXACT_MATCH_DATA'"Build Exact match groups data for Wash out.
EXPORTING
* IM_CONTRACT_TYPE = "Contract Type
* IMT_EXACT_MATCH = "Boolean Variable (X=True, -=False, Space=Unknown)
IMT_COMITEM_SIDE1 = "Washout table type for BL layer
IMT_COMITEM_SIDE2 = "Washout table type for BL layer
* IMT_PRICING_LOTS = "Table Type for Pricing Aspect Communication Data
* IM_SEL_PARAMETER = "Selection data structure for Non Standard settlement
* IMT_CPE_DATA_LOTS = "Table type for CPE Data
IMPORTING
EXT_UNMATCHED_COMITEMS = "Washout Group BL
EX_LMATCH_REASON = "Loose match reason
CHANGING
* CHT_WASHOUT_GROUP_BL = "Washout Group BL
* CHT_PRICING_LOTS = "Table Type for Pricing Aspect Communication Data
IMPORTING Parameters details for /ACCGO/BUILD_EXACT_MATCH_DATA
IM_CONTRACT_TYPE - Contract Type
Data type: /ACCGO/E_CNTRCT_TYPEOptional: Yes
Call by Reference: Yes
IMT_EXACT_MATCH - Boolean Variable (X=True, -=False, Space=Unknown)
Data type: BOOLEANOptional: Yes
Call by Reference: Yes
IMT_COMITEM_SIDE1 - Washout table type for BL layer
Data type: /ACCGO/CAS_TT_NS_WASHOUT_BLOptional: No
Call by Reference: Yes
IMT_COMITEM_SIDE2 - Washout table type for BL layer
Data type: /ACCGO/CAS_TT_NS_WASHOUT_BLOptional: No
Call by Reference: Yes
IMT_PRICING_LOTS - Table Type for Pricing Aspect Communication Data
Data type: /ACCGO/PRC_TT_PRASP_COM_DATAOptional: Yes
Call by Reference: Yes
IM_SEL_PARAMETER - Selection data structure for Non Standard settlement
Data type: /ACCGO/CAS_S_NS_SEL_DATAOptional: Yes
Call by Reference: Yes
IMT_CPE_DATA_LOTS - Table type for CPE Data
Data type: /ACCGO/CAS_TT_CPE_DATAOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for /ACCGO/BUILD_EXACT_MATCH_DATA
EXT_UNMATCHED_COMITEMS - Washout Group BL
Data type: /ACCGO/CAS_TT_NS_WASHOUT_BLOptional: No
Call by Reference: Yes
EX_LMATCH_REASON - Loose match reason
Data type: CHAR256Optional: No
Call by Reference: Yes
CHANGING Parameters details for /ACCGO/BUILD_EXACT_MATCH_DATA
CHT_WASHOUT_GROUP_BL - Washout Group BL
Data type: /ACCGO/CAS_TT_NS_WASHOUT_GP_BLOptional: Yes
Call by Reference: Yes
CHT_PRICING_LOTS - Table Type for Pricing Aspect Communication Data
Data type: /ACCGO/PRC_TT_PRASP_COM_DATAOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for /ACCGO/BUILD_EXACT_MATCH_DATA 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_im_contract_type | TYPE /ACCGO/E_CNTRCT_TYPE, " | |||
lv_cht_washout_group_bl | TYPE /ACCGO/CAS_TT_NS_WASHOUT_GP_BL, " | |||
lv_ext_unmatched_comitems | TYPE /ACCGO/CAS_TT_NS_WASHOUT_BL, " | |||
lv_imt_exact_match | TYPE BOOLEAN, " | |||
lv_cht_pricing_lots | TYPE /ACCGO/PRC_TT_PRASP_COM_DATA, " | |||
lv_ex_lmatch_reason | TYPE CHAR256, " | |||
lv_imt_comitem_side1 | TYPE /ACCGO/CAS_TT_NS_WASHOUT_BL, " | |||
lv_imt_comitem_side2 | TYPE /ACCGO/CAS_TT_NS_WASHOUT_BL, " | |||
lv_imt_pricing_lots | TYPE /ACCGO/PRC_TT_PRASP_COM_DATA, " | |||
lv_im_sel_parameter | TYPE /ACCGO/CAS_S_NS_SEL_DATA, " | |||
lv_imt_cpe_data_lots | TYPE /ACCGO/CAS_TT_CPE_DATA. " |
  CALL FUNCTION '/ACCGO/BUILD_EXACT_MATCH_DATA' "Build Exact match groups data for Wash out |
EXPORTING | ||
IM_CONTRACT_TYPE | = lv_im_contract_type | |
IMT_EXACT_MATCH | = lv_imt_exact_match | |
IMT_COMITEM_SIDE1 | = lv_imt_comitem_side1 | |
IMT_COMITEM_SIDE2 | = lv_imt_comitem_side2 | |
IMT_PRICING_LOTS | = lv_imt_pricing_lots | |
IM_SEL_PARAMETER | = lv_im_sel_parameter | |
IMT_CPE_DATA_LOTS | = lv_imt_cpe_data_lots | |
IMPORTING | ||
EXT_UNMATCHED_COMITEMS | = lv_ext_unmatched_comitems | |
EX_LMATCH_REASON | = lv_ex_lmatch_reason | |
CHANGING | ||
CHT_WASHOUT_GROUP_BL | = lv_cht_washout_group_bl | |
CHT_PRICING_LOTS | = lv_cht_pricing_lots | |
. " /ACCGO/BUILD_EXACT_MATCH_DATA |
ABAP code using 7.40 inline data declarations to call FM /ACCGO/BUILD_EXACT_MATCH_DATA
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