SAP Reports / Programs

SFW_COMPARE_VERSIONS SAP ABAP Report - SFW Objects: Compare Versions







SFW_COMPARE_VERSIONS is a standard Executable ABAP Report 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 SFW_COMPARE_VERSIONS 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 SFW_COMPARE_VERSIONS. "Basic submit
SUBMIT SFW_COMPARE_VERSIONS AND RETURN. "Return to original report after report execution complete
SUBMIT SFW_COMPARE_VERSIONS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: SFW Objects: Compare Versions
Text Symbol: V01 = Version
Text Symbol: V02 = From
Text Symbol: V03 = Header
Text Symbol: V04 = Assigned Business Functions
Text Symbol: V05 = Dependent Business Functions
Text Symbol: V06 = Excluded Business Functions
Text Symbol: V07 = Assigned Business Sets
Text Symbol: V08 = Assigned Switches
Text Symbol: V09 = Superordinate Business Sets
Text Symbol: V10 = Hidden Business Functions
Text Symbol: V11 = Assigned Packages
Text Symbol: V12 = Information
Text Symbol: V13 = Knowledge Warehouse
Text Symbol: V14 = Release Notes
Text Symbol: V15 = Test Catalog
Text Symbol: V16 = Test Catalog (Customer)


INCLUDES used within this REPORT SFW_COMPARE_VERSIONS

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:

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'SFW_SWITCH' * FIELDNAME = ' ' * LANGU = SY-LANGU * LFIELDNAME = ' ' * ALL_TYPES = ' ' * GROUP_NAMES = ' ' * UCLEN = * DO_NOT_WRITE = ' ' * IMPORTING * X030L_WA = * DDOBJTYPE = * DFIES_WA = * LINES_DESCR = TABLES dfies_tab = l_dfies * FIXED_VALUES = EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3 .

ENH_COMPARE_ITABS CALL FUNCTION 'ENH_COMPARE_ITABS' EXPORTING it_key_fields = l_keys_it it_cmp_fields_excl = l_excl_it it_tab_old = l_sfw_sw_l it_tab_new = l_sfw_sw_r IMPORTING result = l_compare_result.

ENH_COMPARE_ITABS CALL FUNCTION 'ENH_COMPARE_ITABS' EXPORTING it_key_fields = l_keys_it it_cmp_fields_excl = l_excl_it it_tab_old = l_bfunc_output_l it_tab_new = l_bfunc_output_r IMPORTING result = l_compare_result.

ENH_COMPARE_ITABS CALL FUNCTION 'ENH_COMPARE_ITABS' EXPORTING it_key_fields = l_keys_it it_cmp_fields_excl = l_excl_it it_tab_old = l_packages_output_l it_tab_new = l_packages_output_r IMPORTING result = l_compare_result.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'SFW_BF' * FIELDNAME = ' ' * LANGU = SY-LANGU * LFIELDNAME = ' ' * ALL_TYPES = ' ' * GROUP_NAMES = ' ' * UCLEN = * DO_NOT_WRITE = ' ' * IMPORTING * X030L_WA = * DDOBJTYPE = * DFIES_WA = * LINES_DESCR = TABLES dfies_tab = l_dfies * FIXED_VALUES = EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3 .

ENH_COMPARE_ITABS CALL FUNCTION 'ENH_COMPARE_ITABS' EXPORTING it_key_fields = l_keys_it it_cmp_fields_excl = l_excl_it it_tab_old = l_sfw_bf_l it_tab_new = l_sfw_bf_r IMPORTING result = l_compare_result.

ENH_COMPARE_ITABS CALL FUNCTION 'ENH_COMPARE_ITABS' EXPORTING it_key_fields = l_keys_it it_cmp_fields_excl = l_excl_it it_tab_old = l_switches_output_l it_tab_new = l_switches_output_r IMPORTING result = l_compare_result.

ENH_COMPARE_ITABS CALL FUNCTION 'ENH_COMPARE_ITABS' EXPORTING it_key_fields = l_keys_it it_cmp_fields_excl = l_excl_it it_tab_old = l_bfunc_output_l it_tab_new = l_bfunc_output_r IMPORTING result = l_compare_result.

ENH_COMPARE_ITABS CALL FUNCTION 'ENH_COMPARE_ITABS' EXPORTING it_key_fields = l_keys_it it_cmp_fields_excl = l_excl_it it_tab_old = l_bfunc_output_l it_tab_new = l_bfunc_output_r IMPORTING result = l_compare_result.

ENH_COMPARE_ITABS CALL FUNCTION 'ENH_COMPARE_ITABS' EXPORTING it_key_fields = l_keys_it it_cmp_fields_excl = l_excl_it it_tab_old = l_bsets_output_l it_tab_new = l_bsets_output_r IMPORTING result = l_compare_result.

ENH_COMPARE_ITABS CALL FUNCTION 'ENH_COMPARE_ITABS' EXPORTING it_key_fields = l_keys_it it_cmp_fields_excl = l_excl_it it_tab_old = l_content_entry_kw_l it_tab_new = l_content_entry_kw_r IMPORTING result = l_compare_result.

ENH_COMPARE_ITABS CALL FUNCTION 'ENH_COMPARE_ITABS' EXPORTING it_key_fields = l_keys_it it_cmp_fields_excl = l_excl_it it_tab_old = l_content_entry_rn_l it_tab_new = l_content_entry_rn_r IMPORTING result = l_compare_result.

ENH_COMPARE_ITABS CALL FUNCTION 'ENH_COMPARE_ITABS' EXPORTING it_key_fields = l_keys_it it_cmp_fields_excl = l_excl_it it_tab_old = l_content_entry_tc_l it_tab_new = l_content_entry_tc_r IMPORTING result = l_compare_result.

ENH_COMPARE_ITABS CALL FUNCTION 'ENH_COMPARE_ITABS' EXPORTING it_key_fields = l_keys_it it_cmp_fields_excl = l_excl_it it_tab_old = l_content_entry_tc_c_l it_tab_new = l_content_entry_tc_c_r IMPORTING result = l_compare_result.

SVRS_GET_VERSION_SFBF_40 CALL FUNCTION 'SVRS_GET_VERSION_SFBF_40' EXPORTING destination = destination object_name = object_name versno = objversion TABLES bf_tab = bf_tab bft_tab = bft_tab bfckw_tab = bfckw_tab bfcrn_tab = bfcrn_tab bfctc_tab = bfctc_tab swbf_tab = version_switches bsbf_tab = bsbf_tab bfdep_tab = bf_depend EXCEPTIONS no_version = 1 system_failure = 2 communication_failure = 3 OTHERS = 4.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'SFW_BS' * FIELDNAME = ' ' * LANGU = SY-LANGU * LFIELDNAME = ' ' * ALL_TYPES = ' ' * GROUP_NAMES = ' ' * UCLEN = * DO_NOT_WRITE = ' ' * IMPORTING * X030L_WA = * DDOBJTYPE = * DFIES_WA = * LINES_DESCR = TABLES dfies_tab = l_dfies * FIXED_VALUES = EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3 .

ENH_COMPARE_ITABS CALL FUNCTION 'ENH_COMPARE_ITABS' EXPORTING it_key_fields = l_keys_it it_cmp_fields_excl = l_excl_it it_tab_old = l_sfw_bs_l it_tab_new = l_sfw_bs_r IMPORTING result = l_compare_result.

ENH_COMPARE_ITABS CALL FUNCTION 'ENH_COMPARE_ITABS' EXPORTING it_key_fields = l_keys_it it_cmp_fields_excl = l_excl_it it_tab_old = l_bfunc_output_l it_tab_new = l_bfunc_output_r IMPORTING result = l_compare_result.

ENH_COMPARE_ITABS





CALL FUNCTION 'ENH_COMPARE_ITABS' EXPORTING it_key_fields = l_keys_it it_cmp_fields_excl = l_excl_it it_tab_old = l_bfunc_output_l it_tab_new = l_bfunc_output_r IMPORTING result = l_compare_result.

ENH_COMPARE_ITABS CALL FUNCTION 'ENH_COMPARE_ITABS' EXPORTING it_key_fields = l_keys_it it_cmp_fields_excl = l_excl_it it_tab_old = l_bsets_output_l it_tab_new = l_bsets_output_r IMPORTING result = l_compare_result.

ENH_COMPARE_ITABS CALL FUNCTION 'ENH_COMPARE_ITABS' EXPORTING it_key_fields = l_keys_it it_cmp_fields_excl = l_excl_it it_tab_old = l_bsets_output_l it_tab_new = l_bsets_output_r IMPORTING result = l_compare_result.



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