SAP ACEPS_DOCITEM_VALUES_SUMMARIZE Function Module for Totaling of Values from ACE Documents into Totals Values (ACEPSOI)









ACEPS_DOCITEM_VALUES_SUMMARIZE is a standard aceps docitem values summarize SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Totaling of Values from ACE Documents into Totals Values (ACEPSOI) 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 aceps docitem values summarize FM, simply by entering the name ACEPS_DOCITEM_VALUES_SUMMARIZE into the relevant SAP transaction such as SE37 or SE38.

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



Function ACEPS_DOCITEM_VALUES_SUMMARIZE 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 'ACEPS_DOCITEM_VALUES_SUMMARIZE'"Totaling of Values from ACE Documents into Totals Values (ACEPSOI)
EXPORTING
ID_VALTBP = "Value to Be Posted
ID_TRANSTYPE = "Transaction
* ID_CARRY_FORW_MODE = "Balance Carryforward

CHANGING
* CD_VALCAP = "Posted Asset Balance Sheet Value (by Year)
* CD_VALACCR = "Recognition Postings Made (Year-Based)
* CD_VALRETIRE = "Posted Retirement Amount
* CD_CUMVALCAP = "Cumulative Asset Balance Sheet Value Posted in Previous Yrs
* CD_CUMVALACCR = "Cumulative Recognition Posted in Previous Years
.



IMPORTING Parameters details for ACEPS_DOCITEM_VALUES_SUMMARIZE

ID_VALTBP - Value to Be Posted

Data type: ACEPSOIT-VALTBP
Optional: No
Call by Reference: Yes

ID_TRANSTYPE - Transaction

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

ID_CARRY_FORW_MODE - Balance Carryforward

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

CHANGING Parameters details for ACEPS_DOCITEM_VALUES_SUMMARIZE

CD_VALCAP - Posted Asset Balance Sheet Value (by Year)

Data type: ACEPSOI-VALCAP
Optional: Yes
Call by Reference: Yes

CD_VALACCR - Recognition Postings Made (Year-Based)

Data type: ACEPSOI-VALACCR
Optional: Yes
Call by Reference: Yes

CD_VALRETIRE - Posted Retirement Amount

Data type: ACEPSOI-VALRETIRE
Optional: Yes
Call by Reference: Yes

CD_CUMVALCAP - Cumulative Asset Balance Sheet Value Posted in Previous Yrs

Data type: ACEPSOI-CUMVALCAP
Optional: Yes
Call by Reference: Yes

CD_CUMVALACCR - Cumulative Recognition Posted in Previous Years

Data type: ACEPSOI-CUMVALACCR
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for ACEPS_DOCITEM_VALUES_SUMMARIZE 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_cd_valcap  TYPE ACEPSOI-VALCAP, "   
lv_id_valtbp  TYPE ACEPSOIT-VALTBP, "   
lv_cd_valaccr  TYPE ACEPSOI-VALACCR, "   
lv_id_transtype  TYPE ACE_TRANSTYPE, "   
lv_cd_valretire  TYPE ACEPSOI-VALRETIRE, "   
lv_id_carry_forw_mode  TYPE FLAG, "   
lv_cd_cumvalcap  TYPE ACEPSOI-CUMVALCAP, "   
lv_cd_cumvalaccr  TYPE ACEPSOI-CUMVALACCR. "   

  CALL FUNCTION 'ACEPS_DOCITEM_VALUES_SUMMARIZE'  "Totaling of Values from ACE Documents into Totals Values (ACEPSOI)
    EXPORTING
         ID_VALTBP = lv_id_valtbp
         ID_TRANSTYPE = lv_id_transtype
         ID_CARRY_FORW_MODE = lv_id_carry_forw_mode
    CHANGING
         CD_VALCAP = lv_cd_valcap
         CD_VALACCR = lv_cd_valaccr
         CD_VALRETIRE = lv_cd_valretire
         CD_CUMVALCAP = lv_cd_cumvalcap
         CD_CUMVALACCR = lv_cd_cumvalaccr
. " ACEPS_DOCITEM_VALUES_SUMMARIZE




ABAP code using 7.40 inline data declarations to call FM ACEPS_DOCITEM_VALUES_SUMMARIZE

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 VALCAP FROM ACEPSOI INTO @DATA(ld_cd_valcap).
 
"SELECT single VALTBP FROM ACEPSOIT INTO @DATA(ld_id_valtbp).
 
"SELECT single VALACCR FROM ACEPSOI INTO @DATA(ld_cd_valaccr).
 
 
"SELECT single VALRETIRE FROM ACEPSOI INTO @DATA(ld_cd_valretire).
 
 
"SELECT single CUMVALCAP FROM ACEPSOI INTO @DATA(ld_cd_cumvalcap).
 
"SELECT single CUMVALACCR FROM ACEPSOI INTO @DATA(ld_cd_cumvalaccr).
 


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!