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

BPREP_RETRAKTOR_FORMS_OB SAP ABAP INCLUDE - BPREPRETRAKTORFORMSOB







BPREP_RETRAKTOR_FORMS_OB 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_FORMS_OB 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_FORMS_OB. "Basic submit
SUBMIT BPREP_RETRAKTOR_FORMS_OB AND RETURN. "Return to original report after report execution complete
SUBMIT BPREP_RETRAKTOR_FORMS_OB 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_FORMS_OB

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_LEDNR_GET_FROM_FIKRS CALL FUNCTION 'FM_LEDNR_GET_FROM_FIKRS' EXPORTING i_fikrs = u_fm_area i_applc = 'A' IMPORTING e_lednr = l_lednr e_fm01 = l_s_fm01.

FM_GET_DATES_FROM_GJAHR CALL FUNCTION 'FM_GET_DATES_FROM_GJAHR' EXPORTING ip_fikrs = u_fm_area ip_gjahr = u_fyear IMPORTING op_datab = l_date EXCEPTIONS OTHERS = 1.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = l_date foreign_amount = wa_budget_data-value foreign_currency = wa_budget_data-trans_curr local_currency = l_s_fm01-waers type_of_rate = 'M' read_tcurr = 'X' IMPORTING local_amount = wa_budget_data-value EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.

KBPS_OBJHI_NAME_GENERATE CALL FUNCTION 'KBPS_OBJHI_NAME_GENERATE' EXPORTING i_application = l_funds i_fm_area = u_fm_area i_object_initial_allowed = ' ' IMPORTING e_objhi = l_objhi.

FM_POSIT_GET_FROM_FIPEX CALL FUNCTION 'FM_POSIT_GET_FROM_FIPEX' EXPORTING i_fikrs = wa_budget_data-fm_area i_fipex = wa_budget_data-cmmt_item i_flg_buffer_all = 'X' IMPORTING e_posit = l_posit * tables * t_fmposit = EXCEPTIONS input_error = 1 data_not_found = 2 OTHERS = 3.

GET_CTR_OBJNR_FROM_FICTR CALL FUNCTION 'GET_CTR_OBJNR_FROM_FICTR' EXPORTING ip_fictr = wa_budget_data-funds_ctr ip_fikrs = wa_budget_data-fm_area ip_read_db = 'X' IMPORTING op_ctr_objnr = l_objnr EXCEPTIONS not_found = 1 OTHERS = 2.

KBPS_ENQUEUE CALL FUNCTION 'KBPS_ENQUEUE' EXPORTING i_global_enqueue = 'X' i_wait = 'X' i_applik = l_funds TABLES t_enq_obj = l_t_enq_obj EXCEPTIONS foreign_lock = 1 OTHERS = 2.

KBPR_READ_DATA CALL FUNCTION 'KBPR_READ_DATA' EXPORTING currency = l_s_fm01-waers fikrs = u_fm_area fikrs_ca_periv = l_s_fm01-ca_periv init = 'X' objhi = l_objhi trgkz = l_node versn = u_versn year_end = 9999 year_start = 0000 read_bpja = 'X' read_bpge = 'X' read_bppe = 'X' IMPORTING subrc = l_subrc TABLES bp_ge = l_t_bpge bp_ja = l_t_bpja bp_pe = l_t_bppe tab_activity = l_t_bdgt_type tab_geber = l_t_funds tab_objnr = l_t_objnr tab_posit = l_t_posit tab_farea = l_t_farea tab_value = l_t_value.

KBPI_BUDGET_ENTER CALL FUNCTION 'KBPI_BUDGET_ENTER' EXPORTING testrun = u_test parked = ' ' doc_header = wa_doc_header md_complete_check = 'X' IMPORTING entry_doc_number = wa_entry_docnr * HIERARCHY_DOC_NUMBER = TABLES doc_items = l_t_doc_items return = l_t_return.

KBPI_BUDGET_ENTER CALL FUNCTION 'KBPI_BUDGET_ENTER' EXPORTING testrun = u_test parked = ' ' doc_header = wa_doc_header md_complete_check = 'X' IMPORTING entry_doc_number = wa_entry_docnr "-entry_docnr * HIERARCHY_DOC_NUMBER = TABLES doc_items = l_t_doc_items return = l_t_return.

K_GET_ACTIVE_DIMENSIONS * CALL FUNCTION 'K_GET_ACTIVE_DIMENSIONS' * IMPORTING * e_function_active = l_function_active * e_fund_active = l_funds_active.

FM_DC_GET_ACTIVE_DIMENSIONS CALL FUNCTION 'FM_DC_GET_ACTIVE_DIMENSIONS' EXPORTING * I_COMPANY_CODE = I_FM_AREA = u_fmarea IMPORTING * E_GRANT_ACTIVE = * E_GRANT_START_HR = E_FUND_ACTIVE = l_funds_active * E_FUND_START_HR = E_FUNCTION_ACTIVE = l_function_active * E_FUNCTION_START_HR = * E_MEASURE_ACTIVE = * E_FUNDS_CTR_ACTIVE = * E_FUNDS_CTR_START_HR = * E_FUNDS_CTR_STOP_HR = * E_CMMT_ITEM_ACTIVE = * E_CMMT_ITEM_START_HR = * E_FM_ACTIVE = * E_FM_AREA = EXCEPTIONS ERROR_OCCURED = 1 INPUT_ERROR = 2 NO_FM_AREA_ASSIGNED = 3 OTHERS = 4 .

FM_NO_BLANK CALL FUNCTION 'FM_NO_BLANK' EXPORTING i_fm_area = u_fmarea i_fiscal_year = u_fyear i_flg_function_check = 'X' EXCEPTIONS function_blank = 3 OTHERS = 5.

FM_NO_BLANK CALL FUNCTION 'FM_NO_BLANK' EXPORTING i_fm_area = u_fmarea i_fiscal_year = u_fyear i_flg_fund_check = 'X' EXCEPTIONS fund_blank = 2 OTHERS = 5.

FM_FIKRS_READ CALL FUNCTION 'FM_FIKRS_READ' EXPORTING i_fikrs = u_fmarea IMPORTING e_f_fm01 = l_s_fm01 EXCEPTIONS input_error = 1 not_found = 2 OTHERS = 3.



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