SAP FRE_REO_ART_SITE_COMPARE_DATA Function Module for Compare 'FRE_DB_ART_SITE' data









FRE_REO_ART_SITE_COMPARE_DATA is a standard fre reo art site 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 'FRE_DB_ART_SITE' 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 fre reo art site compare data FM, simply by entering the name FRE_REO_ART_SITE_COMPARE_DATA into the relevant SAP transaction such as SE37 or SE38.

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



Function FRE_REO_ART_SITE_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_REO_ART_SITE_COMPARE_DATA'"Compare 'FRE_DB_ART_SITE' data
EXPORTING
IT_FIELD_LIST = "Collect the field definition for the check reports
IT_ART_SITE = "Article site combination with source marker
IT_DATA_AS_MARC = "FRE_DB_ART_SITE based on MARC
IT_DATA_AS_DBAS = "FRE_DB_ART_SITE based on FRE_DB_ART_SITE

CHANGING
CT_INCONS_AS = "Inconsistencies FRE_DB_ART_SITE - FRE_REO_ART_SITE
.



IMPORTING Parameters details for FRE_REO_ART_SITE_COMPARE_DATA

IT_FIELD_LIST - Collect the field definition for the check reports

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

IT_ART_SITE - Article site combination with source marker

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

IT_DATA_AS_MARC - FRE_DB_ART_SITE based on MARC

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

IT_DATA_AS_DBAS - FRE_DB_ART_SITE based on FRE_DB_ART_SITE

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

CHANGING Parameters details for FRE_REO_ART_SITE_COMPARE_DATA

CT_INCONS_AS - Inconsistencies FRE_DB_ART_SITE - FRE_REO_ART_SITE

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

Copy and paste ABAP code example for FRE_REO_ART_SITE_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_ct_incons_as  TYPE FRE_REO_ART_SITE_INCONS_AS_TTY, "   
lv_it_field_list  TYPE FRE_CHK_FIELD_LIST_TTY, "   
lv_it_art_site  TYPE FRE_REO_ART_SITE_ART_SITE_TTY, "   
lv_it_data_as_marc  TYPE FRE_REO_ART_SITE_DATA_AS_TTY, "   
lv_it_data_as_dbas  TYPE FRE_REO_ART_SITE_DATA_AS_TTY. "   

  CALL FUNCTION 'FRE_REO_ART_SITE_COMPARE_DATA'  "Compare 'FRE_DB_ART_SITE' data
    EXPORTING
         IT_FIELD_LIST = lv_it_field_list
         IT_ART_SITE = lv_it_art_site
         IT_DATA_AS_MARC = lv_it_data_as_marc
         IT_DATA_AS_DBAS = lv_it_data_as_dbas
    CHANGING
         CT_INCONS_AS = lv_ct_incons_as
. " FRE_REO_ART_SITE_COMPARE_DATA




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

 
 
 
 
 


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!