SAP Reports / Programs | Financial Accounting | Funds Management(FI-FM) SAP FI

BPSHOW01 SAP ABAP Report - Analysis program for multi-currency-capable budgeting







BPSHOW01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Display and analysis of a project, WBS element or an order for a budget that can have more than one currency...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 BPSHOW01 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 BPSHOW01. "Basic submit
SUBMIT BPSHOW01 AND RETURN. "Return to original report after report execution complete
SUBMIT BPSHOW01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: G_PSPID = Project
Selection Text: G_POSID = WBS element
Selection Text: G_AUFNR = Order
Title: Analysis program for multi-currency-capable budgeting
Text Symbol: 400 = Budgeting currency:
Text Symbol: 440 = Currency translation:
Text Symbol: 450 = Display:
Text Symbol: 500 = Number of transaction currencies for project:
Text Symbol: 501 = Transaction currencies for project:
Text Symbol: 700 = Controlling area currency
Text Symbol: 701 = Object crcy
Text Symbol: 702 = User-defined currency
Text Symbol: 800 = Total and budget
Text Symbol: 801 = Total and release
Text Symbol: 802 = FYears and release
Text Symbol: 803 = FYrs and budget
Text Symbol: 810 = Total
Text Symbol: 811 = Years
Text Symbol: 900 = ExRType:
Text Symbol: 902 = Value date:
Text Symbol: 910 = Decimal places:
Text Symbol: 911 = Display factor:
Text Symbol: 920 = Cannot activate
Text Symbol: 921 = Auto. activation with budget allocation
Text Symbol: 922 = Background activation
Text Symbol: 929 = New entry. Change report.
Text Symbol: 930 = Operating rate %
Text Symbol: 320 = Listing for order
Text Symbol: 001 = or
Text Symbol: 002 = Blank
Text Symbol: 010 = WBS element:
Text Symbol: 020 = Object number of WBS element:
Text Symbol: 030 = Object currency of WBS element, ledger number:
Text Symbol: 050 = Level
Text Symbol: 051 = WBS Element
Text Symbol: 052 = Object no.
Text Symbol: 053 = Object crcy
Text Symbol: 054 = No. Trans. crcies





Text Symbol: 070 = Project definition:
Text Symbol: 075 = Object number of project:
Text Symbol: 077 = Controlling area of project:
Text Symbol: 078 = Object currency of project, ledger number:
Text Symbol: 079 = Controlling area currency, ledger number:
Text Symbol: 080 = Budget profile of project:
Text Symbol: 091 = Availability control for:
Text Symbol: 092 = Activation type:
Text Symbol: 110 = Order:
Text Symbol: 120 = Object number for order:
Text Symbol: 130 = Controlling area for order:
Text Symbol: 140 = Controlling area currency, ledger number:
Text Symbol: 150 = Object currency for order, ledger number:
Text Symbol: 200 = Only one entry required
Text Symbol: 260 = Number of transaction currencies in WBS element:
Text Symbol: 261 = Transaction currencies for WBS element:
Text Symbol: 300 = Listing for project


INCLUDES used within this REPORT BPSHOW01

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:

KBPS_FIND_LEDGER * Dummy-Tabelle für call function 'KBPS_FIND_LEDGER' DATA: BEGIN OF G_BP_CUR OCCURS 0.

CJPN_GET_PROJECT_DEFINITION CALL FUNCTION 'CJPN_GET_PROJECT_DEFINITION' EXPORTING I_PSPID = G_PSPID IMPORTING E_PROJ = PROJ.

CJPN_GET_WBS_ELEMENT CALL FUNCTION 'CJPN_GET_WBS_ELEMENT' EXPORTING I_POSID = G_POSID IMPORTING E_PRPS = PRPS.

CJPN_GET_PROJECT_DEFINITION CALL FUNCTION 'CJPN_GET_PROJECT_DEFINITION' EXPORTING I_PSPNR = PRPS-PSPHI IMPORTING E_PROJ = PROJ.

K_ORDER_READ CALL FUNCTION 'K_ORDER_READ' EXPORTING AUFNR = G_AUFNR IMPORTING I_AUFKV = LS_AUFKV.

KBPS_CHECK_PROFIL CALL FUNCTION 'KBPS_CHECK_PROFIL' EXPORTING APPLIK = L_PROJECT PROFIL = PROJ-BPROF WRTTP = L_WBUDGET IMPORTING EX_BP1C = TBP1C.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING KOKRS = PROJ-VKOKR IMPORTING E_TKA01 = TKA01.

KBPS_FIND_LEDGER CALL FUNCTION 'KBPS_FIND_LEDGER' EXPORTING CURRENCY = PROJ-PWHIE NEW_LEDGER = ' ' PERIV = TKA01-LMONA IMPORTING LEDGER = G_LEDGERNR_PROJEKT TABLES BP_CUR = G_BP_CUR.

KBPS_FIND_LEDGER CALL FUNCTION 'KBPS_FIND_LEDGER' EXPORTING CURRENCY = TKA01-WAERS NEW_LEDGER = ' ' PERIV = TKA01-LMONA IMPORTING LEDGER = G_LEDGERNR_KOREKR TABLES BP_CUR = G_BP_CUR.

CJDW_INIT





CALL FUNCTION 'CJDW_INIT'.

CJDW_SELECT_BASIC_DATA CALL FUNCTION 'CJDW_SELECT_BASIC_DATA' EXPORTING MEMID_PRPS = 'CJ_BUFFER_PRPS' PROJECT = G_PSPID EXCEPTIONS OTHERS = 1.

KBPR_READ_DATA CALL FUNCTION 'KBPR_READ_DATA' TABLES BP_GE = G_ITAB_BPGE_PROJ BP_JA = G_ITAB_BPJA_PROJ TAB_OBJNR = G_ITAB_PSPE_OBJNR.

KBPR_READ_DATA CALL FUNCTION 'KBPR_READ_DATA' EXPORTING OBJNR = PRPS-OBJNR TABLES BP_GE = G_ITAB_BPGE_PSPE BP_JA = G_ITAB_BPJA_PSPE.

KBPS_CHECK_PROFIL CALL FUNCTION 'KBPS_CHECK_PROFIL' EXPORTING APPLIK = L_PROJECT PROFIL = PROJ-BPROF WRTTP = L_WBUDGET IMPORTING EX_BP1C = TBP1C.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING KOKRS = PROJ-VKOKR IMPORTING E_TKA01 = TKA01.

KBPS_FIND_LEDGER CALL FUNCTION 'KBPS_FIND_LEDGER' EXPORTING CURRENCY = PROJ-PWHIE NEW_LEDGER = ' ' PERIV = TKA01-LMONA IMPORTING LEDGER = G_LEDGERNR_PROJEKT TABLES BP_CUR = G_BP_CUR.

KBPS_FIND_LEDGER CALL FUNCTION 'KBPS_FIND_LEDGER' EXPORTING CURRENCY = PRPS-PWPOS NEW_LEDGER = ' ' PERIV = TKA01-LMONA IMPORTING LEDGER = G_LEDGERNR_PSP_EL TABLES BP_CUR = G_BP_CUR.

KBPS_FIND_LEDGER CALL FUNCTION 'KBPS_FIND_LEDGER' EXPORTING CURRENCY = TKA01-WAERS NEW_LEDGER = ' ' PERIV = TKA01-LMONA IMPORTING LEDGER = G_LEDGERNR_KOREKR TABLES BP_CUR = G_BP_CUR.

KBPR_READ_DATA CALL FUNCTION 'KBPR_READ_DATA' EXPORTING OBJNR = PRPS-OBJNR TABLES BP_GE = G_ITAB_BPGE_PSPE BP_JA = G_ITAB_BPJA_PSPE.

CJDW_INIT CALL FUNCTION 'CJDW_INIT'.

CJDW_SELECT_BASIC_DATA CALL FUNCTION 'CJDW_SELECT_BASIC_DATA' EXPORTING MEMID_PRPS = 'CJ_BUFFER_PRPS' PROJECT = PROJ-PSPID EXCEPTIONS OTHERS = 1.

KBPR_READ_DATA CALL FUNCTION 'KBPR_READ_DATA' TABLES BP_GE = G_ITAB_BPGE_PROJ BP_JA = G_ITAB_BPJA_PROJ TAB_OBJNR = G_ITAB_PSPE_OBJNR.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING KOKRS = AUFK-KOKRS IMPORTING E_TKA01 = TKA01.

KBPS_FIND_LEDGER CALL FUNCTION 'KBPS_FIND_LEDGER' EXPORTING CURRENCY = AUFK-WAERS NEW_LEDGER = ' ' PERIV = TKA01-LMONA IMPORTING LEDGER = G_LEDGERNR_AUFTRAG TABLES BP_CUR = G_BP_CUR.

KBPS_FIND_LEDGER CALL FUNCTION 'KBPS_FIND_LEDGER' EXPORTING CURRENCY = TKA01-WAERS NEW_LEDGER = ' ' PERIV = TKA01-LMONA IMPORTING LEDGER = G_LEDGERNR_KOREKR TABLES BP_CUR = G_BP_CUR.

KBPS_CHECK_PROFIL CALL FUNCTION 'KBPS_CHECK_PROFIL' EXPORTING APPLIK = L_ORDER PROFIL = T003O-BPROF WRTTP = L_WBUDGET IMPORTING EX_BP1C = TBP1C.

CJPN_GET_PROJECT_DEFINITION CALL FUNCTION 'CJPN_GET_PROJECT_DEFINITION' EXPORTING I_PSPID = P_PSPID EXCEPTIONS INPUT_ERROR = 1 NOT_FOUND = 2 OTHERS = 3.

CJPN_GET_WBS_ELEMENT CALL FUNCTION 'CJPN_GET_WBS_ELEMENT' EXPORTING I_POSID = P_POSID EXCEPTIONS INPUT_ERROR = 1 NOT_FOUND = 2 OTHERS = 3.

K_ORDER_READ CALL FUNCTION 'K_ORDER_READ' EXPORTING AUFNR = P_AUFNR EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.






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