SAP FRE_SOS_CHK_COMPARE_DATA Function Module for Compare transportation lane data - FRE_CHECK_SUPPLY_NET









FRE_SOS_CHK_COMPARE_DATA is a standard fre sos chk compare 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 Compare transportation lane data - FRE_CHECK_SUPPLY_NET 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 fre sos chk compare data FM, simply by entering the name FRE_SOS_CHK_COMPARE_DATA into the relevant SAP transaction such as SE37 or SE38.

Function Group: FRE_SUPPORT_TOOLS
Program Name: SAPLFRE_SUPPORT_TOOLS
Main Program: SAPLFRE_SUPPORT_TOOLS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function FRE_SOS_CHK_COMPARE_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 'FRE_SOS_CHK_COMPARE_DATA'"Compare transportation lane data - FRE_CHECK_SUPPLY_NET
EXPORTING
* IF_ROUNDING = 'X' "Consider rounding effects
* IT_TRPROD_FRE = "Fre Transportation Lane for Products
* IT_TPSRC_ERP = "fre External Procurement data incl ISO fields
* IT_TPSRC_FRE = "fre External Procurement data incl ISO fields
* IT_CSCALE_ERP = "Fre Price Information for external proc incl ISO fields
* IT_CSCALE_FRE = "Fre Price Information for external proc incl ISO fields
* IT_TRPROD2_ERP = "F&R Data Interface Transportation Lane for Subranges
* IT_TRPROD2_FRE = "F&R Data Interface Transportation Lane for Subranges
* IT_TRPROD2TD_ERP = "F&R Data Interface Transportation Lane for Subranges TD
* IT_TRPROD2TD_FRE = "F&R Data Interface Transportation Lane for Subranges TD
IT_FIELD_LIST = "Field List - FRE_CHECK_SUPPLY_NET
* IT_LANE_ERP = "Lanes Data for Communication with FRE
* IT_LANE_FRE = "Lanes Data for Communication with FRE
* IT_LANETD_ERP = "Time Dependent Lanes Data for Comminication with FRE
* IT_LANETD_FRE = "Time Dependent Lanes Data for Comminication with FRE
* IT_PCOST_ERP = "Fre Price Information for external proc incl ISO fields
* IT_PCOST_FRE = "Fre Price Information for external proc incl ISO fields
* IT_TRPROD_ERP = "Fre Transportation Lane for Products

CHANGING
CT_INCONS_LANE = "Inconsistencies LANE - FRE_CHECK_SUPPLY_NET
CT_INCONS_LANETD = "Inconsistencies LANETD - FRE_CHECK_SUPPLY_NET
CT_INCONS_PCOST = "Inconsistencies PCOST - FRE_CHECK_SUPPLY_NET
CT_INCONS_TRPROD = "Inconsistencies TRPROD - FRE_CHECK_SUPPLY_NET
CT_INCONS_TPSRC = "Inconsistencies TPSRC - FRE_CHECK_SUPPLY_NET
CT_INCONS_CSCALE = "Inconsistencies CSCALE - FRE_CHECK_SUPPLY_NET
CT_INCONS_TRPROD2 = "Inconsistencies TRPROD2 - FRE_CHECK_SUPPLY_NET
CT_INCONS_TRPROD2TD = "Inconsistencies TRPROD2TD - FRE_CHECK_SUPPLY_NET
.



IMPORTING Parameters details for FRE_SOS_CHK_COMPARE_DATA

IF_ROUNDING - Consider rounding effects

Data type: FRE_CHK_CONS_ROUNDING
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_TRPROD_FRE - Fre Transportation Lane for Products

Data type: FRE_MD_TRPROD_TTY_50
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_TPSRC_ERP - fre External Procurement data incl ISO fields

Data type: FRE_MD_TPSRC_TTY_50
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_TPSRC_FRE - fre External Procurement data incl ISO fields

Data type: FRE_MD_TPSRC_TTY_50
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_CSCALE_ERP - Fre Price Information for external proc incl ISO fields

Data type: FRE_MD_CSCALE_TTY_50
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_CSCALE_FRE - Fre Price Information for external proc incl ISO fields

Data type: FRE_MD_CSCALE_TTY_50
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_TRPROD2_ERP - F&R Data Interface Transportation Lane for Subranges

Data type: FRE_MD_TRPROD2_TTY_50
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_TRPROD2_FRE - F&R Data Interface Transportation Lane for Subranges

Data type: FRE_MD_TRPROD2_TTY_50
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_TRPROD2TD_ERP - F&R Data Interface Transportation Lane for Subranges TD

Data type: FRE_MD_TRP2TD_TTY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_TRPROD2TD_FRE - F&R Data Interface Transportation Lane for Subranges TD

Data type: FRE_MD_TRP2TD_TTY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_FIELD_LIST - Field List - FRE_CHECK_SUPPLY_NET

Data type: FRE_CHK_FIELD_LIST_TTY
Optional: No
Call by Reference: No ( called with pass by value option)

IT_LANE_ERP - Lanes Data for Communication with FRE

Data type: FRE_MD_LANE_TTY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_LANE_FRE - Lanes Data for Communication with FRE

Data type: FRE_MD_LANE_TTY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_LANETD_ERP - Time Dependent Lanes Data for Comminication with FRE

Data type: FRE_MD_LANE_TD_TTY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_LANETD_FRE - Time Dependent Lanes Data for Comminication with FRE

Data type: FRE_MD_LANE_TD_TTY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_PCOST_ERP - Fre Price Information for external proc incl ISO fields

Data type: FRE_MD_PCOST_TTY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_PCOST_FRE - Fre Price Information for external proc incl ISO fields

Data type: FRE_MD_PCOST_TTY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_TRPROD_ERP - Fre Transportation Lane for Products

Data type: FRE_MD_TRPROD_TTY_50
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for FRE_SOS_CHK_COMPARE_DATA

CT_INCONS_LANE - Inconsistencies LANE - FRE_CHECK_SUPPLY_NET

Data type: FRE_SOS_CHK_INCONS_LANE_TTY
Optional: No
Call by Reference: No ( called with pass by value option)

CT_INCONS_LANETD - Inconsistencies LANETD - FRE_CHECK_SUPPLY_NET

Data type: FRE_SOS_CHK_INCONS_LANETD_TTY
Optional: No
Call by Reference: No ( called with pass by value option)

CT_INCONS_PCOST - Inconsistencies PCOST - FRE_CHECK_SUPPLY_NET

Data type: FRE_SOS_CHK_INCONS_PCOST_TTY
Optional: No
Call by Reference: No ( called with pass by value option)

CT_INCONS_TRPROD - Inconsistencies TRPROD - FRE_CHECK_SUPPLY_NET

Data type: FRE_SOS_CHK_INCONS_TRPROD_TTY
Optional: No
Call by Reference: No ( called with pass by value option)

CT_INCONS_TPSRC - Inconsistencies TPSRC - FRE_CHECK_SUPPLY_NET

Data type: FRE_SOS_CHK_INCONS_TPSRC_TTY
Optional: No
Call by Reference: No ( called with pass by value option)

CT_INCONS_CSCALE - Inconsistencies CSCALE - FRE_CHECK_SUPPLY_NET

Data type: FRE_SOS_CHK_INCONS_CSCALE_TTY
Optional: No
Call by Reference: No ( called with pass by value option)

CT_INCONS_TRPROD2 - Inconsistencies TRPROD2 - FRE_CHECK_SUPPLY_NET

Data type: FRE_SOS_CHK_INCONS_TRPR2_TTY
Optional: No
Call by Reference: No ( called with pass by value option)

CT_INCONS_TRPROD2TD - Inconsistencies TRPROD2TD - FRE_CHECK_SUPPLY_NET

Data type: FRE_SOS_CHK_INCONS_TRPR2TD_TTY
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for FRE_SOS_CHK_COMPARE_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_if_rounding  TYPE FRE_CHK_CONS_ROUNDING, "   'X'
lv_ct_incons_lane  TYPE FRE_SOS_CHK_INCONS_LANE_TTY, "   
lv_it_trprod_fre  TYPE FRE_MD_TRPROD_TTY_50, "   
lv_it_tpsrc_erp  TYPE FRE_MD_TPSRC_TTY_50, "   
lv_it_tpsrc_fre  TYPE FRE_MD_TPSRC_TTY_50, "   
lv_it_cscale_erp  TYPE FRE_MD_CSCALE_TTY_50, "   
lv_it_cscale_fre  TYPE FRE_MD_CSCALE_TTY_50, "   
lv_it_trprod2_erp  TYPE FRE_MD_TRPROD2_TTY_50, "   
lv_it_trprod2_fre  TYPE FRE_MD_TRPROD2_TTY_50, "   
lv_it_trprod2td_erp  TYPE FRE_MD_TRP2TD_TTY, "   
lv_it_trprod2td_fre  TYPE FRE_MD_TRP2TD_TTY, "   
lv_it_field_list  TYPE FRE_CHK_FIELD_LIST_TTY, "   
lv_ct_incons_lanetd  TYPE FRE_SOS_CHK_INCONS_LANETD_TTY, "   
lv_it_lane_erp  TYPE FRE_MD_LANE_TTY, "   
lv_ct_incons_pcost  TYPE FRE_SOS_CHK_INCONS_PCOST_TTY, "   
lv_it_lane_fre  TYPE FRE_MD_LANE_TTY, "   
lv_ct_incons_trprod  TYPE FRE_SOS_CHK_INCONS_TRPROD_TTY, "   
lv_it_lanetd_erp  TYPE FRE_MD_LANE_TD_TTY, "   
lv_ct_incons_tpsrc  TYPE FRE_SOS_CHK_INCONS_TPSRC_TTY, "   
lv_it_lanetd_fre  TYPE FRE_MD_LANE_TD_TTY, "   
lv_ct_incons_cscale  TYPE FRE_SOS_CHK_INCONS_CSCALE_TTY, "   
lv_it_pcost_erp  TYPE FRE_MD_PCOST_TTY, "   
lv_ct_incons_trprod2  TYPE FRE_SOS_CHK_INCONS_TRPR2_TTY, "   
lv_it_pcost_fre  TYPE FRE_MD_PCOST_TTY, "   
lv_ct_incons_trprod2td  TYPE FRE_SOS_CHK_INCONS_TRPR2TD_TTY, "   
lv_it_trprod_erp  TYPE FRE_MD_TRPROD_TTY_50. "   

  CALL FUNCTION 'FRE_SOS_CHK_COMPARE_DATA'  "Compare transportation lane data - FRE_CHECK_SUPPLY_NET
    EXPORTING
         IF_ROUNDING = lv_if_rounding
         IT_TRPROD_FRE = lv_it_trprod_fre
         IT_TPSRC_ERP = lv_it_tpsrc_erp
         IT_TPSRC_FRE = lv_it_tpsrc_fre
         IT_CSCALE_ERP = lv_it_cscale_erp
         IT_CSCALE_FRE = lv_it_cscale_fre
         IT_TRPROD2_ERP = lv_it_trprod2_erp
         IT_TRPROD2_FRE = lv_it_trprod2_fre
         IT_TRPROD2TD_ERP = lv_it_trprod2td_erp
         IT_TRPROD2TD_FRE = lv_it_trprod2td_fre
         IT_FIELD_LIST = lv_it_field_list
         IT_LANE_ERP = lv_it_lane_erp
         IT_LANE_FRE = lv_it_lane_fre
         IT_LANETD_ERP = lv_it_lanetd_erp
         IT_LANETD_FRE = lv_it_lanetd_fre
         IT_PCOST_ERP = lv_it_pcost_erp
         IT_PCOST_FRE = lv_it_pcost_fre
         IT_TRPROD_ERP = lv_it_trprod_erp
    CHANGING
         CT_INCONS_LANE = lv_ct_incons_lane
         CT_INCONS_LANETD = lv_ct_incons_lanetd
         CT_INCONS_PCOST = lv_ct_incons_pcost
         CT_INCONS_TRPROD = lv_ct_incons_trprod
         CT_INCONS_TPSRC = lv_ct_incons_tpsrc
         CT_INCONS_CSCALE = lv_ct_incons_cscale
         CT_INCONS_TRPROD2 = lv_ct_incons_trprod2
         CT_INCONS_TRPROD2TD = lv_ct_incons_trprod2td
. " FRE_SOS_CHK_COMPARE_DATA




ABAP code using 7.40 inline data declarations to call FM FRE_SOS_CHK_COMPARE_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.

DATA(ld_if_rounding) = 'X'.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!