SAP SCPRMP_COMPARE_BCSET_LOCAL Function Module for
SCPRMP_COMPARE_BCSET_LOCAL is a standard scprmp compare bcset local SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 scprmp compare bcset local FM, simply by entering the name SCPRMP_COMPARE_BCSET_LOCAL into the relevant SAP transaction such as SE37 or SE38.
Function Group: SCPRMP
Program Name: SAPLSCPRMP
Main Program: SAPLSCPRMP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SCPRMP_COMPARE_BCSET_LOCAL 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 'SCPRMP_COMPARE_BCSET_LOCAL'".
EXPORTING
P_BCSET = "
* P_CALLING_REPORT = 'S' "
* P_DIALOG = 'X' "
* P_CATEGORY = ' ' "
* P_FAST_MODE = ' ' "
* P_MASTERCHECK = ' ' "
* P_PRINT_HEADER = ' ' "
* P_PRINT_OVERVIEW = ' ' "
* P_PRINT_WIDTH = 150 "
* P_CHECK_INCLUDED_FIELDS = ' ' "
* P_SYSTEM_SAP = 'X' "
CHANGING
PT_COMPARE = "
* P_MASTERLANGUAGE = "
* P_DATA_MODIFIED = ' ' "
* PT_ERRORS_DESCR = "
* PT_TABLEDESCR = "
* LT_RECA = "
* PT_VALS = "
* PT_VALL = "
* PWA_ATTR = "
* PT_LANGVECTOR = "
* PT_COMP_LANGVECTOR = "
* P_DIFFERENCE = "
IMPORTING Parameters details for SCPRMP_COMPARE_BCSET_LOCAL
P_BCSET -
Data type: SCPR_IDOptional: No
Call by Reference: No ( called with pass by value option)
P_CALLING_REPORT -
Data type: CHAR1Default: 'S'
Optional: Yes
Call by Reference: No ( called with pass by value option)
P_DIALOG -
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
P_CATEGORY -
Data type: SCPR_CTGRYDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
P_FAST_MODE -
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
P_MASTERCHECK -
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
P_PRINT_HEADER -
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
P_PRINT_OVERVIEW -
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
P_PRINT_WIDTH -
Data type: IDefault: 150
Optional: Yes
Call by Reference: No ( called with pass by value option)
P_CHECK_INCLUDED_FIELDS -
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
P_SYSTEM_SAP -
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for SCPRMP_COMPARE_BCSET_LOCAL
PT_COMPARE -
Data type: SCPRRECORD_COMP_TABOptional: No
Call by Reference: Yes
P_MASTERLANGUAGE -
Data type: SPRASOptional: Yes
Call by Reference: Yes
P_DATA_MODIFIED -
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: Yes
PT_ERRORS_DESCR -
Data type: SCPRGENERALERRORSOptional: Yes
Call by Reference: Yes
PT_TABLEDESCR -
Data type: SCPR_RECORDSOptional: Yes
Call by Reference: Yes
LT_RECA -
Data type: SCPRRECATABOptional: Yes
Call by Reference: Yes
PT_VALS -
Data type: SCPRVALSTABOptional: Yes
Call by Reference: Yes
PT_VALL -
Data type: SCPRVALLTABOptional: Yes
Call by Reference: Yes
PWA_ATTR -
Data type: SCPRATTROptional: Yes
Call by Reference: Yes
PT_LANGVECTOR -
Data type: SCPRLANGUAGESOptional: Yes
Call by Reference: Yes
PT_COMP_LANGVECTOR -
Data type: SCPRLANGUAGESOptional: Yes
Call by Reference: Yes
P_DIFFERENCE -
Data type: CHAR1Optional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for SCPRMP_COMPARE_BCSET_LOCAL 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_p_bcset | TYPE SCPR_ID, " | |||
| lv_pt_compare | TYPE SCPRRECORD_COMP_TAB, " | |||
| lv_p_calling_report | TYPE CHAR1, " 'S' | |||
| lv_p_masterlanguage | TYPE SPRAS, " | |||
| lv_p_dialog | TYPE CHAR1, " 'X' | |||
| lv_p_data_modified | TYPE CHAR1, " SPACE | |||
| lv_pt_errors_descr | TYPE SCPRGENERALERRORS, " | |||
| lv_p_category | TYPE SCPR_CTGRY, " SPACE | |||
| lv_pt_tabledescr | TYPE SCPR_RECORDS, " | |||
| lv_lt_reca | TYPE SCPRRECATAB, " | |||
| lv_p_fast_mode | TYPE CHAR1, " SPACE | |||
| lv_pt_vals | TYPE SCPRVALSTAB, " | |||
| lv_p_mastercheck | TYPE CHAR1, " SPACE | |||
| lv_pt_vall | TYPE SCPRVALLTAB, " | |||
| lv_p_print_header | TYPE CHAR1, " SPACE | |||
| lv_pwa_attr | TYPE SCPRATTR, " | |||
| lv_p_print_overview | TYPE CHAR1, " SPACE | |||
| lv_pt_langvector | TYPE SCPRLANGUAGES, " | |||
| lv_p_print_width | TYPE I, " 150 | |||
| lv_pt_comp_langvector | TYPE SCPRLANGUAGES, " | |||
| lv_p_check_included_fields | TYPE CHAR1, " SPACE | |||
| lv_p_difference | TYPE CHAR1, " | |||
| lv_p_system_sap | TYPE CHAR1. " 'X' |
|   CALL FUNCTION 'SCPRMP_COMPARE_BCSET_LOCAL' " |
| EXPORTING | ||
| P_BCSET | = lv_p_bcset | |
| P_CALLING_REPORT | = lv_p_calling_report | |
| P_DIALOG | = lv_p_dialog | |
| P_CATEGORY | = lv_p_category | |
| P_FAST_MODE | = lv_p_fast_mode | |
| P_MASTERCHECK | = lv_p_mastercheck | |
| P_PRINT_HEADER | = lv_p_print_header | |
| P_PRINT_OVERVIEW | = lv_p_print_overview | |
| P_PRINT_WIDTH | = lv_p_print_width | |
| P_CHECK_INCLUDED_FIELDS | = lv_p_check_included_fields | |
| P_SYSTEM_SAP | = lv_p_system_sap | |
| CHANGING | ||
| PT_COMPARE | = lv_pt_compare | |
| P_MASTERLANGUAGE | = lv_p_masterlanguage | |
| P_DATA_MODIFIED | = lv_p_data_modified | |
| PT_ERRORS_DESCR | = lv_pt_errors_descr | |
| PT_TABLEDESCR | = lv_pt_tabledescr | |
| LT_RECA | = lv_lt_reca | |
| PT_VALS | = lv_pt_vals | |
| PT_VALL | = lv_pt_vall | |
| PWA_ATTR | = lv_pwa_attr | |
| PT_LANGVECTOR | = lv_pt_langvector | |
| PT_COMP_LANGVECTOR | = lv_pt_comp_langvector | |
| P_DIFFERENCE | = lv_p_difference | |
| . " SCPRMP_COMPARE_BCSET_LOCAL | ||
ABAP code using 7.40 inline data declarations to call FM SCPRMP_COMPARE_BCSET_LOCAL
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_p_calling_report) | = 'S'. | |||
| DATA(ld_p_dialog) | = 'X'. | |||
| DATA(ld_p_data_modified) | = ' '. | |||
| DATA(ld_p_category) | = ' '. | |||
| DATA(ld_p_fast_mode) | = ' '. | |||
| DATA(ld_p_mastercheck) | = ' '. | |||
| DATA(ld_p_print_header) | = ' '. | |||
| DATA(ld_p_print_overview) | = ' '. | |||
| DATA(ld_p_print_width) | = 150. | |||
| DATA(ld_p_check_included_fields) | = ' '. | |||
| DATA(ld_p_system_sap) | = 'X'. | |||
Search for further information about these or an SAP related objects