SAP MM_ARRANG_COND_SETTLE_ITEM_ALV Function Module for NOTRANSL: Listausgabe der Abrechungsdaten eines Konditionssatzes









MM_ARRANG_COND_SETTLE_ITEM_ALV is a standard mm arrang cond settle item alv 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: Listausgabe der Abrechungsdaten eines Konditionssatzes 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 cond settle item alv FM, simply by entering the name MM_ARRANG_COND_SETTLE_ITEM_ALV into the relevant SAP transaction such as SE37 or SE38.

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



Function MM_ARRANG_COND_SETTLE_ITEM_ALV 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_COND_SETTLE_ITEM_ALV'"NOTRANSL: Listausgabe der Abrechungsdaten eines Konditionssatzes
EXPORTING
I_REPORT_TYP = "Report ID: 2-char. ID for reports in 'subsequent settlement'
* I_T685T = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_CONDITION_RECORD_VB = "Main Condition Rec.
* I_DECLARATION = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_VAKEY_TEXT_HEADER = "Literal for variable key
* I_T685A = "Conditions: Types: Additional Price Element Data
I_RWM01_SELECT = "Selection Parameters: Reports, Reb. Arrangements, Purchasing
I_ARRANGEMENT = "Rebate Arrangement
I_VARIABLE_KEY = "Variable key
I_CONDITION_RECORD = "DE-EN-LANG-SWITCH-NO-TRANSLATION
I_SETTLEMENT_VALUES = "DE-EN-LANG-SWITCH-NO-TRANSLATION
I_VAKEY_TEXT = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_DISPLAY_ACCRUALS = 'X' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_FINAL_SETTLEMENT = 'X' "DE-EN-LANG-SWITCH-NO-TRANSLATION

IMPORTING
HIDE_KONA = "DE-EN-LANG-SWITCH-NO-TRANSLATION
HIDE_LINE_TYPE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
HI_SETTLEMENT_VALUES = "DE-EN-LANG-SWITCH-NO-TRANSLATION
LAST_LINE = "DE-EN-LANG-SWITCH-NO-TRANSLATION

CHANGING
* CT_ALV_ITEM = "Display Table of Item Data in ALV Grid
* CV_DECLAR_SET = "DE-EN-LANG-SWITCH-NO-TRANSLATION

TABLES
T_SETTLEMENT_TAXES = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* T_EVALUATION_DATA = "DE-EN-LANG-SWITCH-NO-TRANSLATION

EXCEPTIONS
ARRANGEMENT_NOT_OK_EURO = 1
.



IMPORTING Parameters details for MM_ARRANG_COND_SETTLE_ITEM_ALV

I_REPORT_TYP - Report ID: 2-char. ID for reports in 'subsequent settlement'

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

I_T685T - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_CONDITION_RECORD_VB - Main Condition Rec.

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

I_DECLARATION - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_VAKEY_TEXT_HEADER - Literal for variable key

Data type: RV13A-VAKEY1
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_T685A - Conditions: Types: Additional Price Element Data

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

I_RWM01_SELECT - Selection Parameters: Reports, Reb. Arrangements, Purchasing

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

I_ARRANGEMENT - Rebate Arrangement

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

I_VARIABLE_KEY - Variable key

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

I_CONDITION_RECORD - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_SETTLEMENT_VALUES - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_VAKEY_TEXT - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_DISPLAY_ACCRUALS - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_FINAL_SETTLEMENT - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

EXPORTING Parameters details for MM_ARRANG_COND_SETTLE_ITEM_ALV

HIDE_KONA - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

HIDE_LINE_TYPE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

HI_SETTLEMENT_VALUES - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

LAST_LINE - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: SY-LINNO
Optional: No
Call by Reference: Yes

CHANGING Parameters details for MM_ARRANG_COND_SETTLE_ITEM_ALV

CT_ALV_ITEM - Display Table of Item Data in ALV Grid

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

CV_DECLAR_SET - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

TABLES Parameters details for MM_ARRANG_COND_SETTLE_ITEM_ALV

T_SETTLEMENT_TAXES - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

T_EVALUATION_DATA - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

EXCEPTIONS details

ARRANGEMENT_NOT_OK_EURO - 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_COND_SETTLE_ITEM_ALV 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_hide_kona  TYPE KONA, "   
lv_ct_alv_item  TYPE ARRANG_ALV_GRID_DISP_ITEM_TTY, "   
lv_i_report_typ  TYPE REPOT, "   
lt_t_settlement_taxes  TYPE STANDARD TABLE OF ARRANG_TAX, "   
lv_arrangement_not_ok_euro  TYPE ARRANG_TAX, "   
lv_i_t685t  TYPE T685T, "   
lv_i_condition_record_vb  TYPE KONP, "   
lv_i_declaration  TYPE BOOLE_D, "   
lv_i_vakey_text_header  TYPE RV13A-VAKEY1, "   
lv_i_t685a  TYPE T685A, "   
lv_cv_declar_set  TYPE BOOLE_D, "   
lv_hide_line_type  TYPE C, "   
lv_i_rwm01_select  TYPE RWM01, "   
lt_t_evaluation_data  TYPE STANDARD TABLE OF GRADDATA, "   
lv_i_arrangement  TYPE KONA, "   
lv_hi_settlement_values  TYPE ARRANG_VAL, "   
lv_last_line  TYPE SY-LINNO, "   
lv_i_variable_key  TYPE VAKE, "   
lv_i_condition_record  TYPE KONP, "   
lv_i_settlement_values  TYPE ARRANG_VAL, "   
lv_i_vakey_text  TYPE RV13A-VAKEY2, "   
lv_i_display_accruals  TYPE T685A-KRUEK, "   'X'
lv_i_final_settlement  TYPE RWM01-ABRZWNO. "   'X'

  CALL FUNCTION 'MM_ARRANG_COND_SETTLE_ITEM_ALV'  "NOTRANSL: Listausgabe der Abrechungsdaten eines Konditionssatzes
    EXPORTING
         I_REPORT_TYP = lv_i_report_typ
         I_T685T = lv_i_t685t
         I_CONDITION_RECORD_VB = lv_i_condition_record_vb
         I_DECLARATION = lv_i_declaration
         I_VAKEY_TEXT_HEADER = lv_i_vakey_text_header
         I_T685A = lv_i_t685a
         I_RWM01_SELECT = lv_i_rwm01_select
         I_ARRANGEMENT = lv_i_arrangement
         I_VARIABLE_KEY = lv_i_variable_key
         I_CONDITION_RECORD = lv_i_condition_record
         I_SETTLEMENT_VALUES = lv_i_settlement_values
         I_VAKEY_TEXT = lv_i_vakey_text
         I_DISPLAY_ACCRUALS = lv_i_display_accruals
         I_FINAL_SETTLEMENT = lv_i_final_settlement
    IMPORTING
         HIDE_KONA = lv_hide_kona
         HIDE_LINE_TYPE = lv_hide_line_type
         HI_SETTLEMENT_VALUES = lv_hi_settlement_values
         LAST_LINE = lv_last_line
    CHANGING
         CT_ALV_ITEM = lv_ct_alv_item
         CV_DECLAR_SET = lv_cv_declar_set
    TABLES
         T_SETTLEMENT_TAXES = lt_t_settlement_taxes
         T_EVALUATION_DATA = lt_t_evaluation_data
    EXCEPTIONS
        ARRANGEMENT_NOT_OK_EURO = 1
. " MM_ARRANG_COND_SETTLE_ITEM_ALV




ABAP code using 7.40 inline data declarations to call FM MM_ARRANG_COND_SETTLE_ITEM_ALV

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 VAKEY1 FROM RV13A INTO @DATA(ld_i_vakey_text_header).
 
 
 
 
 
 
 
 
"SELECT single LINNO FROM SY INTO @DATA(ld_last_line).
 
 
 
 
"SELECT single VAKEY2 FROM RV13A INTO @DATA(ld_i_vakey_text).
 
"SELECT single KRUEK FROM T685A INTO @DATA(ld_i_display_accruals).
DATA(ld_i_display_accruals) = 'X'.
 
"SELECT single ABRZWNO FROM RWM01 INTO @DATA(ld_i_final_settlement).
DATA(ld_i_final_settlement) = '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!