SAP MMRP_PR_DATEVECTOR_CREATE_RFC Function Module for Soft Read of Time Buckets Profile GUID (Implicit Maintenance)
MMRP_PR_DATEVECTOR_CREATE_RFC is a standard mmrp pr datevector create rfc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Soft Read of Time Buckets Profile GUID (Implicit Maintenance) 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 mmrp pr datevector create rfc FM, simply by entering the name MMRP_PR_DATEVECTOR_CREATE_RFC into the relevant SAP transaction such as SE37 or SE38.
Function Group: MMRPPR_OM
Program Name: SAPLMMRPPR_OM
Main Program: SAPLMMRPPR_OM
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function MMRP_PR_DATEVECTOR_CREATE_RFC 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 'MMRP_PR_DATEVECTOR_CREATE_RFC'"Soft Read of Time Buckets Profile GUID (Implicit Maintenance).
EXPORTING
* IV_SIMID = "Planversion (operativ oder eine Simulationsversion)
* IV_RESID = "APO-interne Nummer (UID) für Ressource
* IV_TBID = "Zeitraster-ID
* IV_TIME_DELTA = "Zeitdauer, Zeitdifferenz (in sec)
* IV_DIRECTION = "Vorwärtsterminierung
* IV_DATEVECID = "GUID eines Datums-Vektors
* IV_METHOD = "Methode (steuert löschen, ändern, anlegen von Objekten)
* IT_GRID = "Tabelle mit einem Datumsraster fuer einen Datums-Vektor
IMPORTING
EV_SUBRC = "Rückgabewert, Rückgabewert nach ABAP-Anweisungen
ET_RC = "Tabellentyp zur Rückgabe von liveCache-Returncodes
EXCEPTIONS
ERROR_IN_LIVECACHE = 1
IMPORTING Parameters details for MMRP_PR_DATEVECTOR_CREATE_RFC
IV_SIMID - Planversion (operativ oder eine Simulationsversion)
Data type: /SAPAPO/OM_VRSIOIDOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_RESID - APO-interne Nummer (UID) für Ressource
Data type: /SAPAPO/OM_RESIDOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_TBID - Zeitraster-ID
Data type: MMRP_TBIDOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_TIME_DELTA - Zeitdauer, Zeitdifferenz (in sec)
Data type: /SAPAPO/OM_TIME_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_DIRECTION - Vorwärtsterminierung
Data type: MMRP_DIRECTIONOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_DATEVECID - GUID eines Datums-Vektors
Data type: /SAPAPO/OM_DATEVECIDOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_METHOD - Methode (steuert löschen, ändern, anlegen von Objekten)
Data type: /SAPAPO/OM_METHODOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_GRID - Tabelle mit einem Datumsraster fuer einen Datums-Vektor
Data type: /SAPAPO/OM_DATE_GRID_TABOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for MMRP_PR_DATEVECTOR_CREATE_RFC
EV_SUBRC - Rückgabewert, Rückgabewert nach ABAP-Anweisungen
Data type: SY-SUBRCOptional: No
Call by Reference: No ( called with pass by value option)
ET_RC - Tabellentyp zur Rückgabe von liveCache-Returncodes
Data type: /SAPAPO/OM_LC_RC_TABOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR_IN_LIVECACHE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for MMRP_PR_DATEVECTOR_CREATE_RFC 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_ev_subrc | TYPE SY-SUBRC, " | |||
| lv_iv_simid | TYPE /SAPAPO/OM_VRSIOID, " | |||
| lv_error_in_livecache | TYPE /SAPAPO/OM_VRSIOID, " | |||
| lv_et_rc | TYPE /SAPAPO/OM_LC_RC_TAB, " | |||
| lv_iv_resid | TYPE /SAPAPO/OM_RESID, " | |||
| lv_iv_tbid | TYPE MMRP_TBID, " | |||
| lv_iv_time_delta | TYPE /SAPAPO/OM_TIME_DIFF, " | |||
| lv_iv_direction | TYPE MMRP_DIRECTION, " | |||
| lv_iv_datevecid | TYPE /SAPAPO/OM_DATEVECID, " | |||
| lv_iv_method | TYPE /SAPAPO/OM_METHOD, " | |||
| lv_it_grid | TYPE /SAPAPO/OM_DATE_GRID_TAB. " |
|   CALL FUNCTION 'MMRP_PR_DATEVECTOR_CREATE_RFC' "Soft Read of Time Buckets Profile GUID (Implicit Maintenance) |
| EXPORTING | ||
| IV_SIMID | = lv_iv_simid | |
| IV_RESID | = lv_iv_resid | |
| IV_TBID | = lv_iv_tbid | |
| IV_TIME_DELTA | = lv_iv_time_delta | |
| IV_DIRECTION | = lv_iv_direction | |
| IV_DATEVECID | = lv_iv_datevecid | |
| IV_METHOD | = lv_iv_method | |
| IT_GRID | = lv_it_grid | |
| IMPORTING | ||
| EV_SUBRC | = lv_ev_subrc | |
| ET_RC | = lv_et_rc | |
| EXCEPTIONS | ||
| ERROR_IN_LIVECACHE = 1 | ||
| . " MMRP_PR_DATEVECTOR_CREATE_RFC | ||
ABAP code using 7.40 inline data declarations to call FM MMRP_PR_DATEVECTOR_CREATE_RFC
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 SUBRC FROM SY INTO @DATA(ld_ev_subrc). | ||||
Search for further information about these or an SAP related objects