SAP FM_ARC_FI_GET_NEXT_RECORD Function Module for









FM_ARC_FI_GET_NEXT_RECORD is a standard fm arc fi get next record 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 arc fi get next record FM, simply by entering the name FM_ARC_FI_GET_NEXT_RECORD into the relevant SAP transaction such as SE37 or SE38.

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



Function FM_ARC_FI_GET_NEXT_RECORD 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_ARC_FI_GET_NEXT_RECORD'"
EXPORTING
I_AR_HANDLE = "

IMPORTING
E_EOR = "

TABLES
T_FMIFIHD = "
* T_PAYRC = "
* T_KBLK_USER = "
* T_PAYKO = "
* T_PAYCT = "
* T_PAYOI = "
* T_PAYOA = "
* T_PAYOH = "
* T_ARCH_STAT = "
* T_FM01_ARCH = "
* T_FIKRS = "
T_FMIFIIT = "
* T_FONDS = "
* T_FISTL = "
* T_FIPEX = "
* T_BUKRS = "
* T_GJAHR = "
* T_PERIO = "
* T_HKONT = "
* T_KNBEL = "
* T_KNGJA = "
* T_VOBEL = "
* T_FMCFSIF = "
* T_VOGJA = "
T_FMCCFD = "
T_FMUDBSEGH = "
T_FMUDBSEGP = "
T_FMUDBSEGS = "
* T_PAYRQ = "
* T_PAYBU = "
.



IMPORTING Parameters details for FM_ARC_FI_GET_NEXT_RECORD

I_AR_HANDLE -

Data type: SY-TABIX
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FM_ARC_FI_GET_NEXT_RECORD

E_EOR -

Data type: C
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for FM_ARC_FI_GET_NEXT_RECORD

T_FMIFIHD -

Data type: FMIFIHD
Optional: No
Call by Reference: No ( called with pass by value option)

T_PAYRC -

Data type: PAYRC
Optional: Yes
Call by Reference: Yes

T_KBLK_USER -

Data type: KBLK_USER
Optional: Yes
Call by Reference: Yes

T_PAYKO -

Data type: PAYKO
Optional: Yes
Call by Reference: Yes

T_PAYCT -

Data type: PAYCT
Optional: Yes
Call by Reference: Yes

T_PAYOI -

Data type: PAYOI
Optional: Yes
Call by Reference: Yes

T_PAYOA -

Data type: PAYOA
Optional: Yes
Call by Reference: Yes

T_PAYOH -

Data type: PAYOH
Optional: Yes
Call by Reference: Yes

T_ARCH_STAT -

Data type: ARCH_STAT
Optional: Yes
Call by Reference: Yes

T_FM01_ARCH -

Data type: FM01_ARCH
Optional: Yes
Call by Reference: Yes

T_FIKRS -

Data type: RANGE_C4
Optional: Yes
Call by Reference: Yes

T_FMIFIIT -

Data type: FMIFIIT
Optional: No
Call by Reference: No ( called with pass by value option)

T_FONDS -

Data type: RANGE_C10
Optional: Yes
Call by Reference: Yes

T_FISTL -

Data type: RANGE_C16
Optional: Yes
Call by Reference: Yes

T_FIPEX -

Data type: RANGE_C24
Optional: Yes
Call by Reference: Yes

T_BUKRS -

Data type: RANGE_C4
Optional: Yes
Call by Reference: Yes

T_GJAHR -

Data type: RANGE_N4
Optional: Yes
Call by Reference: Yes

T_PERIO -

Data type: RANGE_N3
Optional: Yes
Call by Reference: Yes

T_HKONT -

Data type: RANGE_C10
Optional: Yes
Call by Reference: Yes

T_KNBEL -

Data type: RANGE_C10
Optional: Yes
Call by Reference: Yes

T_KNGJA -

Data type: RANGE_N4
Optional: Yes
Call by Reference: Yes

T_VOBEL -

Data type: RANGE_C10
Optional: Yes
Call by Reference: Yes

T_FMCFSIF -

Data type: FMCFSIF
Optional: Yes
Call by Reference: Yes

T_VOGJA -

Data type: RANGE_N4
Optional: Yes
Call by Reference: Yes

T_FMCCFD -

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

T_FMUDBSEGH -

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

T_FMUDBSEGP -

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

T_FMUDBSEGS -

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

T_PAYRQ -

Data type: PAYRQ
Optional: Yes
Call by Reference: Yes

T_PAYBU -

Data type: PAYBU
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for FM_ARC_FI_GET_NEXT_RECORD 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_eor  TYPE C, "   
lt_t_fmifihd  TYPE STANDARD TABLE OF FMIFIHD, "   
lv_i_ar_handle  TYPE SY-TABIX, "   
lt_t_payrc  TYPE STANDARD TABLE OF PAYRC, "   
lt_t_kblk_user  TYPE STANDARD TABLE OF KBLK_USER, "   
lt_t_payko  TYPE STANDARD TABLE OF PAYKO, "   
lt_t_payct  TYPE STANDARD TABLE OF PAYCT, "   
lt_t_payoi  TYPE STANDARD TABLE OF PAYOI, "   
lt_t_payoa  TYPE STANDARD TABLE OF PAYOA, "   
lt_t_payoh  TYPE STANDARD TABLE OF PAYOH, "   
lt_t_arch_stat  TYPE STANDARD TABLE OF ARCH_STAT, "   
lt_t_fm01_arch  TYPE STANDARD TABLE OF FM01_ARCH, "   
lt_t_fikrs  TYPE STANDARD TABLE OF RANGE_C4, "   
lt_t_fmifiit  TYPE STANDARD TABLE OF FMIFIIT, "   
lt_t_fonds  TYPE STANDARD TABLE OF RANGE_C10, "   
lt_t_fistl  TYPE STANDARD TABLE OF RANGE_C16, "   
lt_t_fipex  TYPE STANDARD TABLE OF RANGE_C24, "   
lt_t_bukrs  TYPE STANDARD TABLE OF RANGE_C4, "   
lt_t_gjahr  TYPE STANDARD TABLE OF RANGE_N4, "   
lt_t_perio  TYPE STANDARD TABLE OF RANGE_N3, "   
lt_t_hkont  TYPE STANDARD TABLE OF RANGE_C10, "   
lt_t_knbel  TYPE STANDARD TABLE OF RANGE_C10, "   
lt_t_kngja  TYPE STANDARD TABLE OF RANGE_N4, "   
lt_t_vobel  TYPE STANDARD TABLE OF RANGE_C10, "   
lt_t_fmcfsif  TYPE STANDARD TABLE OF FMCFSIF, "   
lt_t_vogja  TYPE STANDARD TABLE OF RANGE_N4, "   
lt_t_fmccfd  TYPE STANDARD TABLE OF FMCCFD, "   
lt_t_fmudbsegh  TYPE STANDARD TABLE OF FMUDBSEGH, "   
lt_t_fmudbsegp  TYPE STANDARD TABLE OF FMUDBSEGP, "   
lt_t_fmudbsegs  TYPE STANDARD TABLE OF FMUDBSEGS, "   
lt_t_payrq  TYPE STANDARD TABLE OF PAYRQ, "   
lt_t_paybu  TYPE STANDARD TABLE OF PAYBU. "   

  CALL FUNCTION 'FM_ARC_FI_GET_NEXT_RECORD'  "
    EXPORTING
         I_AR_HANDLE = lv_i_ar_handle
    IMPORTING
         E_EOR = lv_e_eor
    TABLES
         T_FMIFIHD = lt_t_fmifihd
         T_PAYRC = lt_t_payrc
         T_KBLK_USER = lt_t_kblk_user
         T_PAYKO = lt_t_payko
         T_PAYCT = lt_t_payct
         T_PAYOI = lt_t_payoi
         T_PAYOA = lt_t_payoa
         T_PAYOH = lt_t_payoh
         T_ARCH_STAT = lt_t_arch_stat
         T_FM01_ARCH = lt_t_fm01_arch
         T_FIKRS = lt_t_fikrs
         T_FMIFIIT = lt_t_fmifiit
         T_FONDS = lt_t_fonds
         T_FISTL = lt_t_fistl
         T_FIPEX = lt_t_fipex
         T_BUKRS = lt_t_bukrs
         T_GJAHR = lt_t_gjahr
         T_PERIO = lt_t_perio
         T_HKONT = lt_t_hkont
         T_KNBEL = lt_t_knbel
         T_KNGJA = lt_t_kngja
         T_VOBEL = lt_t_vobel
         T_FMCFSIF = lt_t_fmcfsif
         T_VOGJA = lt_t_vogja
         T_FMCCFD = lt_t_fmccfd
         T_FMUDBSEGH = lt_t_fmudbsegh
         T_FMUDBSEGP = lt_t_fmudbsegp
         T_FMUDBSEGS = lt_t_fmudbsegs
         T_PAYRQ = lt_t_payrq
         T_PAYBU = lt_t_paybu
. " FM_ARC_FI_GET_NEXT_RECORD




ABAP code using 7.40 inline data declarations to call FM FM_ARC_FI_GET_NEXT_RECORD

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 TABIX FROM SY INTO @DATA(ld_i_ar_handle).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!