SAP MM_ARRANG_ANALYSE Function Module for NOTRANSL: Analysefunktion zur Fortschreibung









MM_ARRANG_ANALYSE is a standard mm arrang analyse 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: Analysefunktion zur Fortschreibung 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 analyse FM, simply by entering the name MM_ARRANG_ANALYSE into the relevant SAP transaction such as SE37 or SE38.

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



Function MM_ARRANG_ANALYSE 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_ANALYSE'"NOTRANSL: Analysefunktion zur Fortschreibung
EXPORTING
* I_ARRANGEMENT = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_TURN_OVER_KSPAE = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_DOCUMENT_PAKET_SIZE = 100 "Number of documents per processing package
* I_STAT_DATA_DELETE = ' ' "Delete business volume data for arrangements
* I_KNUMH_DISPLAY = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_DIALOG_KSPAE = 'X' "DE-EN-LANG-SWITCH-NO-TRANSLATION

EXCEPTIONS
NO_DATA = 1
.



IMPORTING Parameters details for MM_ARRANG_ANALYSE

I_ARRANGEMENT - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_TURN_OVER_KSPAE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_DOCUMENT_PAKET_SIZE - Number of documents per processing package

Data type: RWM01-DCSTP
Default: 100
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_STAT_DATA_DELETE - Delete business volume data for arrangements

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

I_KNUMH_DISPLAY - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_DIALOG_KSPAE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

EXCEPTIONS details

NO_DATA - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for MM_ARRANG_ANALYSE 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_no_data  TYPE STRING, "   
lv_i_arrangement  TYPE KONA, "   
lv_i_turn_over_kspae  TYPE RWM01-KSPAE, "   SPACE
lv_i_document_paket_size  TYPE RWM01-DCSTP, "   100
lv_i_stat_data_delete  TYPE RWM02-DELTO, "   SPACE
lv_i_knumh_display  TYPE VAKE-KNUMH, "   
lv_i_dialog_kspae  TYPE C. "   'X'

  CALL FUNCTION 'MM_ARRANG_ANALYSE'  "NOTRANSL: Analysefunktion zur Fortschreibung
    EXPORTING
         I_ARRANGEMENT = lv_i_arrangement
         I_TURN_OVER_KSPAE = lv_i_turn_over_kspae
         I_DOCUMENT_PAKET_SIZE = lv_i_document_paket_size
         I_STAT_DATA_DELETE = lv_i_stat_data_delete
         I_KNUMH_DISPLAY = lv_i_knumh_display
         I_DIALOG_KSPAE = lv_i_dialog_kspae
    EXCEPTIONS
        NO_DATA = 1
. " MM_ARRANG_ANALYSE




ABAP code using 7.40 inline data declarations to call FM MM_ARRANG_ANALYSE

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 KSPAE FROM RWM01 INTO @DATA(ld_i_turn_over_kspae).
DATA(ld_i_turn_over_kspae) = ' '.
 
"SELECT single DCSTP FROM RWM01 INTO @DATA(ld_i_document_paket_size).
DATA(ld_i_document_paket_size) = 100.
 
"SELECT single DELTO FROM RWM02 INTO @DATA(ld_i_stat_data_delete).
DATA(ld_i_stat_data_delete) = ' '.
 
"SELECT single KNUMH FROM VAKE INTO @DATA(ld_i_knumh_display).
 
DATA(ld_i_dialog_kspae) = '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!