BBP_BW_SC4 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 BBP_BW_SC4 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
BBP_BW_SC4 - Shopping Carts per Cost Center
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.
Selection Text: PA_COCE = Cost Center
Selection Text: P_CUR = Currency Translation
Selection Text: P_CURTYP = ... in Currency
Selection Text: P_DEF_V = Default Layout
Selection Text: P_MXHITS = Maximum Hits
Selection Text: P_NO_CUR = No Currency Translation
Selection Text: P_NO_V = Do not Load Layout
Selection Text: P_SPEC_V = Specify Layout
Selection Text: P_STAT = Status
Selection Text: P_VARI = ... via the name
Selection Text: SEL_DATE = Requisition (request) date
Selection Text: SEL_REQN = Requester
Title: Shopping Carts per Cost Center
Text Symbol: 002 = Layout
Text Symbol: 003 = Selection
Text Symbol: 004 = Currncy
Text Symbol: 510 = Not Possible to Create Control
Text Symbol: 550 = No radio button active
INCLUDE BBP_PD_CON_CL.
INCLUDE BBP_PD_CON_SECURITY.
No SAP DATABASE tables are accessed within this REPORT code!
BBP_PDSEC_AUTHORITY_CHECK CALL FUNCTION 'BBP_PDSEC_AUTHORITY_CHECK' EXPORTING is_auth_check = ls_auth_check EXCEPTIONS not_authorized = 1 OTHERS = 2.
BBP_READ_ATTRIBUTES CALL FUNCTION 'BBP_READ_ATTRIBUTES' EXPORTING iv_user = sy-uname iv_scenario = 'BBP' iv_attr_single = ls_attribute IMPORTING ev_attr_dft_single = ls_attr_single EXCEPTIONS object_id_not_found = 1 no_attributes_requested = 2 attributes_read_error = 3 OTHERS = 4.
LVC_VARIANT_DEFAULT_GET CALL FUNCTION 'LVC_VARIANT_DEFAULT_GET' EXPORTING i_save = x_save CHANGING cs_variant = def_layout EXCEPTIONS not_found = 2.
LVC_VARIANT_F4 CALL FUNCTION 'LVC_VARIANT_F4' EXPORTING is_variant = x_layout i_save = x_save IMPORTING e_exit = g_exit es_variant = spec_layout EXCEPTIONS not_found = 1 OTHERS = 2.
LVC_VARIANT_EXISTENCE_CHECK CALL FUNCTION 'LVC_VARIANT_EXISTENCE_CHECK' EXPORTING i_save = x_save CHANGING cs_variant = spec_layout EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = space txt1 = text-550. "No radio button active!
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = text-510. "The control could not be created
BBP_BW_SC_SELECT_1 CALL FUNCTION 'BBP_BW_SC_SELECT_1' EXPORTING i_stat = p_stat i_coce = pa_coce i_maxhits = p_mxhits TABLES t_sel_date = lt_sel_date t_sel_name = lt_requestor t_result = t_superextract EXCEPTIONS no_sel_crit = 1 no_sel_data = 2.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = sy-datlo foreign_amount = s_extract-value foreign_currency = s_extract-currency local_currency = p_curtyp IMPORTING local_amount = lv_loc_val.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = sy-datlo foreign_amount = s_extract-price foreign_currency = s_extract-currency local_currency = p_curtyp IMPORTING local_amount = lv_loc_price.
NAVIGATION_SELECT_AGRS_OF_USER CALL FUNCTION 'NAVIGATION_SELECT_AGRS_OF_USER' EXPORTING user_name = sy-uname time_dependent = 'X' TABLES activity_groups_users = lt_roles EXCEPTIONS no_activity_groups_available = 1 OTHERS = 2.
BBP_READ_ATTRIBUTES CALL FUNCTION 'BBP_READ_ATTRIBUTES' EXPORTING iv_user = sy-uname iv_scenario = 'BBP' iv_attr_single = ls_attribute IMPORTING et_attr_dft = lt_coce_attr EXCEPTIONS object_id_not_found = 1 no_attributes_requested = 2 attributes_read_error = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.