SAP MM_ARRANG_START_OF_SELECTION Function Module for NOTRANSL: Absprachen einlesen, verarbeiten, listen, Absprachen Einkauf
MM_ARRANG_START_OF_SELECTION is a standard mm arrang start of selection 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: Absprachen einlesen, verarbeiten, listen, Absprachen Einkauf 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 start of selection FM, simply by entering the name MM_ARRANG_START_OF_SELECTION into the relevant SAP transaction such as SE37 or SE38.
Function Group: WN10
Program Name: SAPLWN10
Main Program: SAPLWN10
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function MM_ARRANG_START_OF_SELECTION 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_START_OF_SELECTION'"NOTRANSL: Absprachen einlesen, verarbeiten, listen, Absprachen Einkauf.
EXPORTING
REPORT_TYP = "Type of list report (settlement, business volume)
RWM01_SELECT = "Selection and control parameters
* I_EURO_WAERS = "
IMPORTING
HIDE_KONA = "Arrangement: interactive reporting
HIDE_LINE_TYPE = "Hide variable for interactive reporting
HI_SETTLEMENT_VALUES = "Hide variable for interactive reporting
HIDE_EKBO = "Hide variable for interactive reporting
HIDE_EBOX = "
HIDE_PARTNER = "Hide variable for interactive reporting
HIDE_ERROR_MESSAGES = "Hide variable for interactive reporting
TABLES
* KNUMA = "Arrangements in accordance with selection dynpro
* T_VKORG = "
* T_VTWEG = "
* T_SPART = "
* IDENT1 = "Settlement calendar (selection parameters)
* BOLIF = "Condition granter (selection parameters)
* EKORG = "Purchasing organization (selection parameters)
* EKGRP = "Purchasing group (selection parameters)
* T_ABSPW = "
* T_IDENT2 = "
* T_BOART = "
* T_BONEM = "
EXCEPTIONS
INVALID_REPORT_TYPE = 1 NO_ARRANGEMENT_SELECTED = 2 REPORT_CANCELLED = 3 NO_LIST_OUTPUT = 4 NO_OPEN_ARRANGEMENT = 5 INTERNAL_ERROR = 6
IMPORTING Parameters details for MM_ARRANG_START_OF_SELECTION
REPORT_TYP - Type of list report (settlement, business volume)
Data type: RWM02-REPOTOptional: No
Call by Reference: No ( called with pass by value option)
RWM01_SELECT - Selection and control parameters
Data type: RWM01Optional: No
Call by Reference: No ( called with pass by value option)
I_EURO_WAERS -
Data type: RWME1Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for MM_ARRANG_START_OF_SELECTION
HIDE_KONA - Arrangement: interactive reporting
Data type: KONAOptional: No
Call by Reference: Yes
HIDE_LINE_TYPE - Hide variable for interactive reporting
Data type: COptional: No
Call by Reference: Yes
HI_SETTLEMENT_VALUES - Hide variable for interactive reporting
Data type: ARRANG_VALOptional: No
Call by Reference: Yes
HIDE_EKBO - Hide variable for interactive reporting
Data type: RNACHWEISOptional: No
Call by Reference: Yes
HIDE_EBOX -
Data type: EBOXOptional: No
Call by Reference: Yes
HIDE_PARTNER - Hide variable for interactive reporting
Data type: KOPAOptional: No
Call by Reference: Yes
HIDE_ERROR_MESSAGES - Hide variable for interactive reporting
Data type: ARRANG_ERROptional: No
Call by Reference: Yes
TABLES Parameters details for MM_ARRANG_START_OF_SELECTION
KNUMA - Arrangements in accordance with selection dynpro
Data type: KNUMA_RANOptional: Yes
Call by Reference: No ( called with pass by value option)
T_VKORG -
Data type: VKORG_RANOptional: Yes
Call by Reference: No ( called with pass by value option)
T_VTWEG -
Data type: VTWEG_RANOptional: Yes
Call by Reference: No ( called with pass by value option)
T_SPART -
Data type: SPART_RANOptional: Yes
Call by Reference: No ( called with pass by value option)
IDENT1 - Settlement calendar (selection parameters)
Data type: IDENT_RANOptional: Yes
Call by Reference: No ( called with pass by value option)
BOLIF - Condition granter (selection parameters)
Data type: BOLIF_RANOptional: Yes
Call by Reference: No ( called with pass by value option)
EKORG - Purchasing organization (selection parameters)
Data type: EKORG_RANOptional: Yes
Call by Reference: No ( called with pass by value option)
EKGRP - Purchasing group (selection parameters)
Data type: EKGRP_RANOptional: Yes
Call by Reference: No ( called with pass by value option)
T_ABSPW -
Data type: ABSPW_RANOptional: Yes
Call by Reference: No ( called with pass by value option)
T_IDENT2 -
Data type: IDENT_RANOptional: Yes
Call by Reference: No ( called with pass by value option)
T_BOART -
Data type: BOART_RANOptional: Yes
Call by Reference: No ( called with pass by value option)
T_BONEM -
Data type: BONEM_RANOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
INVALID_REPORT_TYPE - Type of report not defined
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_ARRANGEMENT_SELECTED - No arrangement satisfying selection criteria
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
REPORT_CANCELLED - Report terminated (fatal error)
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_LIST_OUTPUT - No list output created (internal error)
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_OPEN_ARRANGEMENT - No arrangement with open purchasing documents
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for MM_ARRANG_START_OF_SELECTION 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_knuma | TYPE STANDARD TABLE OF KNUMA_RAN, " | |||
| lv_hide_kona | TYPE KONA, " | |||
| lv_report_typ | TYPE RWM02-REPOT, " | |||
| lv_invalid_report_type | TYPE RWM02, " | |||
| lt_t_vkorg | TYPE STANDARD TABLE OF VKORG_RAN, " | |||
| lt_t_vtweg | TYPE STANDARD TABLE OF VTWEG_RAN, " | |||
| lt_t_spart | TYPE STANDARD TABLE OF SPART_RAN, " | |||
| lt_ident1 | TYPE STANDARD TABLE OF IDENT_RAN, " | |||
| lv_rwm01_select | TYPE RWM01, " | |||
| lv_hide_line_type | TYPE C, " | |||
| lv_no_arrangement_selected | TYPE C, " | |||
| lt_bolif | TYPE STANDARD TABLE OF BOLIF_RAN, " | |||
| lv_i_euro_waers | TYPE RWME1, " | |||
| lv_report_cancelled | TYPE RWME1, " | |||
| lv_hi_settlement_values | TYPE ARRANG_VAL, " | |||
| lt_ekorg | TYPE STANDARD TABLE OF EKORG_RAN, " | |||
| lv_hide_ekbo | TYPE RNACHWEIS, " | |||
| lv_no_list_output | TYPE RNACHWEIS, " | |||
| lt_ekgrp | TYPE STANDARD TABLE OF EKGRP_RAN, " | |||
| lv_hide_ebox | TYPE EBOX, " | |||
| lv_no_open_arrangement | TYPE EBOX, " | |||
| lt_t_abspw | TYPE STANDARD TABLE OF ABSPW_RAN, " | |||
| lv_hide_partner | TYPE KOPA, " | |||
| lv_internal_error | TYPE KOPA, " | |||
| lt_t_ident2 | TYPE STANDARD TABLE OF IDENT_RAN, " | |||
| lv_hide_error_messages | TYPE ARRANG_ERR, " | |||
| lt_t_boart | TYPE STANDARD TABLE OF BOART_RAN, " | |||
| lt_t_bonem | TYPE STANDARD TABLE OF BONEM_RAN. " |
|   CALL FUNCTION 'MM_ARRANG_START_OF_SELECTION' "NOTRANSL: Absprachen einlesen, verarbeiten, listen, Absprachen Einkauf |
| EXPORTING | ||
| REPORT_TYP | = lv_report_typ | |
| RWM01_SELECT | = lv_rwm01_select | |
| I_EURO_WAERS | = lv_i_euro_waers | |
| IMPORTING | ||
| HIDE_KONA | = lv_hide_kona | |
| HIDE_LINE_TYPE | = lv_hide_line_type | |
| HI_SETTLEMENT_VALUES | = lv_hi_settlement_values | |
| HIDE_EKBO | = lv_hide_ekbo | |
| HIDE_EBOX | = lv_hide_ebox | |
| HIDE_PARTNER | = lv_hide_partner | |
| HIDE_ERROR_MESSAGES | = lv_hide_error_messages | |
| TABLES | ||
| KNUMA | = lt_knuma | |
| T_VKORG | = lt_t_vkorg | |
| T_VTWEG | = lt_t_vtweg | |
| T_SPART | = lt_t_spart | |
| IDENT1 | = lt_ident1 | |
| BOLIF | = lt_bolif | |
| EKORG | = lt_ekorg | |
| EKGRP | = lt_ekgrp | |
| T_ABSPW | = lt_t_abspw | |
| T_IDENT2 | = lt_t_ident2 | |
| T_BOART | = lt_t_boart | |
| T_BONEM | = lt_t_bonem | |
| EXCEPTIONS | ||
| INVALID_REPORT_TYPE = 1 | ||
| NO_ARRANGEMENT_SELECTED = 2 | ||
| REPORT_CANCELLED = 3 | ||
| NO_LIST_OUTPUT = 4 | ||
| NO_OPEN_ARRANGEMENT = 5 | ||
| INTERNAL_ERROR = 6 | ||
| . " MM_ARRANG_START_OF_SELECTION | ||
ABAP code using 7.40 inline data declarations to call FM MM_ARRANG_START_OF_SELECTION
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 REPOT FROM RWM02 INTO @DATA(ld_report_typ). | ||||
Search for further information about these or an SAP related objects