SAP MMPUR_AO_FIND_RELEVANT_DATES Function Module for NOTRANSL: Finde die Daten, die für die Gültigkeitszeitäume der Kond. relev









MMPUR_AO_FIND_RELEVANT_DATES is a standard mmpur ao find relevant dates 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: Finde die Daten, die für die Gültigkeitszeitäume der Kond. relev 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 mmpur ao find relevant dates FM, simply by entering the name MMPUR_AO_FIND_RELEVANT_DATES into the relevant SAP transaction such as SE37 or SE38.

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



Function MMPUR_AO_FIND_RELEVANT_DATES 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 'MMPUR_AO_FIND_RELEVANT_DATES'"NOTRANSL: Finde die Daten, die für die Gültigkeitszeitäume der Kond. relev
EXPORTING
IMF_DATAB = "DE-EN-LANG-SWITCH-NO-TRANSLATION
IMF_DATBI = "DE-EN-LANG-SWITCH-NO-TRANSLATION
IMS_KEYS = "Structure with Key Fields
* IMF_KAPPL = 'M' "Application

TABLES
IMT_T681 = "Conditions
EXT_DATS = "Time intervals
EXT_DATES_AND_KNUMH = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* IMT_KSCHL = "
.



IMPORTING Parameters details for MMPUR_AO_FIND_RELEVANT_DATES

IMF_DATAB - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

IMF_DATBI - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

IMS_KEYS - Structure with Key Fields

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

IMF_KAPPL - Application

Data type: T685-KAPPL
Default: 'M'
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for MMPUR_AO_FIND_RELEVANT_DATES

IMT_T681 - Conditions

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

EXT_DATS - Time intervals

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

EXT_DATES_AND_KNUMH - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

IMT_KSCHL -

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

Copy and paste ABAP code example for MMPUR_AO_FIND_RELEVANT_DATES 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_imt_t681  TYPE STANDARD TABLE OF T681, "   
lv_imf_datab  TYPE KONH-DATAB, "   
lt_ext_dats  TYPE STANDARD TABLE OF KNUMH_DAT, "   
lv_imf_datbi  TYPE KONH-DATBI, "   
lv_ims_keys  TYPE KOMG, "   
lt_ext_dates_and_knumh  TYPE STANDARD TABLE OF KNUMH_DAT, "   
lv_imf_kappl  TYPE T685-KAPPL, "   'M'
lt_imt_kschl  TYPE STANDARD TABLE OF WPKSCHL. "   

  CALL FUNCTION 'MMPUR_AO_FIND_RELEVANT_DATES'  "NOTRANSL: Finde die Daten, die für die Gültigkeitszeitäume der Kond. relev
    EXPORTING
         IMF_DATAB = lv_imf_datab
         IMF_DATBI = lv_imf_datbi
         IMS_KEYS = lv_ims_keys
         IMF_KAPPL = lv_imf_kappl
    TABLES
         IMT_T681 = lt_imt_t681
         EXT_DATS = lt_ext_dats
         EXT_DATES_AND_KNUMH = lt_ext_dates_and_knumh
         IMT_KSCHL = lt_imt_kschl
. " MMPUR_AO_FIND_RELEVANT_DATES




ABAP code using 7.40 inline data declarations to call FM MMPUR_AO_FIND_RELEVANT_DATES

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 DATAB FROM KONH INTO @DATA(ld_imf_datab).
 
 
"SELECT single DATBI FROM KONH INTO @DATA(ld_imf_datbi).
 
 
 
"SELECT single KAPPL FROM T685 INTO @DATA(ld_imf_kappl).
DATA(ld_imf_kappl) = 'M'.
 
 


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!