SAP Reports / Programs | Project System | Revenues and Earnings | Transfer Prices and Decentralized Responsibility(PS-REV-TRF) SAP PS

KFPRFORMS SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

K_VERSN_VALUATION CALL FUNCTION 'K_VERSN_VALUATION' EXPORTING i_kokrs = et_kblk-kokrs TABLES t_tka09_v = lt_tka09.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-010 textline2 = text-020 titel = text-030 start_column = 25 start_row = 6 cancel_display = 'X' IMPORTING answer = ld_answer.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = p_msgid msgty = p_msgty msgv1 = p_msgv1 msgv2 = p_msgv2 msgv3 = p_msgv3 txtnr = p_msgno EXCEPTIONS not_active = 01.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING batch_list_type = ld_list_type object = text-040 EXCEPTIONS no_messages = 0.

K_INIT_OPEN_ITEM CALL FUNCTION 'K_INIT_OPEN_ITEM' EXPORTING refbn = ld_refbn rfpos = ld_rfpos.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING id = 'LTXT' language = '*' name = ld_tdname object = 'KBLK' TABLES selections = lt_thead EXCEPTIONS wrong_access_to_archive = 1 OTHERS = 2.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = 'LTXT' language = lt_thead-tdspras name = ld_tdname object = 'KBLK' IMPORTING header = lt_thead TABLES lines = lt_tline.

SAVE_TEXT CALL FUNCTION 'SAVE_TEXT' EXPORTING header = lt_thead insert = con_on TABLES lines = lt_tline.

COMMIT_TEXT CALL FUNCTION 'COMMIT_TEXT' EXPORTING object = 'KFPK' name = ld_text_name id = 'LTXT' language = lt_thead-tdspras.

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING id = 'LTXT' language = lt_thead-tdspras name = ld_tdname object = 'KBLK'.

COMMIT_TEXT CALL FUNCTION 'COMMIT_TEXT' EXPORTING object = 'KBLK' name = ld_tdname id = 'LTXT' language = lt_thead-tdspras.

KFPRV_POST_DATA CALL FUNCTION 'KFPRV_POST_DATA' IN UPDATE TASK EXPORTING i_kfpk = ls_kfpk i_objnr = ld_wbs_objnr TABLES t_kfpe = lt_kfpe t_kfpew = lt_kfpew t_kfpp = lt_kfpp t_kfppw = lt_kfppw.

KFPRS_OPEN_ITEM_WRITE CALL FUNCTION 'KFPRS_OPEN_ITEM_WRITE' EXPORTING i_process = 'FPREISVB' i_event = 'OPENITEM' i_kfpk = ls_kfpk i_vrgng = 'KFPP' TABLES it_kfpp = lt_kfpp it_kfpe = lt_kfpe.

KBLS_DETERMIN_FIXPRICE_VERSION CALL FUNCTION 'KBLS_DETERMIN_FIXPRICE_VERSION' IMPORTING e_version = c_fpr_versn EXCEPTIONS not_found = 1.

HFPM_COSSA_COSPA_RPSCO CALL FUNCTION 'HFPM_COSSA_COSPA_RPSCO' EXPORTING refresh = 'X' TABLES i_cossa = lt_cossa i_rpsco = lt_rpsco i_objnr = lt_objects.

HFPV_POST_RPSCO CALL FUNCTION 'HFPV_POST_RPSCO' TABLES t_rpsco = lt_rpsco.

NUMBER_RANGE_INTERVAL_LIST CALL FUNCTION 'NUMBER_RANGE_INTERVAL_LIST' EXPORTING object = 'IRW_BELEG' TABLES interval = lt_interval EXCEPTIONS nr_range_nr1_not_found = 1 nr_range_nr1_not_intern = 2 nr_range_nr2_must_be_space = 3 nr_range_nr2_not_extern = 4 nr_range_nr2_not_found = 5 object_not_found = 6 OTHERS = 9.

NUMBER_RANGE_INTERVAL_UPDATE CALL FUNCTION 'NUMBER_RANGE_INTERVAL_UPDATE' EXPORTING object = 'FIXEDPRICE' IMPORTING error_occured = ld_error_flag TABLES error_iv = lt_error_iv interval = lt_interval_2.

NUMBER_RANGE_UPDATE_CLOSE





CALL FUNCTION 'NUMBER_RANGE_UPDATE_CLOSE' EXPORTING object = 'FIXEDPRICE'.

RWIN_CHECK CALL FUNCTION 'RWIN_CHECK' EXPORTING event = 'PRUEFEN' gjahr = ld_gjahr process = 'AVC' TABLES tkomp = lt_tkomp.



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