SAP FM_BUDGETPD_READ_MULTIPLE_DATA Function Module for Fonds im Finanzkreis/Gjahr bzw. Datum lesen (mehrere Sätze)
FM_BUDGETPD_READ_MULTIPLE_DATA is a standard fm budgetpd read multiple data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Fonds im Finanzkreis/Gjahr bzw. Datum lesen (mehrere Sätze) 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 fm budgetpd read multiple data FM, simply by entering the name FM_BUDGETPD_READ_MULTIPLE_DATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: FMBPDR
Program Name: SAPLFMBPDR
Main Program: SAPLFMBPDR
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function FM_BUDGETPD_READ_MULTIPLE_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 'FM_BUDGETPD_READ_MULTIPLE_DATA'"Fonds im Finanzkreis/Gjahr bzw. Datum lesen (mehrere Sätze).
EXPORTING
* IR_BUDGET_PERIODS = "Budget period range table
* I_FIKRS = "Finanzkreis
* I_GJAHR = "Geschäftsjahr
* I_DATE = "FM: Datum gültig bis
* I_POPER = "Periode
* I_FLG_TEXT = ' ' "Checkbox: selects texts
* I_FLG_FUNDBPD = ' ' "Checkbox: selct fund assignments
IMPORTING
E_T_FMBUDGETPD = "Budget Period
E_T_FMBUDGETPDT = "Budget Period texts
E_T_FMFUNDBPD = "Assignments of Budget Period to Funds
EXCEPTIONS
MASTER_DATA_NOT_FOUND = 1 ERROR_OCCURRED = 2
IMPORTING Parameters details for FM_BUDGETPD_READ_MULTIPLE_DATA
IR_BUDGET_PERIODS - Budget period range table
Data type: FM_T_RANGE_C10Optional: Yes
Call by Reference: Yes
I_FIKRS - Finanzkreis
Data type: FM01-FIKRSOptional: Yes
Call by Reference: Yes
I_GJAHR - Geschäftsjahr
Data type: FM01G-GJAHROptional: Yes
Call by Reference: Yes
I_DATE - FM: Datum gültig bis
Data type: FMFINCODE-DATABOptional: Yes
Call by Reference: Yes
I_POPER - Periode
Data type: T009B-POPEROptional: Yes
Call by Reference: Yes
I_FLG_TEXT - Checkbox: selects texts
Data type: XFELDDefault: SPACE
Optional: Yes
Call by Reference: Yes
I_FLG_FUNDBPD - Checkbox: selct fund assignments
Data type: XFELDDefault: SPACE
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for FM_BUDGETPD_READ_MULTIPLE_DATA
E_T_FMBUDGETPD - Budget Period
Data type: FM_T_BUDGETPDOptional: No
Call by Reference: Yes
E_T_FMBUDGETPDT - Budget Period texts
Data type: FM_T_BUDGETPDTOptional: No
Call by Reference: Yes
E_T_FMFUNDBPD - Assignments of Budget Period to Funds
Data type: FM_T_FUNDBPDOptional: No
Call by Reference: Yes
EXCEPTIONS details
MASTER_DATA_NOT_FOUND - Keine Werte gefunden
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_OCCURRED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FM_BUDGETPD_READ_MULTIPLE_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: | ||||
lv_e_t_fmbudgetpd | TYPE FM_T_BUDGETPD, " | |||
lv_ir_budget_periods | TYPE FM_T_RANGE_C10, " | |||
lv_master_data_not_found | TYPE FM_T_RANGE_C10, " | |||
lv_i_fikrs | TYPE FM01-FIKRS, " | |||
lv_error_occurred | TYPE FM01, " | |||
lv_e_t_fmbudgetpdt | TYPE FM_T_BUDGETPDT, " | |||
lv_i_gjahr | TYPE FM01G-GJAHR, " | |||
lv_e_t_fmfundbpd | TYPE FM_T_FUNDBPD, " | |||
lv_i_date | TYPE FMFINCODE-DATAB, " | |||
lv_i_poper | TYPE T009B-POPER, " | |||
lv_i_flg_text | TYPE XFELD, " SPACE | |||
lv_i_flg_fundbpd | TYPE XFELD. " SPACE |
  CALL FUNCTION 'FM_BUDGETPD_READ_MULTIPLE_DATA' "Fonds im Finanzkreis/Gjahr bzw. Datum lesen (mehrere Sätze) |
EXPORTING | ||
IR_BUDGET_PERIODS | = lv_ir_budget_periods | |
I_FIKRS | = lv_i_fikrs | |
I_GJAHR | = lv_i_gjahr | |
I_DATE | = lv_i_date | |
I_POPER | = lv_i_poper | |
I_FLG_TEXT | = lv_i_flg_text | |
I_FLG_FUNDBPD | = lv_i_flg_fundbpd | |
IMPORTING | ||
E_T_FMBUDGETPD | = lv_e_t_fmbudgetpd | |
E_T_FMBUDGETPDT | = lv_e_t_fmbudgetpdt | |
E_T_FMFUNDBPD | = lv_e_t_fmfundbpd | |
EXCEPTIONS | ||
MASTER_DATA_NOT_FOUND = 1 | ||
ERROR_OCCURRED = 2 | ||
. " FM_BUDGETPD_READ_MULTIPLE_DATA |
ABAP code using 7.40 inline data declarations to call FM FM_BUDGETPD_READ_MULTIPLE_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."SELECT single FIKRS FROM FM01 INTO @DATA(ld_i_fikrs). | ||||
"SELECT single GJAHR FROM FM01G INTO @DATA(ld_i_gjahr). | ||||
"SELECT single DATAB FROM FMFINCODE INTO @DATA(ld_i_date). | ||||
"SELECT single POPER FROM T009B INTO @DATA(ld_i_poper). | ||||
DATA(ld_i_flg_text) | = ' '. | |||
DATA(ld_i_flg_fundbpd) | = ' '. | |||
Search for further information about these or an SAP related objects