SAP BWFIR_READ_BSID_CPUDT_DATA Function Module for
BWFIR_READ_BSID_CPUDT_DATA is a standard bwfir read bsid cpudt data 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 bwfir read bsid cpudt data FM, simply by entering the name BWFIR_READ_BSID_CPUDT_DATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: BWFIR
Program Name: SAPLBWFIR
Main Program: SAPLBWFIR
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function BWFIR_READ_BSID_CPUDT_DATA 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 'BWFIR_READ_BSID_CPUDT_DATA'".
EXPORTING
* BLOCK_DATA = ' ' "
* BLOCK_SIZE = "
IMPORTING
FLAG_CURSOR_OPEN = "
TABLES
I_FISEL = "
I_SELECTED_FIELDS = "
I_DATA_TABLE = "
IMPORTING Parameters details for BWFIR_READ_BSID_CPUDT_DATA
BLOCK_DATA -
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
BLOCK_SIZE -
Data type: SY-TABIXOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BWFIR_READ_BSID_CPUDT_DATA
FLAG_CURSOR_OPEN -
Data type: BWFI_CURSOR_FLAGOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BWFIR_READ_BSID_CPUDT_DATA
I_FISEL -
Data type: SBIWA_T_SELECTOptional: No
Call by Reference: No ( called with pass by value option)
I_SELECTED_FIELDS -
Data type: SBIWA_T_FIELDSOptional: No
Call by Reference: No ( called with pass by value option)
I_DATA_TABLE -
Data type: BWFI_T_DATA_BSIDOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BWFIR_READ_BSID_CPUDT_DATA 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: | ||||
lt_i_fisel | TYPE STANDARD TABLE OF SBIWA_T_SELECT, " | |||
lv_block_data | TYPE C, " SPACE | |||
lv_flag_cursor_open | TYPE BWFI_CURSOR_FLAG, " | |||
lv_block_size | TYPE SY-TABIX, " | |||
lt_i_selected_fields | TYPE STANDARD TABLE OF SBIWA_T_FIELDS, " | |||
lt_i_data_table | TYPE STANDARD TABLE OF BWFI_T_DATA_BSID. " |
  CALL FUNCTION 'BWFIR_READ_BSID_CPUDT_DATA' " |
EXPORTING | ||
BLOCK_DATA | = lv_block_data | |
BLOCK_SIZE | = lv_block_size | |
IMPORTING | ||
FLAG_CURSOR_OPEN | = lv_flag_cursor_open | |
TABLES | ||
I_FISEL | = lt_i_fisel | |
I_SELECTED_FIELDS | = lt_i_selected_fields | |
I_DATA_TABLE | = lt_i_data_table | |
. " BWFIR_READ_BSID_CPUDT_DATA |
ABAP code using 7.40 inline data declarations to call FM BWFIR_READ_BSID_CPUDT_DATA
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_block_data) | = ' '. | |||
"SELECT single TABIX FROM SY INTO @DATA(ld_block_size). | ||||
Search for further information about these or an SAP related objects