BPREP_CREATE_QUERY_VARNT_BCS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Query variants for plan data transfer from the BW system You need query variants when you want to transfer queries containing variables from the BW system into the Funds Management
If you would like to execute this report or see the full code listing simply enter BPREP_CREATE_QUERY_VARNT_BCS into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FMBPQV_BCS - Create Query Variant
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.
Title: Query Variant for Budget Preparation from BW System
Text Symbol: 001 = Transfer
Text Symbol: 002 = BW System
Text Symbol: 003 = Query
Text Symbol: 004 = Reversal
Text Symbol: 005 = Logs
Text Symbol: 010 = Create Variant for Query Variable
INCLUDE LKBPPEQU.
INCLUDE LFMAUEQU.
INCLUDE IBPREP_TYPES.
INCLUDE RKASMAWF.
INCLUDE IBPREP_DATAS.
INCLUDE IBPREP_SCREEN_CREATE_QUERY_VAR.
INCLUDE IBPREP_LOG.
INCLUDE BPREP_SCREEN_CHECKS.
INCLUDE BPREP_RETRAKTOR_COMMON.
No SAP DATABASE tables are accessed within this REPORT code!
RSCRMBW_REPORT CALL FUNCTION 'RSCRMBW_REPORT' "initialisation of report DESTINATION p_bw_sys EXPORTING i_mode = 'OPEN' i_reportuid = p_query i_repname = ' ' IMPORTING e_reportuid = l_reportuid EXCEPTIONS communication_failure = 4 system_failure = 5 OTHERS = 7.
RSCRMBW_VARIABLES_GETLIST CALL FUNCTION 'RSCRMBW_VARIABLES_GETLIST' DESTINATION p_bw_sys EXPORTING i_reportuid = p_query TABLES e_t_crmvar = g_t_crmvar EXCEPTIONS communication_failure = 4 system_failure = 5 OTHERS = 7.
RSCRMBW_VARIABLE_POPUP CALL FUNCTION 'RSCRMBW_VARIABLE_POPUP' DESTINATION p_bw_sys EXPORTING i_reportuid = p_query EXCEPTIONS communication_failure = 4 system_failure = 5 OTHERS = 7.
RSCRMBW_REPORT CALL FUNCTION 'RSCRMBW_REPORT' "initialisation of report DESTINATION p_bw_sys EXPORTING i_mode = 'CLOSE' i_reportuid = p_query i_repname = ' ' IMPORTING e_reportuid = l_reportuid EXCEPTIONS communication_failure = 4 system_failure = 5 OTHERS = 7.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
BPREP_CREATE_QUERY_VARNT_BCS - Query Variant for Budget Preparation from BW System BPREP_CREATE_QUERY_VARNT_BCS - Query Variant for Budget Preparation from BW System BPREP_CREATE_QUERY_VARNT - Query Variant for Budget Preparation from BW System BPREP_CREATE_QUERY_VARNT - Query Variant for Budget Preparation from BW System BPREPTEL - Business Partner: Generate Telephone Numbers for Incoming Calls BPREPTEL - Business Partner: Generate Telephone Numbers for Incoming Calls