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

KFPR_ARCH_SET_DELETION_FLAG SAP ABAP Report - Transfer Price Agreement/Allocation: Set Deletion Indicator







KFPR_ARCH_SET_DELETION_FLAG is a standard Executable ABAP Report 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 KFPR_ARCH_SET_DELETION_FLAG 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

KBEA - Trsfr Price Docs: Set Del.Indicator


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 KFPR_ARCH_SET_DELETION_FLAG. "Basic submit
SUBMIT KFPR_ARCH_SET_DELETION_FLAG AND RETURN. "Return to original report after report execution complete
SUBMIT KFPR_ARCH_SET_DELETION_FLAG 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: SO_BELNR = D Document number
Selection Text: P_TEST = D Test run
Selection Text: P_KOKRS = D Controlling area
Selection Text: KEY_DATE = Key date
Selection Text: BTKFPP = Transfer price agreements
Selection Text: BTKFPI = Transfer price allocations
Title: Transfer Price Agreement/Allocation: Set Deletion Indicator
Text Symbol: 040 = No archiving authorization exists for the following documents:
Text Symbol: 022 = Transfer price allocations
Text Symbol: 021 = Transfer price agreements
Text Symbol: 015 = Number of documents in which the deletion indicator was set:
Text Symbol: 012 = to
Text Symbol: 011 = Update run
Text Symbol: 010 = Test run
Text Symbol: 009 = Controlling area
Text Symbol: 008 = Key date
Text Symbol: 007 = Document categories
Text Symbol: 006 = Document number
Text Symbol: 005 = No documents were selected
Text Symbol: 004 = The following documents were locked by another user when the program ran:
Text Symbol: 002 = Processing options
Text Symbol: 001 = Select documents


INCLUDES used within this REPORT KFPR_ARCH_SET_DELETION_FLAG

INCLUDE KFPR_ARCH_TOP.


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:

KFPRS_DOC_TYPE_AUTHORITY_CHECK CALL FUNCTION 'KFPRS_DOC_TYPE_AUTHORITY_CHECK' EXPORTING I_ACTVT = ACTVT_ARCHIVIEREN I_KOKRS = CHECK_TAB-KOKRS I_BLART = CHECK_TAB-BLART I_BLTYP = CHECK_TAB-BLTYP EXCEPTIONS NO_AUTHORITY = 1.

ENQUEUE_EKFPK CALL FUNCTION 'ENQUEUE_EKFPK' EXPORTING KOKRS = CHECK_TAB-KOKRS BELNR = CHECK_TAB-BELNR EXCEPTIONS FOREIGN_LOCK = 1.

KFPRR_READ_DATA CALL FUNCTION 'KFPRR_READ_DATA' EXPORTING I_KOKRS = CHECK_TAB-KOKRS I_BELNR = CHECK_TAB-BELNR WITH_CURRENCIES = OFF IMPORTING E_KFPK = KFPK TABLES T_KFPE = T_KFPE T_KFPP = T_KFPP.

DEQUEUE_EKFPK CALL FUNCTION 'DEQUEUE_EKFPK' EXPORTING KOKRS = CHECK_TAB-KOKRS BELNR = CHECK_TAB-BELNR.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

CJPN_GET_WBS_ELEMENT CALL FUNCTION 'CJPN_GET_WBS_ELEMENT' EXPORTING I_PSPNR = L_KFPK-RPSPNR EXCEPTIONS NOT_FOUND = 1.

CJPN_GET_WBS_ELEMENT CALL FUNCTION 'CJPN_GET_WBS_ELEMENT' EXPORTING I_PSPNR = L_KFPK-SPSPNR EXCEPTIONS NOT_FOUND = 1.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING TCODE = iv_tcode EXCEPTIONS OK = 0 NOT_OK = 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 KFPR_ARCH_SET_DELETION_FLAG or its description.