SAP Reports / Programs

RKATARIF SAP ABAP Report - Price Report for Activity Types and Business Processes







RKATARIF 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 RKATARIF 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

CPBT - Bus. Process.: Activity Price Report
KSBT - Cost centers: Activity prices


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 RKATARIF. "Basic submit
SUBMIT RKATARIF AND RETURN. "Return to original report after report execution complete
SUBMIT RKATARIF 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: YEAR = Fiscal Year
Selection Text: VERSION = Version
Selection Text: TO_PER = to
Selection Text: TARIFEH = Price Unit
Selection Text: S_PRZNR = Business Process Group
Selection Text: S_LSTAR = Activity Type Group
Selection Text: S_KOSTL = Cost Center Group
Selection Text: R_TARKZ = Price Indicator
Selection Text: R_PRZNR = Business Process(es)
Selection Text: R_LSTAR = Activity Type(s)
Selection Text: R_KOSTL = Cost Center(s)
Selection Text: P_USED1 = All Prices
Selection Text: P_USED = Allocated Price Only
Selection Text: FROM_PER = Period
Title: Price Report for Activity Types and Business Processes
Text Symbol: 031 = Acty price used for actual allocation
Text Symbol: 032 = Acty price used for plan allocation
Text Symbol: 040 = B;; Abbreviation for all allocations (actual & plan) - see DE docu TARVKZ
Text Symbol: 041 = A;; Abbreviation for actual allocations - see DE docu TARVKZ
Text Symbol: 042 = P;; Abbreviation for plan allocations - see DE docu TARVKZ
Text Symbol: GGP = Business Process Group
Text Symbol: 030 = Activity price used for actual/plan allocation
Text Symbol: 022 = to
Text Symbol: 021 = From Period
Text Symbol: 019 = Cost Centers/Activity Types
Text Symbol: 017 = Business Processes
Text Symbol: 016 = Cost Centers
Text Symbol: 015 = Display All Selected Prices
Text Symbol: 014 = Display Only Activity Prices Used for Allocation ;;
Text Symbol: 012 = Selection Parameters
Text Symbol: 010 = Data is being read
Text Symbol: 008 = To
Text Symbol: 004 = Cost Center
Text Symbol: 003 = Activity Type
Text Symbol: 002 = Business Process
Text Symbol: 001 = or
Text Symbol: GKS = Cost Center Group
Text Symbol: T01 = Exit Report





Text Symbol: Q01 = Do you want to exit the report?
Text Symbol: H03 = Initial Screen
Text Symbol: H02 = Overview Screen
Text Symbol: H01 = Period Screen
Text Symbol: GLA = Activity Type Group


INCLUDES used within this REPORT RKATARIF

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:

G_REPORT_INTERFACE_INIT CALL FUNCTION 'G_REPORT_INTERFACE_INIT' IMPORTING SUBRC = RC_SUBRC TABLES IT_FIELDR = IT_FIELDR.

G_REPORT_FIND_DIMENSION CALL FUNCTION 'G_REPORT_FIND_DIMENSION' EXPORTING DIM_FIELD = 'KOKRS ' IMPORTING SUBRC = L_SUBRC DIM_DATA = DIM_DATA.

G_REPORT_FIND_DIMENSION CALL FUNCTION 'G_REPORT_FIND_DIMENSION' EXPORTING DIM_FIELD = 'GJAHR ' IMPORTING SUBRC = L_SUBRC DIM_DATA = DIM_DATA.

G_REPORT_FIND_DIMENSION CALL FUNCTION 'G_REPORT_FIND_DIMENSION' EXPORTING DIM_FIELD = 'VERSN ' IMPORTING SUBRC = L_SUBRC DIM_DATA = DIM_DATA.

G_REPORT_FIND_DIMENSION CALL FUNCTION 'G_REPORT_FIND_DIMENSION' EXPORTING DIM_FIELD = 'PERBL ' IMPORTING SUBRC = L_SUBRC DIM_DATA = DIM_DATA.

G_REPORT_GET_DIMENSION_RANGES CALL FUNCTION 'G_REPORT_GET_DIMENSION_RANGES' EXPORTING DIM_FIELD = 'KOSTL ' TABLES RANGES_TAB = R_KOSTL EXCEPTIONS RC_INTERFACE_NOT_INITIALIZED = 1 RC_INVALID_DIM_FIELD = 2 RC_EMPTY_RANGES_TABLE = 3 OTHERS = 4.

G_REPORT_GET_DIMENSION_RANGES CALL FUNCTION 'G_REPORT_GET_DIMENSION_RANGES' EXPORTING DIM_FIELD = 'LSTAR ' TABLES RANGES_TAB = R_LSTAR EXCEPTIONS RC_INTERFACE_NOT_INITIALIZED = 1 RC_INVALID_DIM_FIELD = 2 RC_EMPTY_RANGES_TABLE = 3 OTHERS = 4.

G_REPORT_GET_DIMENSION_RANGES CALL FUNCTION 'G_REPORT_GET_DIMENSION_RANGES' EXPORTING DIM_FIELD = 'PRZNR ' TABLES RANGES_TAB = R_PRZNR EXCEPTIONS RC_INTERFACE_NOT_INITIALIZED = 1 RC_INVALID_DIM_FIELD = 2 RC_EMPTY_RANGES_TABLE = 3 OTHERS = 4.

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING P_STATUS = '1000' P_PROGRAM = 'RKATARIF' TABLES P_EXCLUDE = LT_EXCLUDE EXCEPTIONS OTHERS = 0.

K_GROUP_SELECT CALL FUNCTION 'K_GROUP_SELECT' EXPORTING CLASS = '0H' FIELD_NAME = 'PRZNR' CRUSER = '*' SEARCHFLD = LD_SEARCH * searchfld_required = sfselect SEARCHFLD_INPUT = ' ' TABLE = 'CCSS' TYPELIST = 'BS' UPDUSER = '*' IMPORTING SET_NAME = S_PRZNR EXCEPTIONS NO_SET_PICKED = 01.

K_GROUP_SELECT CALL FUNCTION 'K_GROUP_SELECT' EXPORTING CLASS = '0H' FIELD_NAME = 'KOSTL' CRUSER = '*' SEARCHFLD = LD_SEARCH * searchfld_required = sfselect SEARCHFLD_INPUT = ' ' TABLE = 'CCSS' TYPELIST = 'BS' UPDUSER = '*' IMPORTING SET_NAME = S_KOSTL EXCEPTIONS NO_SET_PICKED = 01.

K_GROUP_SELECT CALL FUNCTION 'K_GROUP_SELECT' EXPORTING CLASS = '0H' FIELD_NAME = 'LSTAR' CRUSER = '*' SEARCHFLD = LD_SEARCH * searchfld_required = sfselect SEARCHFLD_INPUT = ' ' TABLE = 'CCSS' TYPELIST = 'BS' UPDUSER = '*' IMPORTING SET_NAME = S_LSTAR EXCEPTIONS NO_SET_PICKED = 01.

K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING DISPLAY = ' ' I_KOKRS = ' ' POPUP = '1' IMPORTING E_KOKRS = KOKRS EXCEPTIONS NOT_FOUND = 01.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING FUNCNAME = LD_FUNCNAME_CHECK_DATE EXCEPTIONS FUNCTION_NOT_EXIST = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = LD_STRUCTURE_NAME i_client_never_display = 'X' CHANGING ct_fieldcat = LT_FIELDCAT.

REUSE_ALV_FIELDCATALOG_MERGE





CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = LD_STRUCTURE_NAME i_client_never_display = 'X' CHANGING ct_fieldcat = LT_FIELDCAT.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING I_SAVE = 'A' CHANGING CS_VARIANT = LS_VARIANT EXCEPTIONS OTHERS = 1.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_BUFFER_ACTIVE = 'X' I_CALLBACK_PROGRAM = LC_SELF I_CALLBACK_PF_STATUS_SET = 'PF_STATUS_SET_GRUNDLI' I_CALLBACK_USER_COMMAND = 'USER_COMMAND' I_CALLBACK_TOP_OF_PAGE = 'WRITE_REPORT_HEADER_OVERVIEW' I_STRUCTURE_NAME = LD_STRUCTURE_NAME IS_LAYOUT = LD_LAYOUT IT_FIELDCAT = LT_FIELDCAT IT_EXCLUDING = LT_EXCLUDE_TAB_OVERVIEW IT_SORT = LT_SORTINFO_OVERVIEW[] I_SAVE = 'A' IS_VARIANT = LS_VARIANT * IT_EVENTS = LT_EVENT[] TABLES T_OUTTAB = GT_DATA EXCEPTIONS PROGRAM_ERROR = 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 RKATARIF or its description.