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

RBPGJA01 SAP ABAP Report - Carrying Forward Project Budget







RBPGJA01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this program to carry unused budget from a closed fiscal year forward to the next year...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 RBPGJA01 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

CJCO - Carry Forward Project Budget


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 RBPGJA01. "Basic submit
SUBMIT RBPGJA01 AND RETURN. "Return to original report after report execution complete
SUBMIT RBPGJA01 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: P_TEST = Test run
Selection Text: P_LIST = Detail list
Selection Text: P_GJAHR = Sender fiscal year
Selection Text: P_BLDAT = Document date
Title: Carrying Forward Project Budget
Text Symbol: 113 = No errors occurred
Text Symbol: 120 = Termination messages:
Text Symbol: 121 = Error messages:
Text Symbol: 122 = Warning messages:
Text Symbol: 130 = Activity "Sender carryforward (FYC)" prohibited
Text Symbol: 131 = Activity "Receiver carryforward (FYC)" prohibited
Text Symbol: 132 = Error in status management
Text Symbol: 133 = Missing authorization: carryforward not possible
Text Symbol: 134 = Year change already carried out for relevant capital investment program
Text Symbol: 140 = Currency
Text Symbol: 141 = The Carryover Cannot be Reversed
Text Symbol: 142 = The Carryover was Reversed
Text Symbol: 143 = Reversal
Text Symbol: 144 = Do you really want to reverse the budget carryover?
Text Symbol: 145 = Reversal switched on
Text Symbol: 146 = Reversal switched off
Text Symbol: 147 = Cancellation terminated
Text Symbol: 164 = Relevant Actual
Text Symbol: 111 = Error log:
Text Symbol: 001 = Parameter
Text Symbol: 002 = Processing options
Text Symbol: 003 = Predefined
Text Symbol: 050 = Carry forward positive balance:
Text Symbol: 051 = Carry forward negative balance:
Text Symbol: 052 = No carryforward (calculated carryforward =0 ):
Text Symbol: 060 = WBS Element
Text Symbol: 061 = Carryforward
Text Symbol: 062 = Budget
Text Symbol: 063 = Distributed
Text Symbol: 064 = Actual
Text Symbol: 065 = Prev.carryfwd
Text Symbol: 100 = Project:
Text Symbol: 101 = Short text:





Text Symbol: 102 = Number of WBS elements selected:
Text Symbol: 103 = Number of WBS elements with budget:
Text Symbol: 104 = Number of WBS elements for which carryforward made:
Text Symbol: 105 = Number of WBS elements for which carryforward possible:
Text Symbol: 106 = Number of error messages that occurred:
Text Symbol: 107 = Test run
Text Symbol: 108 = Update run
Text Symbol: 109 = Sender fiscal year:
Text Symbol: 110 = Document date:


INCLUDES used within this REPORT RBPGJA01

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:

CJDB_EXCLUDE_LDB_FUNCTION_KEYS CALL FUNCTION 'CJDB_EXCLUDE_LDB_FUNCTION_KEYS'.

K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING POPUP = '1' IMPORTING E_KOKRS = KOKRS.

K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING POPUP = '0' IMPORTING E_KOKRS = KOKRS EXCEPTIONS OTHERS = 1.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING KOKRS = KOKRS IMPORTING E_TKA01 = S_TKA01 EXCEPTIONS OTHERS = 1.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING I_DATE = SY-DATUM I_PERIV = S_TKA01-LMONA "fiscal year variant IMPORTING E_GJAHR = CURRENT_GJAHR.

KBPS_FIND_LEDGER CALL FUNCTION 'KBPS_FIND_LEDGER' EXPORTING CURRENCY = S_TKA01-WAERS PERIV = S_TKA01-LMONA IMPORTING LEDGER = CO_AREA_LEDNR TABLES BP_CUR = T_DUMMY.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = l_storno_text textline2 = text-144 titel = text-143 IMPORTING answer = l_answer.

KBPS_FIND_LEDGER CALL FUNCTION 'KBPS_FIND_LEDGER' "MCUR EXPORTING "MCUR CURRENCY = PRPS_R-PWPOS "MCUR IMPORTING "MCUR LEDGER = CO_OBJECT_LEDNR "MCUR TABLES "MCUR BP_CUR = T_DUMMY. "MCUR

AIPA_CARRY_OVER_PROTOCOL * CALL FUNCTION 'AIPA_CARRY_OVER_PROTOCOL'. "coke

RK_KSTAR_READ CALL FUNCTION 'RK_KSTAR_READ' EXPORTING DATUM = SY-DATUM KOKRS = F_KOKRS KSTAR = F_COSP-KSTAR IMPORTING V_CSKB = LS_CSKBV EXCEPTIONS OTHERS = 3.

BP_COST_ELEMENT_CHECK CALL FUNCTION 'BP_COST_ELEMENT_CHECK' "note 137081 EXPORTING "note 137081 HRKFT = F_COSP-HRKFT "note 137081 KOKRS = F_KOKRS "note 137081 KSTAR = F_COSP-KSTAR "note 137081 EXCEPTIONS "note 137081 NOT_INCLUDED = 1. "note 137081

KBPS_CURRENCY_CONVERT CALL FUNCTION 'KBPS_CURRENCY_CONVERT' "MCUR EXPORTING "MCUR I_KOKRS = P_KOKRS "MCUR I_COSPA = L_COSPA "MCUR I_CURRENCY = PRPS_R-PWPOS "MCUR IMPORTING "MCUR E_SUMME = L_SUM_PERIODS_COSP. "MCUR

RK_KSTAR_READ CALL FUNCTION 'RK_KSTAR_READ' EXPORTING DATUM = SY-DATUM KOKRS = F_KOKRS KSTAR = F_COSPP-KSTAR IMPORTING V_CSKB = LS_CSKBV EXCEPTIONS OTHERS = 3.

BP_COST_ELEMENT_CHECK





CALL FUNCTION 'BP_COST_ELEMENT_CHECK' "note 137081 EXPORTING "note 137081 HRKFT = F_COSPP-HRKFT "note 137081 KOKRS = F_KOKRS "note 137081 KSTAR = F_COSPP-KSTAR "note 137081 EXCEPTIONS "note 137081 NOT_INCLUDED = 1. "note 137081

KBPS_CURRENCY_CONVERT CALL FUNCTION 'KBPS_CURRENCY_CONVERT' "MCUR EXPORTING "MCUR i_kokrs = p_kokrs "MCUR i_cospa = l_cospa "MCUR i_currency = prps_r-pwpos "MCUR IMPORTING "MCUR e_summe = l_sum_periods_cospp. "MCUR

RK_KSTAR_READ CALL FUNCTION 'RK_KSTAR_READ' EXPORTING DATUM = SY-DATUM KOKRS = F_KOKRS KSTAR = F_COSS-KSTAR IMPORTING V_CSKB = LS_CSKBV EXCEPTIONS OTHERS = 3.

BP_COST_ELEMENT_CHECK CALL FUNCTION 'BP_COST_ELEMENT_CHECK' "note 137081 EXPORTING "note 137081 HRKFT = F_COSS-HRKFT "note 137081 KOKRS = F_KOKRS "note 137081 KSTAR = F_COSS-KSTAR "note 137081 EXCEPTIONS "note 137081 NOT_INCLUDED = 1. "note 137081

KBPS_CURRENCY_CONVERT CALL FUNCTION 'KBPS_CURRENCY_CONVERT' "MCUR EXPORTING "MCUR i_kokrs = p_kokrs "MCUR i_cossa = l_cossa "MCUR i_currency = prps_r-pwpos "MCUR IMPORTING "MCUR e_summe = l_sum_periods_coss. "MCUR

RK_KSTAR_READ CALL FUNCTION 'RK_KSTAR_READ' EXPORTING DATUM = SY-DATUM KOKRS = F_KOKRS KSTAR = F_COSSP-KSTAR IMPORTING V_CSKB = LS_CSKBV EXCEPTIONS OTHERS = 3.

BP_COST_ELEMENT_CHECK CALL FUNCTION 'BP_COST_ELEMENT_CHECK' "note 137081 EXPORTING "note 137081 HRKFT = F_COSSP-HRKFT "note 137081 KOKRS = F_KOKRS "note 137081 KSTAR = F_COSSP-KSTAR "note 137081 EXCEPTIONS "note 137081 NOT_INCLUDED = 1. "note 137081

KBPS_CURRENCY_CONVERT CALL FUNCTION 'KBPS_CURRENCY_CONVERT' "MCUR EXPORTING "MCUR i_kokrs = p_kokrs "MCUR i_cossa = l_cossa "MCUR i_currency = prps_r-pwpos "MCUR IMPORTING "MCUR e_summe = l_sum_periods_cossp. "MCUR

STATUS_CHANGE_FOR_ACTIVITY CALL FUNCTION 'STATUS_CHANGE_FOR_ACTIVITY' EXPORTING CHECK_ONLY = C_ON OBJNR = F_OBJNR VRGNG = F_VRGNG EXCEPTIONS ACTIVITY_NOT_ALLOWED = 1 * OBJECT_NOT_FOUND = * STATUS_INCONSISTENT = * STATUS_NOT_ALLOWED = * WRONG_INPUT = * WARNING_OCCURED = OTHERS = 2.

AIPA_CARRY_OVER_PROTOCOL_PREP CALL FUNCTION 'AIPA_CARRY_OVER_PROTOCOL_PREP' "coke EXPORTING "coke I_KOKRS = PROJ-VKOKR "coke TABLES "coke IT_BOBJ = T_OBJ IT_BPAK = FT_BPAK. "coke

KBPP_EXTERN_UPDATE CALL FUNCTION 'KBPP_EXTERN_UPDATE' EXPORTING * IMP_BELNR = ' ' IMP_CARRY_OVER = C_YES IMP_CHECK = F_TEST IMP_COMMIT = C_NO IMP_FCODE = F_BUPRCF IMP_TCODE = L_REVERSE "note 650437 * IMP_UNAME = ' ' * IMP_PREL_DEL = ' ' TABLES IMP_BPAK = FT_BPAK.

MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS A_MESSAGE = 01 E_MESSAGE = 02 I_MESSAGE = 03 W_MESSAGE = 04.

MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES T_MESG = LT_MESG.

CNAU_AUTHORITY_PRPS CALL FUNCTION 'CNAU_AUTHORITY_PRPS' EXPORTING ACTVT = CNAU_BUDGET ACTVT_A = CNAU_NOACT * AUTH_OBJECT = ' ' I_PRPS = F_PRPS * MSGTY = ' ' * SMSG_ON = ' ' * SMSG_ZEILE = 000 IMPORTING X_ACTVT = F_FLAG_ALLOWED.

AIPA_CHECK_MEAS_YRCHG CALL FUNCTION 'AIPA_CHECK_MEAS_YRCHG' EXPORTING I_OBJNR = F_OBJNR I_FROM_YEAR = F_GJAHR I_TO_YEAR = F_NEXT_GJAHR IMPORTING E_SUBRC = F_SUBRC.

KBPS_CHECK_PROFIL CALL FUNCTION 'KBPS_CHECK_PROFIL' EXPORTING APPLIK = L_PROJECT PROFIL = F_BPROF WRTTP = '41' IMPORTING EX_BP1C = LS_TBP1C EXCEPTIONS NOT_FOUND = 1.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = gc_setpfstatus it_fieldcat = lt_fieldcat it_events = lt_eventtab it_sort = GT_SORT1 TABLES t_outtab = GT_OUTTAB EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = i_strname CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 1 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

AIPA_CARRY_OVER_PROTOCOL * CALL FUNCTION 'AIPA_CARRY_OVER_PROTOCOL'. "coke




AIPA_CARRY_OVER_PROTOCOL CALL FUNCTION 'AIPA_CARRY_OVER_PROTOCOL'.

FIRST_DAY_IN_PERIOD_GET CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = p_gjahr i_periv = s_tka01-lmona i_poper = '001' IMPORTING E_DATE = s_pldat EXCEPTIONS INPUT_FALSE = 1 T009_NOTFOUND = 2 T009B_NOTFOUND = 3 OTHERS = 4.



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