SAP FIAA_CHECK_REPORTING_DATE Function Module for Check a specified report date
FIAA_CHECK_REPORTING_DATE is a standard fiaa check reporting date SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Check a specified report date 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 fiaa check reporting date FM, simply by entering the name FIAA_CHECK_REPORTING_DATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: AREP
Program Name: SAPLAREP
Main Program: SAPLAREP
Appliation area: A
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FIAA_CHECK_REPORTING_DATE 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 'FIAA_CHECK_REPORTING_DATE'"Check a specified report date.
EXPORTING
I_DATE = "Report date
* I_XGBAF = ' ' "Posted values
I_BUKRS = "Company code
* I_AFABER = '01' "
* I_XHIST = ' ' "Historical Evaluation
* I_HANA_POSTED = ' ' "
EXCEPTIONS
DATE_NOT_ALLOWED = 1 INPUT_FALSE = 2
IMPORTING Parameters details for FIAA_CHECK_REPORTING_DATE
I_DATE - Report date
Data type: RBADA-BRDATUOptional: No
Call by Reference: No ( called with pass by value option)
I_XGBAF - Posted values
Data type: ANLA0-XGBAFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_BUKRS - Company code
Data type: ANLA-BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
I_AFABER -
Data type: T093-AFABERDefault: '01'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_XHIST - Historical Evaluation
Data type: ANLA0-XHISTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_HANA_POSTED -
Data type: XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
DATE_NOT_ALLOWED - Invalid report date
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INPUT_FALSE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FIAA_CHECK_REPORTING_DATE 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_date | TYPE RBADA-BRDATU, " | |||
| lv_date_not_allowed | TYPE RBADA, " | |||
| lv_i_xgbaf | TYPE ANLA0-XGBAF, " SPACE | |||
| lv_input_false | TYPE ANLA0, " | |||
| lv_i_bukrs | TYPE ANLA-BUKRS, " | |||
| lv_i_afaber | TYPE T093-AFABER, " '01' | |||
| lv_i_xhist | TYPE ANLA0-XHIST, " SPACE | |||
| lv_i_hana_posted | TYPE XFELD. " SPACE |
|   CALL FUNCTION 'FIAA_CHECK_REPORTING_DATE' "Check a specified report date |
| EXPORTING | ||
| I_DATE | = lv_i_date | |
| I_XGBAF | = lv_i_xgbaf | |
| I_BUKRS | = lv_i_bukrs | |
| I_AFABER | = lv_i_afaber | |
| I_XHIST | = lv_i_xhist | |
| I_HANA_POSTED | = lv_i_hana_posted | |
| EXCEPTIONS | ||
| DATE_NOT_ALLOWED = 1 | ||
| INPUT_FALSE = 2 | ||
| . " FIAA_CHECK_REPORTING_DATE | ||
ABAP code using 7.40 inline data declarations to call FM FIAA_CHECK_REPORTING_DATE
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 BRDATU FROM RBADA INTO @DATA(ld_i_date). | ||||
| "SELECT single XGBAF FROM ANLA0 INTO @DATA(ld_i_xgbaf). | ||||
| DATA(ld_i_xgbaf) | = ' '. | |||
| "SELECT single BUKRS FROM ANLA INTO @DATA(ld_i_bukrs). | ||||
| "SELECT single AFABER FROM T093 INTO @DATA(ld_i_afaber). | ||||
| DATA(ld_i_afaber) | = '01'. | |||
| "SELECT single XHIST FROM ANLA0 INTO @DATA(ld_i_xhist). | ||||
| DATA(ld_i_xhist) | = ' '. | |||
| DATA(ld_i_hana_posted) | = ' '. | |||
Search for further information about these or an SAP related objects