SAP FKK_BI_SHOW_PROGRAM_RESULTS Function Module for
FKK_BI_SHOW_PROGRAM_RESULTS is a standard fkk bi show program results SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for fkk bi show program results FM, simply by entering the name FKK_BI_SHOW_PROGRAM_RESULTS into the relevant SAP transaction such as SE37 or SE38.
Function Group: FKKBI_RESULTS_DISP
Program Name: SAPLFKKBI_RESULTS_DISP
Main Program: SAPLFKKBI_RESULTS_DISP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FKK_BI_SHOW_PROGRAM_RESULTS pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'FKK_BI_SHOW_PROGRAM_RESULTS'".
EXPORTING
* IM_HEADER = ' ' "
* IM_BILLDOC_TAB = "
* IM_BILLDOCNO_TAB = "
* IM_BILLTASK_TAB = "
* IM_CFCNO_TAB = "Table of Generated Clarification Cases
* IM_CFCNO_CLOSED_TAB = "Table of Closed Clarification Cases
* IM_EDR_BI_TAB = "
* IM_EDR_BI_MON_HIDE = ' ' "
* IM_EDR_RJ_TAB = "
* IM_EDR_WO_TAB = "
* IM_LOG_HANDLE = "
* IM_RESULTS = "
* IM_LOG_NUMBER = "
* IM_RESULTS_OBJECT = "
* IM_PROCESS = 'BI' "
* IM_CNT_BD_REVERSED = "Number of Reversed Billing Documents
* IM_CNT_BT_PROCESSED = "Number of Billing Orders Processed
* IM_CNT_BT_TOTAL = "Number of Selected Billing Orders
* IM_SIMRUN = "Simulation run?
* IM_TRACING_ACTIVE = "Tracing Active?
* IM_BILLACC_TAB = "
EXCEPTIONS
CX_FKKBI_GENERAL_FAULT = 1
IMPORTING Parameters details for FKK_BI_SHOW_PROGRAM_RESULTS
IM_HEADER -
Data type: LVC_TITLEDefault: SPACE
Optional: Yes
Call by Reference: Yes
IM_BILLDOC_TAB -
Data type: FKKINVBILL_TABOptional: Yes
Call by Reference: Yes
IM_BILLDOCNO_TAB -
Data type: FKKINV_BILLDOCNO_HTABOptional: Yes
Call by Reference: Yes
IM_BILLTASK_TAB -
Data type: FKKBIBILLTASK_TABOptional: Yes
Call by Reference: Yes
IM_CFCNO_TAB - Table of Generated Clarification Cases
Data type: FKKINV_INVCFCNO_TABOptional: Yes
Call by Reference: Yes
IM_CFCNO_CLOSED_TAB - Table of Closed Clarification Cases
Data type: FKKINV_INVCFCNO_TABOptional: Yes
Call by Reference: Yes
IM_EDR_BI_TAB -
Data type: FKKBIEDR_TABOptional: Yes
Call by Reference: Yes
IM_EDR_BI_MON_HIDE -
Data type: ABAP_BOOLDefault: SPACE
Optional: Yes
Call by Reference: Yes
IM_EDR_RJ_TAB -
Data type: FKKBIEDRRJ_TABOptional: Yes
Call by Reference: Yes
IM_EDR_WO_TAB -
Data type: FKKBIEDRWO_TABOptional: Yes
Call by Reference: Yes
IM_LOG_HANDLE -
Data type: BALLOGHNDLOptional: Yes
Call by Reference: Yes
IM_RESULTS -
Data type: FKKBIRESULTS_TABOptional: Yes
Call by Reference: Yes
IM_LOG_NUMBER -
Data type: BAL_T_LGNMOptional: Yes
Call by Reference: Yes
IM_RESULTS_OBJECT -
Data type: CL_FKKBI_BI_DIALOG_RESULT_DISPOptional: Yes
Call by Reference: Yes
IM_PROCESS -
Data type: CHAR2Default: 'BI'
Optional: Yes
Call by Reference: Yes
IM_CNT_BD_REVERSED - Number of Reversed Billing Documents
Data type: INT4Optional: Yes
Call by Reference: Yes
IM_CNT_BT_PROCESSED - Number of Billing Orders Processed
Data type: INT4Optional: Yes
Call by Reference: Yes
IM_CNT_BT_TOTAL - Number of Selected Billing Orders
Data type: INT4Optional: Yes
Call by Reference: Yes
IM_SIMRUN - Simulation run?
Data type: ABAP_BOOLOptional: Yes
Call by Reference: Yes
IM_TRACING_ACTIVE - Tracing Active?
Data type: ABAP_BOOLOptional: Yes
Call by Reference: Yes
IM_BILLACC_TAB -
Data type: BILLACCOUNT_TABOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
CX_FKKBI_GENERAL_FAULT - Exception Class for Billing in FI-CA
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FKK_BI_SHOW_PROGRAM_RESULTS Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_im_header | TYPE LVC_TITLE, " SPACE | |||
| lv_cx_fkkbi_general_fault | TYPE LVC_TITLE, " | |||
| lv_im_billdoc_tab | TYPE FKKINVBILL_TAB, " | |||
| lv_im_billdocno_tab | TYPE FKKINV_BILLDOCNO_HTAB, " | |||
| lv_im_billtask_tab | TYPE FKKBIBILLTASK_TAB, " | |||
| lv_im_cfcno_tab | TYPE FKKINV_INVCFCNO_TAB, " | |||
| lv_im_cfcno_closed_tab | TYPE FKKINV_INVCFCNO_TAB, " | |||
| lv_im_edr_bi_tab | TYPE FKKBIEDR_TAB, " | |||
| lv_im_edr_bi_mon_hide | TYPE ABAP_BOOL, " SPACE | |||
| lv_im_edr_rj_tab | TYPE FKKBIEDRRJ_TAB, " | |||
| lv_im_edr_wo_tab | TYPE FKKBIEDRWO_TAB, " | |||
| lv_im_log_handle | TYPE BALLOGHNDL, " | |||
| lv_im_results | TYPE FKKBIRESULTS_TAB, " | |||
| lv_im_log_number | TYPE BAL_T_LGNM, " | |||
| lv_im_results_object | TYPE CL_FKKBI_BI_DIALOG_RESULT_DISP, " | |||
| lv_im_process | TYPE CHAR2, " 'BI' | |||
| lv_im_cnt_bd_reversed | TYPE INT4, " | |||
| lv_im_cnt_bt_processed | TYPE INT4, " | |||
| lv_im_cnt_bt_total | TYPE INT4, " | |||
| lv_im_simrun | TYPE ABAP_BOOL, " | |||
| lv_im_tracing_active | TYPE ABAP_BOOL, " | |||
| lv_im_billacc_tab | TYPE BILLACCOUNT_TAB. " |
|   CALL FUNCTION 'FKK_BI_SHOW_PROGRAM_RESULTS' " |
| EXPORTING | ||
| IM_HEADER | = lv_im_header | |
| IM_BILLDOC_TAB | = lv_im_billdoc_tab | |
| IM_BILLDOCNO_TAB | = lv_im_billdocno_tab | |
| IM_BILLTASK_TAB | = lv_im_billtask_tab | |
| IM_CFCNO_TAB | = lv_im_cfcno_tab | |
| IM_CFCNO_CLOSED_TAB | = lv_im_cfcno_closed_tab | |
| IM_EDR_BI_TAB | = lv_im_edr_bi_tab | |
| IM_EDR_BI_MON_HIDE | = lv_im_edr_bi_mon_hide | |
| IM_EDR_RJ_TAB | = lv_im_edr_rj_tab | |
| IM_EDR_WO_TAB | = lv_im_edr_wo_tab | |
| IM_LOG_HANDLE | = lv_im_log_handle | |
| IM_RESULTS | = lv_im_results | |
| IM_LOG_NUMBER | = lv_im_log_number | |
| IM_RESULTS_OBJECT | = lv_im_results_object | |
| IM_PROCESS | = lv_im_process | |
| IM_CNT_BD_REVERSED | = lv_im_cnt_bd_reversed | |
| IM_CNT_BT_PROCESSED | = lv_im_cnt_bt_processed | |
| IM_CNT_BT_TOTAL | = lv_im_cnt_bt_total | |
| IM_SIMRUN | = lv_im_simrun | |
| IM_TRACING_ACTIVE | = lv_im_tracing_active | |
| IM_BILLACC_TAB | = lv_im_billacc_tab | |
| EXCEPTIONS | ||
| CX_FKKBI_GENERAL_FAULT = 1 | ||
| . " FKK_BI_SHOW_PROGRAM_RESULTS | ||
ABAP code using 7.40 inline data declarations to call FM FKK_BI_SHOW_PROGRAM_RESULTS
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_im_header) | = ' '. | |||
| DATA(ld_im_edr_bi_mon_hide) | = ' '. | |||
| DATA(ld_im_process) | = 'BI'. | |||
Search for further information about these or an SAP related objects