SAP FM_ARC_BT_UPDATE_TOTALS Function Module for









FM_ARC_BT_UPDATE_TOTALS is a standard fm arc bt update totals 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 bt update totals FM, simply by entering the name FM_ARC_BT_UPDATE_TOTALS into the relevant SAP transaction such as SE37 or SE38.

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



Function FM_ARC_BT_UPDATE_TOTALS 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_BT_UPDATE_TOTALS'"
EXPORTING
* I_TEST = 'X' "
I_FUNCTION = "

TABLES
T_BPHI = "
T_BPCJ = "
T_BPTR = "
T_BPTX = "
T_BPGE_ARCH = "
T_BPJA_ARCH = "
T_BPPE_ARCH = "
T_BPIG = "
T_BPIJ = "
T_BPCG = "
.



IMPORTING Parameters details for FM_ARC_BT_UPDATE_TOTALS

I_TEST -

Data type: BOOLE-BOOLE
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FUNCTION -

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

TABLES Parameters details for FM_ARC_BT_UPDATE_TOTALS

T_BPHI -

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

T_BPCJ -

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

T_BPTR -

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

T_BPTX -

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

T_BPGE_ARCH -

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

T_BPJA_ARCH -

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

T_BPPE_ARCH -

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

T_BPIG -

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

T_BPIJ -

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

T_BPCG -

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

Copy and paste ABAP code example for FM_ARC_BT_UPDATE_TOTALS 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_test  TYPE BOOLE-BOOLE, "   'X'
lt_t_bphi  TYPE STANDARD TABLE OF BPHI, "   
lt_t_bpcj  TYPE STANDARD TABLE OF BPCJ, "   
lt_t_bptr  TYPE STANDARD TABLE OF BPTR, "   
lv_i_function  TYPE C, "   
lt_t_bptx  TYPE STANDARD TABLE OF BPTX, "   
lt_t_bpge_arch  TYPE STANDARD TABLE OF BPGE_ARCH, "   
lt_t_bpja_arch  TYPE STANDARD TABLE OF BPJA_ARCH, "   
lt_t_bppe_arch  TYPE STANDARD TABLE OF BPPE_ARCH, "   
lt_t_bpig  TYPE STANDARD TABLE OF BPIG, "   
lt_t_bpij  TYPE STANDARD TABLE OF BPIJ, "   
lt_t_bpcg  TYPE STANDARD TABLE OF BPCG. "   

  CALL FUNCTION 'FM_ARC_BT_UPDATE_TOTALS'  "
    EXPORTING
         I_TEST = lv_i_test
         I_FUNCTION = lv_i_function
    TABLES
         T_BPHI = lt_t_bphi
         T_BPCJ = lt_t_bpcj
         T_BPTR = lt_t_bptr
         T_BPTX = lt_t_bptx
         T_BPGE_ARCH = lt_t_bpge_arch
         T_BPJA_ARCH = lt_t_bpja_arch
         T_BPPE_ARCH = lt_t_bppe_arch
         T_BPIG = lt_t_bpig
         T_BPIJ = lt_t_bpij
         T_BPCG = lt_t_bpcg
. " FM_ARC_BT_UPDATE_TOTALS




ABAP code using 7.40 inline data declarations to call FM FM_ARC_BT_UPDATE_TOTALS

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 BOOLE FROM BOOLE INTO @DATA(ld_i_test).
DATA(ld_i_test) = 'X'.
 
 
 
 
 
 
 
 
 
 
 
 


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!