SAP EHSWA_291_MN_MNINO Function Module for
EHSWA_291_MN_MNINO is a standard ehswa 291 mn mnino SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 ehswa 291 mn mnino FM, simply by entering the name EHSWA_291_MN_MNINO into the relevant SAP transaction such as SE37 or SE38.
Function Group: EHSWA_291
Program Name: SAPLEHSWA_291
Main Program: SAPLEHSWA_291
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EHSWA_291_MN_MNINO 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 'EHSWA_291_MN_MNINO'".
EXPORTING
* I_FLG_WITH_MESSAGE = ESP1_TRUE "Issue Message
I_INTERVAL = "Number Range Interval
IMPORTING
E_MNINO = "
EXCEPTIONS
NUMBER_RANGE_NOT_FOUND = 1 NUMBER_RANGE_NOT_INTERNAL = 2 INTERVAL_NOT_FOUND = 3 INTERVAL_OVERFLOW = 4 INTERNAL_ERROR = 5
IMPORTING Parameters details for EHSWA_291_MN_MNINO
I_FLG_WITH_MESSAGE - Issue Message
Data type: ESP1_BOOLEANDefault: ESP1_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_INTERVAL - Number Range Interval
Data type: INRI-NRRANGENROptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for EHSWA_291_MN_MNINO
E_MNINO -
Data type: EHSWAT_MN-MNINOOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NUMBER_RANGE_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NUMBER_RANGE_NOT_INTERNAL -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERVAL_NOT_FOUND - Interval Not Found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERVAL_OVERFLOW - Overflow
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_ERROR - Internal error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EHSWA_291_MN_MNINO 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_e_mnino | TYPE EHSWAT_MN-MNINO, " | |||
| lv_i_flg_with_message | TYPE ESP1_BOOLEAN, " ESP1_TRUE | |||
| lv_number_range_not_found | TYPE ESP1_BOOLEAN, " | |||
| lv_i_interval | TYPE INRI-NRRANGENR, " | |||
| lv_number_range_not_internal | TYPE INRI, " | |||
| lv_interval_not_found | TYPE INRI, " | |||
| lv_interval_overflow | TYPE INRI, " | |||
| lv_internal_error | TYPE INRI. " |
|   CALL FUNCTION 'EHSWA_291_MN_MNINO' " |
| EXPORTING | ||
| I_FLG_WITH_MESSAGE | = lv_i_flg_with_message | |
| I_INTERVAL | = lv_i_interval | |
| IMPORTING | ||
| E_MNINO | = lv_e_mnino | |
| EXCEPTIONS | ||
| NUMBER_RANGE_NOT_FOUND = 1 | ||
| NUMBER_RANGE_NOT_INTERNAL = 2 | ||
| INTERVAL_NOT_FOUND = 3 | ||
| INTERVAL_OVERFLOW = 4 | ||
| INTERNAL_ERROR = 5 | ||
| . " EHSWA_291_MN_MNINO | ||
ABAP code using 7.40 inline data declarations to call FM EHSWA_291_MN_MNINO
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 MNINO FROM EHSWAT_MN INTO @DATA(ld_e_mnino). | ||||
| DATA(ld_i_flg_with_message) | = ESP1_TRUE. | |||
| "SELECT single NRRANGENR FROM INRI INTO @DATA(ld_i_interval). | ||||
Search for further information about these or an SAP related objects