SAP MM_ARR_PREP_SCALE_BASE_WAERS Function Module for NOTRANSL: Aufbereitung Staffelbasis und Währungen für Formulardruck
MM_ARR_PREP_SCALE_BASE_WAERS is a standard mm arr prep scale base waers 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: Aufbereitung Staffelbasis und Währungen für Formulardruck 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 arr prep scale base waers FM, simply by entering the name MM_ARR_PREP_SCALE_BASE_WAERS into the relevant SAP transaction such as SE37 or SE38.
Function Group: WNP0
Program Name: SAPLWNP0
Main Program:
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function MM_ARR_PREP_SCALE_BASE_WAERS 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_ARR_PREP_SCALE_BASE_WAERS'"NOTRANSL: Aufbereitung Staffelbasis und Währungen für Formulardruck.
EXPORTING
I_SETTLEMENT_VALUES = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_KEINE_STAFFEL = 'X' "DE-EN-LANG-SWITCH-NO-TRANSLATION
CHANGING
C_WBDRP = "DE-EN-LANG-SWITCH-NO-TRANSLATION
IMPORTING Parameters details for MM_ARR_PREP_SCALE_BASE_WAERS
I_SETTLEMENT_VALUES - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: ARRANG_VALOptional: No
Call by Reference: No ( called with pass by value option)
I_KEINE_STAFFEL - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: BOOLE-BOOLEDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for MM_ARR_PREP_SCALE_BASE_WAERS
C_WBDRP - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: WBDRPOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for MM_ARR_PREP_SCALE_BASE_WAERS 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_c_wbdrp | TYPE WBDRP, " | |||
| lv_i_settlement_values | TYPE ARRANG_VAL, " | |||
| lv_i_keine_staffel | TYPE BOOLE-BOOLE. " 'X' |
|   CALL FUNCTION 'MM_ARR_PREP_SCALE_BASE_WAERS' "NOTRANSL: Aufbereitung Staffelbasis und Währungen für Formulardruck |
| EXPORTING | ||
| I_SETTLEMENT_VALUES | = lv_i_settlement_values | |
| I_KEINE_STAFFEL | = lv_i_keine_staffel | |
| CHANGING | ||
| C_WBDRP | = lv_c_wbdrp | |
| . " MM_ARR_PREP_SCALE_BASE_WAERS | ||
ABAP code using 7.40 inline data declarations to call FM MM_ARR_PREP_SCALE_BASE_WAERS
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_keine_staffel). | ||||
| DATA(ld_i_keine_staffel) | = 'X'. | |||
Search for further information about these or an SAP related objects