SAP Reports / Programs | Public Sector Management | Funds Management(PSM-FM) SAP PSM

BPREP_RETRAKTOR_COMMON SAP ABAP INCLUDE - BPREPRETRAKTORCOMMON







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


INCLUDES used within this REPORT BPREP_RETRAKTOR_COMMON

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:

FM_ACCOUNT_DERIVE CALL FUNCTION 'FM_ACCOUNT_DERIVE' EXPORTING i_check_date = u_derive_date CHANGING c_cobl = l_s_cobl EXCEPTIONS derivation_failed = 1 OTHERS = 2.

ABADR_DERIVE_CHARACTERISTICS * CALL FUNCTION 'ABADR_DERIVE_CHARACTERISTICS' * EXPORTING * i_appl = const_deriv_appl * i_subclass = const_deriv_subcl_fm * i_env = const_deriv_fm_envir * i_strategy_id = const_deriv_fm_strat_id * i_identifier_1 = const_deriv_fm_ident1 * i_record_1 = l_s_fmderive * i_derivation_date = u_derive_date * i_mass_processing = 'X' * IMPORTING * e_record_1 = l_s_fmderive * EXCEPTIONS * derivation_failed = 1 * OTHERS = 2.

ABADR_DERIVE_CHARACTERISTICS CALL FUNCTION 'ABADR_DERIVE_CHARACTERISTICS' EXPORTING i_appl = const_deriv_appl i_subclass = const_deriv_subcl_bp i_env = u_environment i_strategy_id = const_deriv_bp_strat_id i_identifier_1 = const_deriv_bp_ident1 i_record_1 = wa_retraction_data i_derivation_date = u_derive_date i_mass_processing = 'X' IMPORTING e_record_1 = wa_retraction_data EXCEPTIONS derivation_failed = 1 OTHERS = 2.

RSCRMBW_REPORT CALL FUNCTION 'RSCRMBW_REPORT' "initialisation of report DESTINATION u_bw_sys EXPORTING i_mode = 'OPEN' i_reportuid = u_query i_repname = ' ' IMPORTING e_reportuid = l_reportuid * e_cubename = l_cubename TABLES e_t_axis = e_t_axis e_t_cell = e_t_cell * e_t_meta = e_t_meta " not available any more e_t_return = l_t_return e_t_mdx = l_t_mdx EXCEPTIONS communication_failure = 4 system_failure = 5 OTHERS = 7.

RSCRMBW_FLATTEN_VIEW CALL FUNCTION 'RSCRMBW_FLATTEN_VIEW' DESTINATION u_bw_sys EXPORTING i_reportuid = u_query * i_include_slicer = 'X' TABLES e_t_mdx = l_t_mdx e_t_return = l_t_return EXCEPTIONS communication_failure = 4 system_failure = 5 OTHERS = 7.

RSCRMBW_VARIANTS_GETLIST CALL FUNCTION 'RSCRMBW_VARIANTS_GETLIST' DESTINATION u_bw_sys EXPORTING i_reportuid = u_query TABLES e_t_crmvariants = l_t_crmvariants e_t_return = l_t_return EXCEPTIONS communication_failure = 4 system_failure = 5 OTHERS = 7.

RSCRMBW_VARIABLES_SET CALL FUNCTION 'RSCRMBW_VARIABLES_SET' DESTINATION u_bw_sys EXPORTING i_reportuid = u_query i_variant = l_varnt TABLES i_t_crmvar = l_t_variables i_t_crmvarp = l_t_crmvar e_t_return = l_t_return e_t_mdx = l_t_mdx EXCEPTIONS communication_failure = 4 system_failure = 5 OTHERS = 7.

RSCRMBW_VARIABLES_GETLIST CALL FUNCTION 'RSCRMBW_VARIABLES_GETLIST' DESTINATION u_bw_sys EXPORTING i_reportuid = u_query TABLES e_t_crmvar = l_t_crmvar_temp e_t_return = l_t_return EXCEPTIONS communication_failure = 4 system_failure = 5 OTHERS = 7.

RSCRMBW_VARIABLE_POPUP CALL FUNCTION 'RSCRMBW_VARIABLE_POPUP' DESTINATION u_bw_sys EXPORTING i_reportuid = u_query TABLES e_t_crmvarsel = l_t_crmvar e_t_mdx = l_t_mdx e_t_return = l_t_return EXCEPTIONS communication_failure = 4 system_failure = 5 OTHERS = 7.

RSCRMBW_REPORT CALL FUNCTION 'RSCRMBW_REPORT' DESTINATION u_bw_sys EXPORTING i_mode = 'START' i_reportuid = u_query i_repname = ' ' IMPORTING e_reportuid = l_reportuid TABLES e_t_axis = e_t_axis e_t_cell = e_t_cell * e_t_meta = e_t_meta e_t_return = l_t_return e_t_mdx = l_t_mdx EXCEPTIONS communication_failure = 4 system_failure = 5 OTHERS = 7.

RSCRMBW_DIMENSIONS_GET CALL FUNCTION 'RSCRMBW_DIMENSIONS_GET' " get dimensions of query DESTINATION u_bw_sys EXPORTING i_reportuid = u_query TABLES e_t_crmdim = l_t_crmdim e_t_return = l_t_return EXCEPTIONS communication_failure = 4 system_failure = 5 OTHERS = 7.

RSCRMBW_ATTRIBUTES_GET CALL FUNCTION 'RSCRMBW_ATTRIBUTES_GET' DESTINATION u_bw_sys EXPORTING i_reportuid = u_query i_iobjnm = wa_crmdim-iobjnm TABLES e_t_crmatr = l_t_rscrmatr e_t_return = l_t_return EXCEPTIONS communication_failure = 4 system_failure = 5 OTHERS = 7.

RSCRMBW_KEY_FIGURES_GET CALL FUNCTION 'RSCRMBW_KEY_FIGURES_GET' DESTINATION u_bw_sys EXPORTING i_reportuid = u_query TABLES e_t_crmkyf = l_t_crmkyf e_t_return = l_t_return EXCEPTIONS communication_failure = 4 system_failure = 5 OTHERS = 7.

RSCRMBW_KEY_FIGURES_GETDETAIL CALL FUNCTION 'RSCRMBW_KEY_FIGURES_GETDETAIL' DESTINATION u_bw_sys EXPORTING i_reportuid = u_query i_mem_nam = wa_crmkyf-memnam * IMPORTING * E_S_CRMKYFDETAIL = E_S_CRMKYFDETAIL TABLES e_t_crmkyffilter = l_t_crmkyffilter e_t_return = l_t_return.

RSCRMBW_ATTRIBUTES_GET CALL FUNCTION 'RSCRMBW_ATTRIBUTES_GET' "don't want to save this DESTINATION u_bw_sys EXPORTING i_reportuid = u_query i_iobjnm = wa_crmdim-iobjnm TABLES e_t_crmatr = l_t_rscrmatr e_t_return = l_t_return EXCEPTIONS communication_failure = 4 system_failure = 5 OTHERS = 7.

RSCRMBW_REPORT CALL FUNCTION 'RSCRMBW_REPORT' "close of report DESTINATION u_bw_sys EXPORTING i_mode = 'CLOSE' i_reportuid = u_query i_repname = ' ' * IMPORTING * e_reportuid = u_query * e_cubename = l_cubename * TABLES * e_t_axis = i_t_axis * e_t_cell = i_t_cell ** e_t_meta = e_t_meta " not available any more * e_t_return = l_t_return * e_t_mdx = l_t_mdx EXCEPTIONS communication_failure = 4 system_failure = 5 OTHERS = 7.

FM_CHECK_CUSTOMIZING CALL FUNCTION 'FM_CHECK_CUSTOMIZING' EXPORTING * I_CHECK_KOMU_ACTIVE = * I_CHECK_EU_ACTIVE = * I_CHECK_US_PS_ACTIVE = i_check_komu_not_active = 'X' * I_CHECK_EU_NOT_ACTIVE = * I_CHECK_US_PS_NOT_ACTIVE = EXCEPTIONS fm_not_active = 1 komu_not_active = 2 eu_not_active = 3 us_ps_not_active = 4 komu_active = 5 eu_active = 6 us_ps_active = 7 OTHERS = 8.

FM_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' EXPORTING i_fikrs = u_fmarea i_actvt = fmau_bu_cre i_msgty = 'E'.

FM_AUTH_CHECK_VERSION





CALL FUNCTION 'FM_AUTH_CHECK_VERSION' EXPORTING i_fikrs = u_fmarea i_versn = u_versn i_actvt = fmau_bu_cre i_msgty = 'E'.

FM_FYC_SCHEDMAN_INIT CALL FUNCTION 'FM_FYC_SCHEDMAN_INIT' EXPORTING i_repid = con_repid "your report id" i_tcode = con_tcode "your transaction code i_wfitem = wf_witem "parameter of RKASMAWF i_wflist = wf_wlist "parameter of RKASMAWF i_flg_test = u_test IMPORTING e_f_schedman_key = g_f_schedman_key. "data declared above

FM_FYC_SCHEDMAN_CLOSE CALL FUNCTION 'FM_FYC_SCHEDMAN_CLOSE' EXPORTING i_f_schedman_key = g_f_schedman_key "obtained from schedman init i_wfitem = wf_witem "parameter of RKASMAWF i_wfokey = wf_okey "parameter of RKASMAWF i_aplstat = g_aplstat.



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