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

BPREP_CREATE_QUERY_VARNT_BCS SAP ABAP Report - Query Variant for Budget Preparation from BW System







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 see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FMBPQV_BCS - Create Query Variant


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


Text pool values


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


INCLUDES used within this REPORT BPREP_CREATE_QUERY_VARNT_BCS

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.


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:

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.



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