SAP Reports / Programs | Controlling | Profitability Analysis(CO-PA) SAP CO

RKEB0601 SAP ABAP Report - Display Line Items







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

KE24 - Line Item Display - Actual Data
KE25 - Line Item Display - Plan Data


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 RKEB0601. "Basic submit
SUBMIT RKEB0601 AND RETURN. "Return to original report after report execution complete
SUBMIT RKEB0601 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: ALTPERIO = Week/year
Selection Text: ARTNR = Product
Selection Text: BELNR = Document number
Selection Text: BUKRS = Company code
Selection Text: ELAYOUT = Layout
Selection Text: FADAT = Billing date
Selection Text: G_WRNTYP = Warning type
Selection Text: HZDAT = Date created
Selection Text: KAUFN = Sales order
Selection Text: KNDNR = Customer
Selection Text: KSTAR = Cost element
Selection Text: PALEDGER = Currency type
Selection Text: PERIO = Period/year
Selection Text: PERKRS = Operating concern
Selection Text: PKOKRS = Controlling area
Selection Text: PPATYPE = Type of Profitability Analysis
Selection Text: PPLIKZ = Plan/actual indicator
Selection Text: PREADM = Read acc. to current structure
Selection Text: PREADM2 = Read as posted
Selection Text: PVALUTYP = Valuation
Selection Text: RBELN = Reference document number
Selection Text: RKAUFNR = CO order
Selection Text: SKOST = Sender cost center
Selection Text: USNAM = Entered by
Selection Text: VERSI = Version
Selection Text: VRGAR = Record type
Title: Display Line Items
Text Symbol: 401 = No line items were found in the database. Do you want to run a search in the archive?
Text Symbol: 001 = Layout
Text Symbol: 002 = Choose layout
Text Symbol: 008 = Page:
Text Symbol: 100 = Number of line items read
Text Symbol: 101 = Line item layout
Text Symbol: 102 = Additional selections...
Text Symbol: 103 = Selection Conditions
Text Symbol: 104 = Layout
Text Symbol: 105 = Mode of access
Text Symbol: 106 = Read acc. to current structure





Text Symbol: 107 = Read as posted
Text Symbol: 108 = Standard layout
Text Symbol: 109 = Execute in background
Text Symbol: 110 = Number of line items
Text Symbol: 111 = Layout
Text Symbol: 112 = Type of warning
Text Symbol: 113 = Value Field Selection...
Text Symbol: 114 = Data Source...
Text Symbol: 200 = Line items are being read
Text Symbol: 201 = List being prepared for display
Text Symbol: 202 = $ line items were read
Text Symbol: 203 = $ selection crit. were transferred
Text Symbol: 204 = Line Items: Selection Criteria
Text Symbol: 205 = $ line items were selected
Text Symbol: 300 = CACur;; controlling area currency
Text Symbol: 301 = Ocur ;; company code currency
Text Symbol: 302 = Op. concern currency
Text Symbol: 400 = Find in Archive


INCLUDES used within this REPORT RKEB0601

INCLUDE RKEPL001.
INCLUDE MKCBGCCO.


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:

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = text-400 TEXT_QUESTION = text-401 DISPLAY_CANCEL_BUTTON = ' ' IMPORTING ANSWER = answer.

RKD_RKB1X_SET CALL FUNCTION 'RKD_RKB1X_SET' EXPORTING APPLCLASS = APPLCLASS I_RKB1X = RKB1X IMPORTING E_RKB1X = RKB1X E_TABLE = TABNAME.

RKE_TP_VALUATION_CHECK CALL FUNCTION 'RKE_TP_VALUATION_CHECK' EXPORTING I_ERKRS = RKB1X-ERKRS IMPORTING E_ACTIVE = L_ACTIVE TABLES E_T_KOKRS = L_T_KOKRS.

RKE_READ_ERKRS CALL FUNCTION 'RKE_READ_ERKRS' EXPORTING I_ERKRS = RKB1X-ERKRS "#EC DOM_EQUAL IMPORTING e_tkeb = tkeb e_subrc = h_subrc.

RKE_FILL_SCREEN_FIELDTABLE CALL FUNCTION 'RKE_FILL_SCREEN_FIELDTABLE' EXPORTING ERG_RECH_BER = RKB1X-ERKRS MODUS = 'B' applclass = applclass TABNAME1 = TABNAME EPOS = 'X' I_RKB1X = RKB1X TABLES FDEPTABLE = DEP_TAB FIELDTABLE = DUMMY_TAB EXCEPTIONS ENTRY_NOT_FOUND = 01.

RKE_SEND_SELECTION_SCREEN CALL FUNCTION 'RKE_SEND_SELECTION_SCREEN' EXPORTING DETAIL = ' ' DISPLAY_MODUS = '1' einf_mehrf = 'N' START_COLUMN = 6 START_ROW = 4 TEXT_LENGTH = 40 WINDOW_LENGTH = 12 WINDOW_TITLE = ' ' WINDOW_WIDTH = 50 TABLES SEL_TABLE = SEND_TAB EXCEPTIONS ABNORMAL_LEAVE = 01 CRITERIA_NOT_FOUND = 02.

RKE_CHARACTERISTIC_SELECTION CALL FUNCTION 'RKE_CHARACTERISTIC_SELECTION' EXPORTING DISPLAY_MODUS = '1' INITIAL_VALUE = ' ' MORE = 'X' PARAMETER = ' ' ROW_MODUS = '2' SET = ' ' SORT = ' ' START_COLUMN = 6 START_ROW = 4 WINDOW_LENGTH = 20 WINDOW_TITLE = ' ' WINDOW_WIDTH = 83 TABLES char_table = char_tab dep_table = h_cec06_tab EXCEPTIONS ABNORMAL_LEAVE = 01 CRITERIA_NOT_FOUND = 02.

RKE_TP_VALUATION_CHECK CALL FUNCTION 'RKE_TP_VALUATION_CHECK' EXPORTING I_ERKRS = RKB1X-ERKRS IMPORTING E_ACTIVE = L_ACTIVE TABLES E_T_KOKRS = L_T_KOKRS.

DB_GET_INDEXES





CALL FUNCTION 'DB_GET_INDEXES' EXPORTING TABNAME = CO_TAB TABLES DBINDEXES = T_INDEXES.

RKE_CHANGE_ERKRS CALL FUNCTION 'RKE_CHANGE_ERKRS' EXPORTING FCODE = 'SE' I_ERKRS = PERKRS I_PA_TYPE = PPATYPE IMPORTING E_ERKRS = RKB1X-ERKRS E_PA_TYPE = RKB1X-PA_TYPE * OK_CODE = EXCEPTIONS ERKRS_INACTIVE = 1 ERKRS_NOT_DEFINED = 2 FOREIGN_LOCK = 3 NOT_AUTHORIZED = 4 OTHERS = 5.

RKD_RKB1X_SET CALL FUNCTION 'RKD_RKB1X_SET' EXPORTING APPLCLASS = APPLCLASS I_RKB1X = RKB1X IMPORTING E_RKB1X = RKB1X E_TABLE = TABNAME.

RKE_READ_ERKRS_MESSAGE CALL FUNCTION 'RKE_READ_ERKRS_MESSAGE' EXPORTING i_erkrs = rkb1x-erkrs "#EC DOM_EQUAL IMPORTING e_v_tkebb = l_v_tkebb et_v_tkebl = l_t_v_tkebl.

RKD_FIELD_TAB_FILL CALL FUNCTION 'RKD_FIELD_TAB_FILL' EXPORTING APPLCLASS = APPLCLASS I_TABLE = TABNAME LANGU = SY-LANGU I_RKB1X = RKB1X IMPORTING E_RKB1X = RKB1X TABLES FDEP_TAB = FDEP_TAB FIELD_TAB = FIELD_TAB.

RKE_CURRENCIES_GET CALL FUNCTION 'RKE_CURRENCIES_GET' EXPORTING I_ERKRS = RKB1X-ERKRS I_PALEDGER = RKEA1_C_PALEDGER-ERKRS IMPORTING et_v_curr = l_t_v_curr.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING TABNAME = L_TABNAME * ALL_TYPES = ' ' * LFIELDNAME = ' ' * GROUP_NAMES = ' ' * IMPORTING * X030L_WA = * DTELINFO_WA = * TTYPINFO_WA = * DDOBJTYPE = * DFIES_WA = TABLES * X031L_TAB = DFIES_TAB = L_T_DFIES EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

RKE_POPUP_TEXT_DECIDE CALL FUNCTION 'RKE_POPUP_TEXT_DECIDE' EXPORTING options = 'EC' OBJECT_ID = 'NA' OBJECT = H_MSGID TITEL = TEXT-204 IMPORTING ANSWER = ANSWER EXCEPTIONS OTHERS = 1.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = H_TEXT EXCEPTIONS OTHERS = 1.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = TEXT-200 EXCEPTIONS OTHERS = 1.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = H_TEXT EXCEPTIONS OTHERS = 1.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = TEXT-201 EXCEPTIONS OTHERS = 1.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = H_TEXT EXCEPTIONS OTHERS = 1.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING DYNAME = DYNAME DYNUMB = DYNUMB TABLES DYNPFIELDS = T_DYNPREAD.

RSTI_APPL_STACK_POP CALL FUNCTION 'RSTI_APPL_STACK_POP' IMPORTING I_REC = A_REC i_sen = l_sen EXCEPTIONS APPL_STACK_NOT_INITIALIZED = 01.

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = 'SELSCREEN' p_program = 'RKEB0601' TABLES p_exclude = lt_excluding.

RSTI_SELECTION_TRANSFORMATION CALL FUNCTION 'RSTI_SELECTION_TRANSFORMATION' TABLES IT_FIELDR = IT_FIELDR IT_SELR = IT_SEL EXCEPTIONS selection_tables_inconsistent = 03 no_selection_data = 04.

RSTI_SELECTION_DELETE CALL FUNCTION 'RSTI_SELECTION_DELETE'.

HELP_FORM_VALUES_GET CALL FUNCTION 'HELP_FORM_VALUES_GET' EXPORTING I_APPLCLASS = APPLCLASS I_FORM = SEARCHFLD I_SUBCLASSF = SUBCLASS I_TABNAME = DUMMY_TAB2-TABNM I_TXTMT = H_TEXT IMPORTING E_FORM = SEARCHFLD.

HELP_FORM_VALUES_GET CALL FUNCTION 'HELP_FORM_VALUES_GET' EXPORTING I_APPLCLASS = APPLCLASS I_FORM = SEARCHFLD I_SUBCLASSF = SUBCLASS I_TABNAME = DUMMY_TAB2-TABNM I_TXTMT = H_TEXT IMPORTING E_FORM = SEARCHFLD.




RSTI_NAVIGATE CALL FUNCTION 'RSTI_NAVIGATE' EXPORTING E_LEVEL = P_LEVEL IMPORTING I_EXIT = BBN_EXIT EXCEPTIONS APPL_STACK_NOT_INITIALIZED = 01.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' " Job eröffnen EXPORTING JOBNAME = H_JOBNAME IMPORTING JOBCOUNT = H_JOBCOUNT EXCEPTIONS jobname_missing = 4 OTHERS = 1.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' " Job schließen EXPORTING STRTIMMED = 'X' JOBNAME = H_JOBNAME JOBCOUNT = H_JOBCOUNT EXCEPTIONS jobname_missing = 4 job_nosteps = 5 job_notex = 6 OTHERS = 8.

BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING FORCEDMODE = ' ' JOBCOUNT = H_JOBCOUNT JOBNAME = H_JOBNAME EXCEPTIONS CANT_DELETE_EVENT_ENTRY = 01 CANT_DELETE_JOB = 02 CANT_DELETE_JOBLOG = 03 CANT_DELETE_STEPS = 04 CANT_DELETE_TIME_ENTRY = 05 CANT_DERELEASE_SUCCESSOR = 06 CANT_ENQ_PREDECESSOR = 07 CANT_ENQ_SUCCESSOR = 08 CANT_ENQ_TBTCO_ENTRY = 09 CANT_UPDATE_PREDECESSOR = 10 CANT_UPDATE_SUCCESSOR = 11 COMMIT_FAILED = 12 JOBCOUNT_MISSING = 13 JOBNAME_MISSING = 14 JOB_DOES_NOT_EXIST = 15 JOB_IS_ALREADY_RUNNING = 16 NO_DELETE_AUTHORITY = 17.

RKD_AUTHORITY_CHECK CALL FUNCTION 'RKD_AUTHORITY_CHECK' EXPORTING APPLCLASS = 'KE' " appl_e I_RKB1X = RKB1X TABNAME = TABNAME E_MESSAGE = 'X' "Ausgabe Error Msg im FB SUBCLASS = '11' "wegen BObjekten für Eposbas.

DB_GET_INDEXES call function 'DB_GET_INDEXES' exporting tabname = p_tabce tables dbindexes = t_indexes dbindflds = t_indflds.

RKE_FIELDS_SEL_DIALOG call function 'RKE_FIELDS_SEL_DIALOG' exporting i_erkrs = rkb1x-erkrs tables it_fields = lt_fieldcat[] xt_seltab = gt_vf_sel[].

AS_DATASOURCE_INIT CALL FUNCTION 'AS_DATASOURCE_INIT' EXPORTING I_REPORT = l_report I_REPORTTYPE = 'TR' it_objects = lt_objects[] IMPORTING e_use_database = r_usedb e_use_archive = r_usear e_use_infosys = r_useas e_archobj = r_object et_arch_sel = rt_files[].

AS_DATASOURCE_SELECT CALL FUNCTION 'AS_DATASOURCE_SELECT' EXPORTING it_objects = lt_objects[] CHANGING c_use_database = r_usedb c_use_archive = r_usear c_use_infosys = r_useas c_archobj = r_object ct_arch_sel = rt_files.



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