SAP SCPR_CHECK_BCS_DATA_STATUS Function Module for
SCPR_CHECK_BCS_DATA_STATUS is a standard scpr check bcs data status 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 scpr check bcs data status FM, simply by entering the name SCPR_CHECK_BCS_DATA_STATUS into the relevant SAP transaction such as SE37 or SE38.
Function Group: SCPRCHECK
Program Name: SAPLSCPRCHECK
Main Program: SAPLSCPRCHECK
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SCPR_CHECK_BCS_DATA_STATUS 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 'SCPR_CHECK_BCS_DATA_STATUS'".
EXPORTING
BCSET_ID = "
* CATEGORY = ' ' "
* CLI_DEP = ' ' "
* CLI_CAS = ' ' "
ORGID = "
BCSET_RECATTR = "
BCSET_VALUES = "
BCSET_VALUESL = "
IMPORTING
CHECK_RESULTS = "
SCENARIO_DETAILS = "
ACT_ADMIN_INFOS = "
OBJ_ADMIN_INFOS = "
CHECKED_BCS_OBJECTS = "
CHECKED_BCS_TABLES = "
DENIED_BCS_OBJECTS = "
DENIED_BCS_TABLES = "
DENIED_BCS_FIELDS = "
DENIED_BCS_RECORDS = "
MISSING_BCS_TABLES = "
ADDITIONAL_BCS_TABLES = "
IMPORTING Parameters details for SCPR_CHECK_BCS_DATA_STATUS
BCSET_ID -
Data type: SCPR_IDOptional: No
Call by Reference: Yes
CATEGORY -
Data type: SCPR_CTGRYDefault: SPACE
Optional: Yes
Call by Reference: Yes
CLI_DEP -
Data type: SCPR_CLDEPDefault: SPACE
Optional: Yes
Call by Reference: Yes
CLI_CAS -
Data type: SCPR_CLCASDefault: SPACE
Optional: Yes
Call by Reference: Yes
ORGID -
Data type: SCPR_ORGIDOptional: No
Call by Reference: Yes
BCSET_RECATTR -
Data type: SCPR_RECA_TABOptional: No
Call by Reference: Yes
BCSET_VALUES -
Data type: SCPR_VALS_TABOptional: No
Call by Reference: Yes
BCSET_VALUESL -
Data type: SCPR_VALL_TABOptional: No
Call by Reference: Yes
EXPORTING Parameters details for SCPR_CHECK_BCS_DATA_STATUS
CHECK_RESULTS -
Data type: SCP1_GENERAL_ERRORSOptional: No
Call by Reference: Yes
SCENARIO_DETAILS -
Data type: SCP1_SCENARIO_DETAILSOptional: No
Call by Reference: Yes
ACT_ADMIN_INFOS -
Data type: SCP1_ACTIVITY_INFOSOptional: No
Call by Reference: Yes
OBJ_ADMIN_INFOS -
Data type: SCP1_OBJECT_INFOSOptional: No
Call by Reference: Yes
CHECKED_BCS_OBJECTS -
Data type: SCP1_CHECKED_OBJECTSOptional: No
Call by Reference: Yes
CHECKED_BCS_TABLES -
Data type: SCP1_CHECKED_ITEMSOptional: No
Call by Reference: Yes
DENIED_BCS_OBJECTS -
Data type: SCP1_CHECKED_OBJECTSOptional: No
Call by Reference: Yes
DENIED_BCS_TABLES -
Data type: SCP1_CHECKED_ITEMSOptional: No
Call by Reference: Yes
DENIED_BCS_FIELDS -
Data type: SCP1_CHECKED_ITEMSOptional: No
Call by Reference: Yes
DENIED_BCS_RECORDS -
Data type: SCP1_CHECKED_ITEMSOptional: No
Call by Reference: Yes
MISSING_BCS_TABLES -
Data type: SCP1_CHECKED_ITEMSOptional: No
Call by Reference: Yes
ADDITIONAL_BCS_TABLES -
Data type: SCP1_CHECKED_ITEMSOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for SCPR_CHECK_BCS_DATA_STATUS 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_bcset_id | TYPE SCPR_ID, " | |||
| lv_check_results | TYPE SCP1_GENERAL_ERRORS, " | |||
| lv_scenario_details | TYPE SCP1_SCENARIO_DETAILS, " | |||
| lv_act_admin_infos | TYPE SCP1_ACTIVITY_INFOS, " | |||
| lv_obj_admin_infos | TYPE SCP1_OBJECT_INFOS, " | |||
| lv_category | TYPE SCPR_CTGRY, " SPACE | |||
| lv_checked_bcs_objects | TYPE SCP1_CHECKED_OBJECTS, " | |||
| lv_cli_dep | TYPE SCPR_CLDEP, " SPACE | |||
| lv_checked_bcs_tables | TYPE SCP1_CHECKED_ITEMS, " | |||
| lv_cli_cas | TYPE SCPR_CLCAS, " SPACE | |||
| lv_denied_bcs_objects | TYPE SCP1_CHECKED_OBJECTS, " | |||
| lv_orgid | TYPE SCPR_ORGID, " | |||
| lv_denied_bcs_tables | TYPE SCP1_CHECKED_ITEMS, " | |||
| lv_bcset_recattr | TYPE SCPR_RECA_TAB, " | |||
| lv_denied_bcs_fields | TYPE SCP1_CHECKED_ITEMS, " | |||
| lv_bcset_values | TYPE SCPR_VALS_TAB, " | |||
| lv_denied_bcs_records | TYPE SCP1_CHECKED_ITEMS, " | |||
| lv_bcset_valuesl | TYPE SCPR_VALL_TAB, " | |||
| lv_missing_bcs_tables | TYPE SCP1_CHECKED_ITEMS, " | |||
| lv_additional_bcs_tables | TYPE SCP1_CHECKED_ITEMS. " |
|   CALL FUNCTION 'SCPR_CHECK_BCS_DATA_STATUS' " |
| EXPORTING | ||
| BCSET_ID | = lv_bcset_id | |
| CATEGORY | = lv_category | |
| CLI_DEP | = lv_cli_dep | |
| CLI_CAS | = lv_cli_cas | |
| ORGID | = lv_orgid | |
| BCSET_RECATTR | = lv_bcset_recattr | |
| BCSET_VALUES | = lv_bcset_values | |
| BCSET_VALUESL | = lv_bcset_valuesl | |
| IMPORTING | ||
| CHECK_RESULTS | = lv_check_results | |
| SCENARIO_DETAILS | = lv_scenario_details | |
| ACT_ADMIN_INFOS | = lv_act_admin_infos | |
| OBJ_ADMIN_INFOS | = lv_obj_admin_infos | |
| CHECKED_BCS_OBJECTS | = lv_checked_bcs_objects | |
| CHECKED_BCS_TABLES | = lv_checked_bcs_tables | |
| DENIED_BCS_OBJECTS | = lv_denied_bcs_objects | |
| DENIED_BCS_TABLES | = lv_denied_bcs_tables | |
| DENIED_BCS_FIELDS | = lv_denied_bcs_fields | |
| DENIED_BCS_RECORDS | = lv_denied_bcs_records | |
| MISSING_BCS_TABLES | = lv_missing_bcs_tables | |
| ADDITIONAL_BCS_TABLES | = lv_additional_bcs_tables | |
| . " SCPR_CHECK_BCS_DATA_STATUS | ||
ABAP code using 7.40 inline data declarations to call FM SCPR_CHECK_BCS_DATA_STATUS
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_category) | = ' '. | |||
| DATA(ld_cli_dep) | = ' '. | |||
| DATA(ld_cli_cas) | = ' '. | |||
Search for further information about these or an SAP related objects