SAP BKK_PA_CLOSCTRL_SCR_REFR_OUT Function Module for Format Output Data for Mass Data By Using Selection
BKK_PA_CLOSCTRL_SCR_REFR_OUT is a standard bkk pa closctrl scr refr out SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Format Output Data for Mass Data By Using Selection processing and below is the pattern details for this FM, 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 bkk pa closctrl scr refr out FM, simply by entering the name BKK_PA_CLOSCTRL_SCR_REFR_OUT into the relevant SAP transaction such as SE37 or SE38.
Function Group: FBMM
Program Name: SAPLFBMM
Main Program: SAPLFBMM
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function BKK_PA_CLOSCTRL_SCR_REFR_OUT 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 'BKK_PA_CLOSCTRL_SCR_REFR_OUT'"Format Output Data for Mass Data By Using Selection.
EXPORTING
* I_R_BKKRS = "
* I_APPLCATG = "
* I_R_APPLCATG = "
* I_DATEFROM = "
* I_DATETO = "
IMPORTING
E_TAB_RUNINFO = "
E_TAB_RUNBKKRS = "
IMPORTING Parameters details for BKK_PA_CLOSCTRL_SCR_REFR_OUT
I_R_BKKRS -
Data type: BKK_R_BKKRSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_APPLCATG -
Data type: BKKD_APPLCATGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_R_APPLCATG -
Data type: BKKD_R_APPLCATGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_DATEFROM -
Data type: SY-DATUMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_DATETO -
Data type: SY-DATUMOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BKK_PA_CLOSCTRL_SCR_REFR_OUT
E_TAB_RUNINFO -
Data type: BKKD_TAB_IBKKMRUNINFOOptional: No
Call by Reference: No ( called with pass by value option)
E_TAB_RUNBKKRS -
Data type: BKKD_TAB_IBKKMRUNBKKRSOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BKK_PA_CLOSCTRL_SCR_REFR_OUT 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_i_r_bkkrs | TYPE BKK_R_BKKRS, " | |||
lv_e_tab_runinfo | TYPE BKKD_TAB_IBKKMRUNINFO, " | |||
lv_i_applcatg | TYPE BKKD_APPLCATG, " | |||
lv_e_tab_runbkkrs | TYPE BKKD_TAB_IBKKMRUNBKKRS, " | |||
lv_i_r_applcatg | TYPE BKKD_R_APPLCATG, " | |||
lv_i_datefrom | TYPE SY-DATUM, " | |||
lv_i_dateto | TYPE SY-DATUM. " |
  CALL FUNCTION 'BKK_PA_CLOSCTRL_SCR_REFR_OUT' "Format Output Data for Mass Data By Using Selection |
EXPORTING | ||
I_R_BKKRS | = lv_i_r_bkkrs | |
I_APPLCATG | = lv_i_applcatg | |
I_R_APPLCATG | = lv_i_r_applcatg | |
I_DATEFROM | = lv_i_datefrom | |
I_DATETO | = lv_i_dateto | |
IMPORTING | ||
E_TAB_RUNINFO | = lv_e_tab_runinfo | |
E_TAB_RUNBKKRS | = lv_e_tab_runbkkrs | |
. " BKK_PA_CLOSCTRL_SCR_REFR_OUT |
ABAP code using 7.40 inline data declarations to call FM BKK_PA_CLOSCTRL_SCR_REFR_OUT
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."SELECT single DATUM FROM SY INTO @DATA(ld_i_datefrom). | ||||
"SELECT single DATUM FROM SY INTO @DATA(ld_i_dateto). | ||||
Search for further information about these or an SAP related objects