SAP MM_ARRANG_CHECK_TO_SUM_PERIODS Function Module for NOTRANSL: prueft, ob die Summe der Perioden gleich dem Endwert ist









MM_ARRANG_CHECK_TO_SUM_PERIODS is a standard mm arrang check to sum periods SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: prueft, ob die Summe der Perioden gleich dem Endwert ist 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 mm arrang check to sum periods FM, simply by entering the name MM_ARRANG_CHECK_TO_SUM_PERIODS into the relevant SAP transaction such as SE37 or SE38.

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



Function MM_ARRANG_CHECK_TO_SUM_PERIODS 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 'MM_ARRANG_CHECK_TO_SUM_PERIODS'"NOTRANSL: prueft, ob die Summe der Perioden gleich dem Endwert ist
EXPORTING
I_KONA = "Rebate Arrangement
* I_NO_MESSAGE = ' ' "Issue No Message
I_T6B1 = "Arrangement Type
I_T6B3_4 = "BV Comp/Agree. Type
I_VAKE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
I_KONP = "Condition Record
I_KONP_MAIN = "
I_TURNOVER_VRSIO_CND = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_CHECK_KSTBS = 'X' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_CHECK_KAWRT = 'X' "DE-EN-LANG-SWITCH-NO-TRANSLATION

IMPORTING
E_IN_RANGE_KSTBS = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_IN_RANGE_KAWRT = "DE-EN-LANG-SWITCH-NO-TRANSLATION

TABLES
T_VARIABLE_KEY = "DE-EN-LANG-SWITCH-NO-TRANSLATION
T_CONDITION_RECORD = "
T_TURNOVER_VRSIO_CND = "DE-EN-LANG-SWITCH-NO-TRANSLATION

EXCEPTIONS
VALUE_CHECK_ERROR = 1
.



IMPORTING Parameters details for MM_ARRANG_CHECK_TO_SUM_PERIODS

I_KONA - Rebate Arrangement

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

I_NO_MESSAGE - Issue No Message

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

I_T6B1 - Arrangement Type

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

I_T6B3_4 - BV Comp/Agree. Type

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

I_VAKE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_KONP - Condition Record

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

I_KONP_MAIN -

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

I_TURNOVER_VRSIO_CND - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_CHECK_KSTBS - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_CHECK_KAWRT - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

EXPORTING Parameters details for MM_ARRANG_CHECK_TO_SUM_PERIODS

E_IN_RANGE_KSTBS - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

E_IN_RANGE_KAWRT - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

TABLES Parameters details for MM_ARRANG_CHECK_TO_SUM_PERIODS

T_VARIABLE_KEY - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

T_CONDITION_RECORD -

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

T_TURNOVER_VRSIO_CND - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

EXCEPTIONS details

VALUE_CHECK_ERROR - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

Copy and paste ABAP code example for MM_ARRANG_CHECK_TO_SUM_PERIODS 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_kona  TYPE KONA, "   
lt_t_variable_key  TYPE STANDARD TABLE OF VAKE, "   
lv_e_in_range_kstbs  TYPE C, "   
lv_value_check_error  TYPE C, "   
lv_i_no_message  TYPE C, "   ' '
lv_i_t6b1  TYPE T6B1, "   
lv_e_in_range_kawrt  TYPE C, "   
lt_t_condition_record  TYPE STANDARD TABLE OF KONP, "   
lv_i_t6b3_4  TYPE T6B3_4, "   
lt_t_turnover_vrsio_cnd  TYPE STANDARD TABLE OF ARRANGVALU, "   
lv_i_vake  TYPE VAKE, "   
lv_i_konp  TYPE KONP, "   
lv_i_konp_main  TYPE KONP, "   
lv_i_turnover_vrsio_cnd  TYPE ARRANGVALU, "   
lv_i_check_kstbs  TYPE C, "   'X'
lv_i_check_kawrt  TYPE C. "   'X'

  CALL FUNCTION 'MM_ARRANG_CHECK_TO_SUM_PERIODS'  "NOTRANSL: prueft, ob die Summe der Perioden gleich dem Endwert ist
    EXPORTING
         I_KONA = lv_i_kona
         I_NO_MESSAGE = lv_i_no_message
         I_T6B1 = lv_i_t6b1
         I_T6B3_4 = lv_i_t6b3_4
         I_VAKE = lv_i_vake
         I_KONP = lv_i_konp
         I_KONP_MAIN = lv_i_konp_main
         I_TURNOVER_VRSIO_CND = lv_i_turnover_vrsio_cnd
         I_CHECK_KSTBS = lv_i_check_kstbs
         I_CHECK_KAWRT = lv_i_check_kawrt
    IMPORTING
         E_IN_RANGE_KSTBS = lv_e_in_range_kstbs
         E_IN_RANGE_KAWRT = lv_e_in_range_kawrt
    TABLES
         T_VARIABLE_KEY = lt_t_variable_key
         T_CONDITION_RECORD = lt_t_condition_record
         T_TURNOVER_VRSIO_CND = lt_t_turnover_vrsio_cnd
    EXCEPTIONS
        VALUE_CHECK_ERROR = 1
. " MM_ARRANG_CHECK_TO_SUM_PERIODS




ABAP code using 7.40 inline data declarations to call FM MM_ARRANG_CHECK_TO_SUM_PERIODS

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.

 
 
 
 
DATA(ld_i_no_message) = ' '.
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_check_kstbs) = 'X'.
 
DATA(ld_i_check_kawrt) = '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!