SAP FM_CHANGE_AA_TABWO_READ Function Module for
FM_CHANGE_AA_TABWO_READ is a standard fm change aa tabwo read 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 fm change aa tabwo read FM, simply by entering the name FM_CHANGE_AA_TABWO_READ into the relevant SAP transaction such as SE37 or SE38.
Function Group: FMCH
Program Name: SAPLFMCH
Main Program: SAPLFMCH
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function FM_CHANGE_AA_TABWO_READ 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_CHANGE_AA_TABWO_READ'".
EXPORTING
I_FIKRS = "
TABLES
* T_RUNNR = "
* T_EGRANT_NBR = "Structure of a Range Table for a Character (20) Field
* T_SFIPEX = "
* T_SFISTL = "
* T_SFONDS = "
* T_SFAREA = "
* T_SMEASURE = "Structure of a Range Table for a (24) Character Field
* T_SGRANT_NBR = "Structure of a Range Table for a Character (20) Field
* T_GROUPNR = "
* T_ACTYP = "
* T_FMCHA1 = "
* T_RLDNR = "
* T_FMCHA1_READ = "
* T_SBUDGET_PD = "Structure of a Range Table for a (10) Character Field
* T_EBUDGET_PD = "Structure of a Range Table for a (10) Character Field
* T_RFPOS = "
* T_REFBT = "Structure of a Range Table for a 3 Character Field
* T_REFBN = "
* T_EFIPEX = "
* T_EFISTL = "
* T_EFONDS = "
* T_EFAREA = "
* T_EMEASURE = "Structure of a Range Table for a (24) Character Field
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLFMCH_001 Determine FM Account Assignment from Coding Block
EXIT_SAPLFMCH_002 Own Table Updates During Reassignment
EXIT_SAPLFMCH_003 Change of Account Assignment, Reject Reassignment
IMPORTING Parameters details for FM_CHANGE_AA_TABWO_READ
I_FIKRS -
Data type: FM01-FIKRSOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FM_CHANGE_AA_TABWO_READ
T_RUNNR -
Data type: RANGE_C10Optional: Yes
Call by Reference: No ( called with pass by value option)
T_EGRANT_NBR - Structure of a Range Table for a Character (20) Field
Data type: RANGE_C20Optional: Yes
Call by Reference: Yes
T_SFIPEX -
Data type: RANGE_C24Optional: Yes
Call by Reference: No ( called with pass by value option)
T_SFISTL -
Data type: RANGE_C16Optional: Yes
Call by Reference: No ( called with pass by value option)
T_SFONDS -
Data type: RANGE_C10Optional: Yes
Call by Reference: No ( called with pass by value option)
T_SFAREA -
Data type: RANGE_C4Optional: Yes
Call by Reference: No ( called with pass by value option)
T_SMEASURE - Structure of a Range Table for a (24) Character Field
Data type: RANGE_C24Optional: Yes
Call by Reference: Yes
T_SGRANT_NBR - Structure of a Range Table for a Character (20) Field
Data type: RANGE_C20Optional: Yes
Call by Reference: Yes
T_GROUPNR -
Data type: RANGE_C8Optional: Yes
Call by Reference: No ( called with pass by value option)
T_ACTYP -
Data type: RANGE_C1Optional: Yes
Call by Reference: No ( called with pass by value option)
T_FMCHA1 -
Data type: FMCHA1Optional: Yes
Call by Reference: No ( called with pass by value option)
T_RLDNR -
Data type: RANGE_C2Optional: Yes
Call by Reference: No ( called with pass by value option)
T_FMCHA1_READ -
Data type: FMCHA1Optional: Yes
Call by Reference: No ( called with pass by value option)
T_SBUDGET_PD - Structure of a Range Table for a (10) Character Field
Data type: RANGE_C10Optional: Yes
Call by Reference: Yes
T_EBUDGET_PD - Structure of a Range Table for a (10) Character Field
Data type: RANGE_C10Optional: Yes
Call by Reference: Yes
T_RFPOS -
Data type: RANGE_C5Optional: Yes
Call by Reference: Yes
T_REFBT - Structure of a Range Table for a 3 Character Field
Data type: RANGE_C3Optional: Yes
Call by Reference: Yes
T_REFBN -
Data type: RANGE_C10Optional: Yes
Call by Reference: No ( called with pass by value option)
T_EFIPEX -
Data type: RANGE_C24Optional: Yes
Call by Reference: No ( called with pass by value option)
T_EFISTL -
Data type: RANGE_C16Optional: Yes
Call by Reference: No ( called with pass by value option)
T_EFONDS -
Data type: RANGE_C10Optional: Yes
Call by Reference: No ( called with pass by value option)
T_EFAREA -
Data type: RANGE_C4Optional: Yes
Call by Reference: No ( called with pass by value option)
T_EMEASURE - Structure of a Range Table for a (24) Character Field
Data type: RANGE_C24Optional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for FM_CHANGE_AA_TABWO_READ 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_fikrs | TYPE FM01-FIKRS, " | |||
lt_t_runnr | TYPE STANDARD TABLE OF RANGE_C10, " | |||
lt_t_egrant_nbr | TYPE STANDARD TABLE OF RANGE_C20, " | |||
lt_t_sfipex | TYPE STANDARD TABLE OF RANGE_C24, " | |||
lt_t_sfistl | TYPE STANDARD TABLE OF RANGE_C16, " | |||
lt_t_sfonds | TYPE STANDARD TABLE OF RANGE_C10, " | |||
lt_t_sfarea | TYPE STANDARD TABLE OF RANGE_C4, " | |||
lt_t_smeasure | TYPE STANDARD TABLE OF RANGE_C24, " | |||
lt_t_sgrant_nbr | TYPE STANDARD TABLE OF RANGE_C20, " | |||
lt_t_groupnr | TYPE STANDARD TABLE OF RANGE_C8, " | |||
lt_t_actyp | TYPE STANDARD TABLE OF RANGE_C1, " | |||
lt_t_fmcha1 | TYPE STANDARD TABLE OF FMCHA1, " | |||
lt_t_rldnr | TYPE STANDARD TABLE OF RANGE_C2, " | |||
lt_t_fmcha1_read | TYPE STANDARD TABLE OF FMCHA1, " | |||
lt_t_sbudget_pd | TYPE STANDARD TABLE OF RANGE_C10, " | |||
lt_t_ebudget_pd | TYPE STANDARD TABLE OF RANGE_C10, " | |||
lt_t_rfpos | TYPE STANDARD TABLE OF RANGE_C5, " | |||
lt_t_refbt | TYPE STANDARD TABLE OF RANGE_C3, " | |||
lt_t_refbn | TYPE STANDARD TABLE OF RANGE_C10, " | |||
lt_t_efipex | TYPE STANDARD TABLE OF RANGE_C24, " | |||
lt_t_efistl | TYPE STANDARD TABLE OF RANGE_C16, " | |||
lt_t_efonds | TYPE STANDARD TABLE OF RANGE_C10, " | |||
lt_t_efarea | TYPE STANDARD TABLE OF RANGE_C4, " | |||
lt_t_emeasure | TYPE STANDARD TABLE OF RANGE_C24. " |
  CALL FUNCTION 'FM_CHANGE_AA_TABWO_READ' " |
EXPORTING | ||
I_FIKRS | = lv_i_fikrs | |
TABLES | ||
T_RUNNR | = lt_t_runnr | |
T_EGRANT_NBR | = lt_t_egrant_nbr | |
T_SFIPEX | = lt_t_sfipex | |
T_SFISTL | = lt_t_sfistl | |
T_SFONDS | = lt_t_sfonds | |
T_SFAREA | = lt_t_sfarea | |
T_SMEASURE | = lt_t_smeasure | |
T_SGRANT_NBR | = lt_t_sgrant_nbr | |
T_GROUPNR | = lt_t_groupnr | |
T_ACTYP | = lt_t_actyp | |
T_FMCHA1 | = lt_t_fmcha1 | |
T_RLDNR | = lt_t_rldnr | |
T_FMCHA1_READ | = lt_t_fmcha1_read | |
T_SBUDGET_PD | = lt_t_sbudget_pd | |
T_EBUDGET_PD | = lt_t_ebudget_pd | |
T_RFPOS | = lt_t_rfpos | |
T_REFBT | = lt_t_refbt | |
T_REFBN | = lt_t_refbn | |
T_EFIPEX | = lt_t_efipex | |
T_EFISTL | = lt_t_efistl | |
T_EFONDS | = lt_t_efonds | |
T_EFAREA | = lt_t_efarea | |
T_EMEASURE | = lt_t_emeasure | |
. " FM_CHANGE_AA_TABWO_READ |
ABAP code using 7.40 inline data declarations to call FM FM_CHANGE_AA_TABWO_READ
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). | ||||
Search for further information about these or an SAP related objects