SAP Reports / Programs

RFKKOP07 SAP ABAP Report - Evaluation of Extracted Open Items







RFKKOP07 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for trados = fi This report: Reads a file created by the report for selecting open items Collects the items in an internal table with a predefined structure Provides the table in an ALV grid for evaluation You can use the report directly or use it as a template for your own evaluations...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RFKKOP07 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

FPO7 - Analysis of Extracted Open Items
FPO7F - Display Non-Resident Customers


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 RFKKOP07. "Basic submit
SUBMIT RFKKOP07 AND RETURN. "Return to original report after report execution complete
SUBMIT RFKKOP07 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: P_UNAME = D .
Selection Text: P_LAUFI = D .
Selection Text: P_LAUFD = D .
Selection Text: P_KEYD = D .
Selection Text: P_CNTR = D .
Selection Text: P_VARI = ALV Grid Variant
Selection Text: P_TXT3 = Header Text (Line 3)
Selection Text: P_TXT2 = Header Text (Line 2)
Selection Text: P_TXT1 = Header Txt
Selection Text: P_STR = Structure Name
Selection Text: P_SINGLE = File from Report
Selection Text: P_OP04 = FPO4/FPO4P
Selection Text: P_OP01 = FPO1/FPO1P
Selection Text: P_MASS = File from Mass Activity
Selection Text: P_LFDNR = Sequence Number
Selection Text: P_INTNR = Interval Number
Selection Text: P_GENER = Joint Evaluation
Selection Text: P_FORE = Non-Resident Customers
Selection Text: P_DAT = Date
Title: Evaluation of Extracted Open Items
Text Symbol: T03 = Display Parameters
Text Symbol: T02 = Evaluation Parameters
Text Symbol: T01 = Data Source
Text Symbol: H21 = Totals List
Text Symbol: H20 = List Open Items
Text Symbol: H11 = Key Date-Specific Evaluation of Open Items
Text Symbol: H02 = Evaluation on Key Date &1
Text Symbol: H01 = Receivables and Payables with Non-Residents
Text Symbol: F03 = Files
Text Symbol: F02 = Overview of Files Created
Text Symbol: F01 = Scheduling via Job Container


INCLUDES used within this REPORT RFKKOP07

INCLUDE RFKKOP07TOP . " GLOBAL DATA


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:

LVC_VARIANT_F4 CALL FUNCTION 'LVC_VARIANT_F4' EXPORTING is_variant = lay_vari i_save = 'A' IMPORTING e_exit = answ es_variant = lay_vari EXCEPTIONS OTHERS = 3.

LVC_VARIANT_EXISTENCE_CHECK CALL FUNCTION 'LVC_VARIANT_EXISTENCE_CHECK' EXPORTING i_save = 'A' CHANGING cs_variant = lay_vari EXCEPTIONS OTHERS = 4.

FKK_SELP_OP_FILE_INT_GET CALL FUNCTION 'FKK_SELP_OP_FILE_INT_GET' EXPORTING i_laufd = p_laufd i_laufi = p_laufi TABLES t_intervals = intnr.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = 'FICA_OPEN_ITEMS' parameter_1 = p_uname parameter_2 = p_dat parameter_3 = p_lfdnr IMPORTING file_name = dataset_name EXCEPTIONS file_not_found = 1 OTHERS = 2.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = 'FICA_OPEN_ITEMS' parameter_1 = p_laufd parameter_2 = p_laufi parameter_3 = intnum IMPORTING file_name = dataset_name EXCEPTIONS file_not_found = 1 OTHERS = 2.

FKK_GET_APPLICATION CALL FUNCTION 'FKK_GET_APPLICATION' IMPORTING e_applk = applk EXCEPTIONS OTHERS = 0.

FKK_FUNC_MODULE_DETERMINE CALL FUNCTION 'FKK_FUNC_MODULE_DETERMINE' EXPORTING i_applk = applk i_fbeve = '9567' TABLES t_fbstab = fbstab.

FKK_SAMPLE_9567 CALL FUNCTION 'FKK_SAMPLE_9567'.

BUA_BUT020_SELECT_WITH_PARTNER CALL FUNCTION 'BUA_BUT020_SELECT_WITH_PARTNER' EXPORTING i_partner = fkkop_copy-gpart i_valdt_sel = p_keyd TABLES t_but020 = tp EXCEPTIONS OTHERS = 5.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_bypassing_buffer = 'X' i_structure_name = p_str i_save = 'A' is_variant = lay_vari i_callback_program = sy-repid i_callback_top_of_page = 'TOP_OF_PAGE' i_grid_title = grid_title TABLES t_outtab = EXCEPTIONS program_error = 1 OTHERS = 2.

RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = sy-repid TABLES selection_table = sel_tab EXCEPTIONS OTHERS = 3.

FKJO_JC_PLAN_JOB_ST CALL FUNCTION 'FKJO_JC_PLAN_JOB_ST' EXPORTING i_jobname = job_id i_repname = 'RFKKOP07' i_allow_online = ' ' TABLES t_seltab = sel_tab EXCEPTIONS cancelled = 1 invalid_input = 2 more_params_needed = 3 schedule_error = 4 OTHERS = 5.

FKK_SELP_OP_FILE_SHOW CALL FUNCTION 'FKK_SELP_OP_FILE_SHOW' IMPORTING e_tcode = tcode e_uname = uname e_datum = datum e_lfdnr = lfdnr e_laufd = laufd e_laufi = laufi e_keydate = keyd.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = header EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

BAL_DB_SAVE * CALL FUNCTION 'BAL_DB_SAVE' * EXPORTING * i_save_all = 'X' * EXCEPTIONS * log_not_found = 1 * save_not_allowed = 2 * numbering_error = 3 * OTHERS = 4.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = msg * I_LOG_HANDLE = EXCEPTIONS log_not_found = 0 OTHERS = 1.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = top_text.



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