SAP MM_ARRANG_DISPLAY_AUWRT_SCALE Function Module for NOTRANSL: Staffel-/Konditionsbasis, Ertrag zur Staffel (Popup) - Absprache









MM_ARRANG_DISPLAY_AUWRT_SCALE is a standard mm arrang display auwrt scale 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: Staffel-/Konditionsbasis, Ertrag zur Staffel (Popup) - Absprache 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 display auwrt scale FM, simply by entering the name MM_ARRANG_DISPLAY_AUWRT_SCALE into the relevant SAP transaction such as SE37 or SE38.

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



Function MM_ARRANG_DISPLAY_AUWRT_SCALE 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_DISPLAY_AUWRT_SCALE'"NOTRANSL: Staffel-/Konditionsbasis, Ertrag zur Staffel (Popup) - Absprache
EXPORTING
* I_ARRANGEMENT_NUMBER = "
* I_TVKO = "
* I_ARRANGEMENT = "
* I_READ_ARRANGEMENT = 'X' "
* I_CONDITION_NUMBER = "
* I_READ_TURN_OVER = ' ' "
* I_CALCULATE_AUWRT = ' ' "
* I_T6B1 = "Data on arrangement type (if already read)
* I_T6B3 = "
* I_T024E = "

TABLES
* T_KNUMH_SELECT = "
* T_VARIABLE_KEY = "
* T_CONDITION_HEADER = "
* T_CONDITION_RECORD = "
* T_CONDSCALE = "
T_SETTLEMENT_VALUES = "

EXCEPTIONS
ARRANGEMENT_NUMBER_MISSING = 1 INVALID_INPUT_DATA = 10 NEW_COND_RECORD_NOT_ALLOWED = 11 INVALID_ORG_DATA_ARRANGEMENT = 12 ARRANGEMENT_NOT_FOUND = 2 INVALID_ARRANG_TYPE = 3 ILLEGAL_KIND_OF_CREDIT_NOTE = 4 VARIABLE_KEY_MISSING = 5 CONDITION_RECORD_NOT_FOUND = 6 ERROR_READING_TURN_OVER = 7 ARRANGEMENT_NOT_OK_EURO = 8 INVALID_BUSINESS_COMP_TYPE = 9
.



IMPORTING Parameters details for MM_ARRANG_DISPLAY_AUWRT_SCALE

I_ARRANGEMENT_NUMBER -

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

I_TVKO -

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

I_ARRANGEMENT -

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

I_READ_ARRANGEMENT -

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

I_CONDITION_NUMBER -

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

I_READ_TURN_OVER -

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

I_CALCULATE_AUWRT -

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

I_T6B1 - Data on arrangement type (if already read)

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

I_T6B3 -

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

I_T024E -

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

TABLES Parameters details for MM_ARRANG_DISPLAY_AUWRT_SCALE

T_KNUMH_SELECT -

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

T_VARIABLE_KEY -

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

T_CONDITION_HEADER -

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

T_CONDITION_RECORD -

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

T_CONDSCALE -

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

T_SETTLEMENT_VALUES -

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

EXCEPTIONS details

ARRANGEMENT_NUMBER_MISSING - Arrangement number not passed on

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

INVALID_INPUT_DATA -

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

NEW_COND_RECORD_NOT_ALLOWED -

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

INVALID_ORG_DATA_ARRANGEMENT -

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

ARRANGEMENT_NOT_FOUND - Rebate arrangement does not exist

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

INVALID_ARRANG_TYPE - Arrangement type does not exist

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

ILLEGAL_KIND_OF_CREDIT_NOTE - Arrangement type not allowed

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

VARIABLE_KEY_MISSING - Variable key for condition number missing

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

CONDITION_RECORD_NOT_FOUND -

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

ERROR_READING_TURN_OVER - System error reading business volume data

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

ARRANGEMENT_NOT_OK_EURO -

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

INVALID_BUSINESS_COMP_TYPE -

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

Copy and paste ABAP code example for MM_ARRANG_DISPLAY_AUWRT_SCALE 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:
lt_t_knumh_select  TYPE STANDARD TABLE OF KNUMH_RAN, "   
lv_i_arrangement_number  TYPE KONA-KNUMA, "   
lv_arrangement_number_missing  TYPE KONA, "   
lv_i_tvko  TYPE TVKO, "   
lv_invalid_input_data  TYPE TVKO, "   
lv_new_cond_record_not_allowed  TYPE TVKO, "   
lv_invalid_org_data_arrangement  TYPE TVKO, "   
lv_i_arrangement  TYPE KONA, "   
lt_t_variable_key  TYPE STANDARD TABLE OF VAKE, "   
lv_arrangement_not_found  TYPE VAKE, "   
lv_i_read_arrangement  TYPE C, "   'X'
lt_t_condition_header  TYPE STANDARD TABLE OF KONH, "   
lv_invalid_arrang_type  TYPE KONH, "   
lv_i_condition_number  TYPE VAKE-KNUMH, "   
lt_t_condition_record  TYPE STANDARD TABLE OF KONP, "   
lv_illegal_kind_of_credit_note  TYPE KONP, "   
lt_t_condscale  TYPE STANDARD TABLE OF CONDSCALE, "   
lv_i_read_turn_over  TYPE C, "   SPACE
lv_variable_key_missing  TYPE C, "   
lv_i_calculate_auwrt  TYPE C, "   SPACE
lt_t_settlement_values  TYPE STANDARD TABLE OF ARRANG_VAL, "   
lv_condition_record_not_found  TYPE ARRANG_VAL, "   
lv_i_t6b1  TYPE T6B1, "   
lv_error_reading_turn_over  TYPE T6B1, "   
lv_i_t6b3  TYPE T6B3, "   
lv_arrangement_not_ok_euro  TYPE T6B3, "   
lv_i_t024e  TYPE T024E, "   
lv_invalid_business_comp_type  TYPE T024E. "   

  CALL FUNCTION 'MM_ARRANG_DISPLAY_AUWRT_SCALE'  "NOTRANSL: Staffel-/Konditionsbasis, Ertrag zur Staffel (Popup) - Absprache
    EXPORTING
         I_ARRANGEMENT_NUMBER = lv_i_arrangement_number
         I_TVKO = lv_i_tvko
         I_ARRANGEMENT = lv_i_arrangement
         I_READ_ARRANGEMENT = lv_i_read_arrangement
         I_CONDITION_NUMBER = lv_i_condition_number
         I_READ_TURN_OVER = lv_i_read_turn_over
         I_CALCULATE_AUWRT = lv_i_calculate_auwrt
         I_T6B1 = lv_i_t6b1
         I_T6B3 = lv_i_t6b3
         I_T024E = lv_i_t024e
    TABLES
         T_KNUMH_SELECT = lt_t_knumh_select
         T_VARIABLE_KEY = lt_t_variable_key
         T_CONDITION_HEADER = lt_t_condition_header
         T_CONDITION_RECORD = lt_t_condition_record
         T_CONDSCALE = lt_t_condscale
         T_SETTLEMENT_VALUES = lt_t_settlement_values
    EXCEPTIONS
        ARRANGEMENT_NUMBER_MISSING = 1
        INVALID_INPUT_DATA = 10
        NEW_COND_RECORD_NOT_ALLOWED = 11
        INVALID_ORG_DATA_ARRANGEMENT = 12
        ARRANGEMENT_NOT_FOUND = 2
        INVALID_ARRANG_TYPE = 3
        ILLEGAL_KIND_OF_CREDIT_NOTE = 4
        VARIABLE_KEY_MISSING = 5
        CONDITION_RECORD_NOT_FOUND = 6
        ERROR_READING_TURN_OVER = 7
        ARRANGEMENT_NOT_OK_EURO = 8
        INVALID_BUSINESS_COMP_TYPE = 9
. " MM_ARRANG_DISPLAY_AUWRT_SCALE




ABAP code using 7.40 inline data declarations to call FM MM_ARRANG_DISPLAY_AUWRT_SCALE

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 KNUMA FROM KONA INTO @DATA(ld_i_arrangement_number).
 
 
 
 
 
 
 
 
 
DATA(ld_i_read_arrangement) = 'X'.
 
 
 
"SELECT single KNUMH FROM VAKE INTO @DATA(ld_i_condition_number).
 
 
 
 
DATA(ld_i_read_turn_over) = ' '.
 
 
DATA(ld_i_calculate_auwrt) = ' '.
 
 
 
 
 
 
 
 
 


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!