SAP FIAA_AT_HISTORY_SHEET Function Module for Stores Asset History Sheet in the memory ID









FIAA_AT_HISTORY_SHEET is a standard fiaa at history sheet SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Stores Asset History Sheet in the memory ID 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 at history sheet FM, simply by entering the name FIAA_AT_HISTORY_SHEET into the relevant SAP transaction such as SE37 or SE38.

Function Group: ID_FIAA_AT
Program Name: SAPLID_FIAA_AT
Main Program: SAPLID_FIAA_AT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FIAA_AT_HISTORY_SHEET 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_AT_HISTORY_SHEET'"Stores Asset History Sheet in the memory ID
EXPORTING
BUKRS = "Company Code
BERDATUM = "Reporting date in program
BEREICH1 = "First depreciation area (Reporting)
VERSN = "Financial Statement Version
BERDATUM_PREV = "Previous year's End Date

IMPORTING
MEM_ID = "Char20

TABLES
M_BUKRS = "Table Type for BUKRS_RAN
.



IMPORTING Parameters details for FIAA_AT_HISTORY_SHEET

BUKRS - Company Code

Data type: ANLAV-BUKRS
Optional: No
Call by Reference: Yes

BERDATUM - Reporting date in program

Data type: RBADA-BRDATU
Optional: No
Call by Reference: Yes

BEREICH1 - First depreciation area (Reporting)

Data type: RBADA-AFABE1
Optional: No
Call by Reference: Yes

VERSN - Financial Statement Version

Data type: T011-VERSN
Optional: No
Call by Reference: Yes

BERDATUM_PREV - Previous year's End Date

Data type: RBADA-BRDATU
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for FIAA_AT_HISTORY_SHEET

MEM_ID - Char20

Data type: CHAR20
Optional: No
Call by Reference: Yes

TABLES Parameters details for FIAA_AT_HISTORY_SHEET

M_BUKRS - Table Type for BUKRS_RAN

Data type: BUKRS_RAN_ITAB
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FIAA_AT_HISTORY_SHEET 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_bukrs  TYPE ANLAV-BUKRS, "   
lv_mem_id  TYPE CHAR20, "   
lt_m_bukrs  TYPE STANDARD TABLE OF BUKRS_RAN_ITAB, "   
lv_berdatum  TYPE RBADA-BRDATU, "   
lv_bereich1  TYPE RBADA-AFABE1, "   
lv_versn  TYPE T011-VERSN, "   
lv_berdatum_prev  TYPE RBADA-BRDATU. "   

  CALL FUNCTION 'FIAA_AT_HISTORY_SHEET'  "Stores Asset History Sheet in the memory ID
    EXPORTING
         BUKRS = lv_bukrs
         BERDATUM = lv_berdatum
         BEREICH1 = lv_bereich1
         VERSN = lv_versn
         BERDATUM_PREV = lv_berdatum_prev
    IMPORTING
         MEM_ID = lv_mem_id
    TABLES
         M_BUKRS = lt_m_bukrs
. " FIAA_AT_HISTORY_SHEET




ABAP code using 7.40 inline data declarations to call FM FIAA_AT_HISTORY_SHEET

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 BUKRS FROM ANLAV INTO @DATA(ld_bukrs).
 
 
 
"SELECT single BRDATU FROM RBADA INTO @DATA(ld_berdatum).
 
"SELECT single AFABE1 FROM RBADA INTO @DATA(ld_bereich1).
 
"SELECT single VERSN FROM T011 INTO @DATA(ld_versn).
 
"SELECT single BRDATU FROM RBADA INTO @DATA(ld_berdatum_prev).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!