SAP Reports / Programs

RDISALL SAP ABAP Report - Cost Distribution Processing







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

DIS01 - Collective Processing Distribution


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 RDISALL. "Basic submit
SUBMIT RDISALL AND RETURN. "Return to original report after report execution complete
SUBMIT RDISALL 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: SC_GRPR2 = Grouping WBS Element
Selection Text: P_TEST = D .
Selection Text: P_PERIO = D .
Selection Text: P_KOKRS1 = D .
Selection Text: P_GJAHR = D .
Selection Text: P_DELTA = Delta mode
Selection Text: P_DELIS = D .
Selection Text: P_BUDAT = Posting Date
Title: Cost Distribution Processing
Text Symbol: 037 = Messages
Text Symbol: 021 = Receiv. Object
Text Symbol: 020 = ValType
Text Symbol: 019 = Ty.
Text Symbol: 018 = MRP Element
Text Symbol: 017 = Material
Text Symbol: 016 = Group. WBS Elemnt
Text Symbol: 015 = Fiscal year
Text Symbol: 014 = Period
Text Symbol: 013 = Upd. Run
Text Symbol: 012 = Test Run
Text Symbol: 011 = Time
Text Symbol: 010 = Date
Text Symbol: 009 = Production Orders
Text Symbol: 008 = POs
Text Symbol: 007 = Number of Objects Processed
Text Symbol: 006 = Plnt
Text Symbol: 005 = Group. WBS Elemnt
Text Symbol: 004 = Cost Distribution (GPD)
Text Symbol: 003 = Options
Text Symbol: 002 = Period
Text Symbol: 001 = Selection


INCLUDES used within this REPORT RDISALL

INCLUDE RDISALLTOP.
INCLUDE SCHEDMAN_EVENTS.
INCLUDE RDISALLF01.
INCLUDE RDISALLF02.


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:

PEG08_CHECK_AUTHORIZATION * CALL FUNCTION 'PEG08_CHECK_AUTHORIZATION' * EXPORTING * i_object = 'I_GPD_DIST' * i_werks = ls_werks-werks * i_mode = 'c' * IMPORTING * o_mode = l_omode.

PEG08_CHECK_AUTHORIZATION CALL FUNCTION 'PEG08_CHECK_AUTHORIZATION' EXPORTING i_object = 'I_GPD_XP' i_tcode = 'DIS01' "to take care of background processing i_mode = 'c' IMPORTING o_mode = l_omode.

K_DATE_TO_PERIOD_CONVERT CALL FUNCTION 'K_DATE_TO_PERIOD_CONVERT' EXPORTING i_date = sy-datlo i_kokrs = g_kokrs IMPORTING e_gjahr = lv_gjahr e_perio = lv_perio.

K_PERIOD_CHECK_IN_KOKRS CALL FUNCTION 'K_PERIOD_CHECK_IN_KOKRS' EXPORTING i_perio = lv_perio i_gjahr = lv_gjahr i_kokrs = g_kokrs IMPORTING e_previous_perio = p_perio e_previous_gjahr = p_gjahr EXCEPTIONS period_not_valid = 0.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING kokrs = g_kokrs IMPORTING e_tka01 = ls_tka01.

LAST_DAY_IN_PERIOD_GET CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = p_gjahr i_periv = ls_tka01-lmona i_poper = p_perio IMPORTING e_date = p_budat.

K_DATE_TO_PERIOD_CONVERT CALL FUNCTION 'K_DATE_TO_PERIOD_CONVERT' EXPORTING i_date = p_budat i_kokrs = g_kokrs IMPORTING e_gjahr = lv_gjahr e_perio = lv_perio.

K_DATE_TO_PERIOD_CONVERT CALL FUNCTION 'K_DATE_TO_PERIOD_CONVERT' EXPORTING i_date = sy-datlo i_kokrs = g_kokrs IMPORTING e_gjahr = l_gjahr e_perio = l_perio.

K_PERIOD_CHECK_IN_KOKRS CALL FUNCTION 'K_PERIOD_CHECK_IN_KOKRS' EXPORTING i_perio = l_perio i_gjahr = l_gjahr i_kokrs = g_kokrs IMPORTING e_previous_perio = p_perio e_previous_gjahr = p_gjahr EXCEPTIONS period_not_valid = 0.



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