SAP FRE_MD_PLIFZ_DELTA Function Module for Calculation of planned delivery time according to change pointers









FRE_MD_PLIFZ_DELTA is a standard fre md plifz delta SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Calculation of planned delivery time according to change pointers 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 fre md plifz delta FM, simply by entering the name FRE_MD_PLIFZ_DELTA into the relevant SAP transaction such as SE37 or SE38.

Function Group: FRE_PLIFZ_CALC
Program Name: SAPLFRE_PLIFZ_CALC
Main Program: SAPLFRE_PLIFZ_CALC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function FRE_MD_PLIFZ_DELTA 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 'FRE_MD_PLIFZ_DELTA'"Calculation of planned delivery time according to change pointers
EXPORTING
IP_RELIF = "Inherit planned delivery time from regular vendor
* IP_NO_TCHAIN = 'X' "Not overwrite plan. del. time if transp. chain is missing
* IP_PARAL = "Parallel or RFC call of module ('X' = Yes, ' ' = No)
IP_LEVEL = "Problem class for writing message into application log
IP_SPLIT = "Activate splitting of change pointers

TABLES
XT_EINA_EINE_RELIF = "Table type for fields from EINA and EINE
* IT_CPID_PARAL = "Change pointer data for parallel processing
IT_WRF3_MAX = "Delivering plant data (highest priority)
IT_WRF3_ALL = "Delivering plant data (actual and future)
IT_T001W_DC = "Plant data of DCs
IT_T001W_ALL = "Plant data
* IT_CPID_EINA = "Change pointer data for EINA
* IT_CPID_EINE = "Change pointer data for EINE
* IT_CPID_LFA1 = "Change pointer data for LFA1
* IT_CPID_MARC = "Change pointer data for MARC
* IT_CPID_WRF3 = "Change pointer data for WRF3
* IT_CPID_ROUTE = "Change pointer data for WRF_PSCD_ROUTE
* IT_CPID_TCHAIN = "Change pointer data for WRF_PSCD_TCHAINR
* IT_CPID_MARC_GI_PR_TIME = "Change pointer data for MARC (GI_PR_TIME changed)

EXCEPTIONS
NO_DATA = 1 INTERNAL_ERROR = 2 MESSAGE_ERROR = 3
.



IMPORTING Parameters details for FRE_MD_PLIFZ_DELTA

IP_RELIF - Inherit planned delivery time from regular vendor

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

IP_NO_TCHAIN - Not overwrite plan. del. time if transp. chain is missing

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

IP_PARAL - Parallel or RFC call of module ('X' = Yes, ' ' = No)

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

IP_LEVEL - Problem class for writing message into application log

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

IP_SPLIT - Activate splitting of change pointers

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

TABLES Parameters details for FRE_MD_PLIFZ_DELTA

XT_EINA_EINE_RELIF - Table type for fields from EINA and EINE

Data type: FRE_EINA_EINE_TTY
Optional: No
Call by Reference: Yes

IT_CPID_PARAL - Change pointer data for parallel processing

Data type: FRE_PLIFZ_CPID_TTY
Optional: Yes
Call by Reference: Yes

IT_WRF3_MAX - Delivering plant data (highest priority)

Data type: FRE_PLIFZ_WRF3_TTY
Optional: No
Call by Reference: Yes

IT_WRF3_ALL - Delivering plant data (actual and future)

Data type: FRE_PLIFZ_WRF3_TTY
Optional: No
Call by Reference: Yes

IT_T001W_DC - Plant data of DCs

Data type: FRE_T001W_TTY
Optional: No
Call by Reference: Yes

IT_T001W_ALL - Plant data

Data type: FRE_T001W_TTY
Optional: No
Call by Reference: Yes

IT_CPID_EINA - Change pointer data for EINA

Data type: FRE_PLIFZ_CPID_TTY
Optional: Yes
Call by Reference: Yes

IT_CPID_EINE - Change pointer data for EINE

Data type: FRE_PLIFZ_CPID_TTY
Optional: Yes
Call by Reference: Yes

IT_CPID_LFA1 - Change pointer data for LFA1

Data type: FRE_PLIFZ_CPID_TTY
Optional: Yes
Call by Reference: Yes

IT_CPID_MARC - Change pointer data for MARC

Data type: FRE_PLIFZ_CPID_TTY
Optional: Yes
Call by Reference: Yes

IT_CPID_WRF3 - Change pointer data for WRF3

Data type: FRE_PLIFZ_CPID_TTY
Optional: Yes
Call by Reference: Yes

IT_CPID_ROUTE - Change pointer data for WRF_PSCD_ROUTE

Data type: FRE_PLIFZ_CPID_TTY
Optional: Yes
Call by Reference: Yes

IT_CPID_TCHAIN - Change pointer data for WRF_PSCD_TCHAINR

Data type: FRE_PLIFZ_CPID_TTY
Optional: Yes
Call by Reference: Yes

IT_CPID_MARC_GI_PR_TIME - Change pointer data for MARC (GI_PR_TIME changed)

Data type: FRE_PLIFZ_CPID_TTY
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

NO_DATA - No data available

Data type:
Optional: No
Call by Reference: Yes

INTERNAL_ERROR - Failure occurred

Data type:
Optional: No
Call by Reference: Yes

MESSAGE_ERROR - Messages haven't been saved in application log

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FRE_MD_PLIFZ_DELTA 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_ip_relif  TYPE FRE_PLIFZ_RELIF, "   
lt_xt_eina_eine_relif  TYPE STANDARD TABLE OF FRE_EINA_EINE_TTY, "   
lt_it_cpid_paral  TYPE STANDARD TABLE OF FRE_PLIFZ_CPID_TTY, "   
lt_it_wrf3_max  TYPE STANDARD TABLE OF FRE_PLIFZ_WRF3_TTY, "   
lt_it_wrf3_all  TYPE STANDARD TABLE OF FRE_PLIFZ_WRF3_TTY, "   
lt_it_t001w_dc  TYPE STANDARD TABLE OF FRE_T001W_TTY, "   
lt_it_t001w_all  TYPE STANDARD TABLE OF FRE_T001W_TTY, "   
lv_ip_no_tchain  TYPE FRE_PLIFZ_NO_TCHAIN, "   'X'
lt_it_cpid_eina  TYPE STANDARD TABLE OF FRE_PLIFZ_CPID_TTY, "   
lv_internal_error  TYPE FRE_PLIFZ_CPID_TTY, "   
lv_ip_paral  TYPE XFELD, "   
lt_it_cpid_eine  TYPE STANDARD TABLE OF FRE_PLIFZ_CPID_TTY, "   
lv_message_error  TYPE FRE_PLIFZ_CPID_TTY, "   
lv_ip_level  TYPE FRE_PLIFZ_LEVEL_PA, "   
lt_it_cpid_lfa1  TYPE STANDARD TABLE OF FRE_PLIFZ_CPID_TTY, "   
lv_ip_split  TYPE FRE_PLIFZ_SPLIT_CP, "   
lt_it_cpid_marc  TYPE STANDARD TABLE OF FRE_PLIFZ_CPID_TTY, "   
lt_it_cpid_wrf3  TYPE STANDARD TABLE OF FRE_PLIFZ_CPID_TTY, "   
lt_it_cpid_route  TYPE STANDARD TABLE OF FRE_PLIFZ_CPID_TTY, "   
lt_it_cpid_tchain  TYPE STANDARD TABLE OF FRE_PLIFZ_CPID_TTY, "   
lt_it_cpid_marc_gi_pr_time  TYPE STANDARD TABLE OF FRE_PLIFZ_CPID_TTY. "   

  CALL FUNCTION 'FRE_MD_PLIFZ_DELTA'  "Calculation of planned delivery time according to change pointers
    EXPORTING
         IP_RELIF = lv_ip_relif
         IP_NO_TCHAIN = lv_ip_no_tchain
         IP_PARAL = lv_ip_paral
         IP_LEVEL = lv_ip_level
         IP_SPLIT = lv_ip_split
    TABLES
         XT_EINA_EINE_RELIF = lt_xt_eina_eine_relif
         IT_CPID_PARAL = lt_it_cpid_paral
         IT_WRF3_MAX = lt_it_wrf3_max
         IT_WRF3_ALL = lt_it_wrf3_all
         IT_T001W_DC = lt_it_t001w_dc
         IT_T001W_ALL = lt_it_t001w_all
         IT_CPID_EINA = lt_it_cpid_eina
         IT_CPID_EINE = lt_it_cpid_eine
         IT_CPID_LFA1 = lt_it_cpid_lfa1
         IT_CPID_MARC = lt_it_cpid_marc
         IT_CPID_WRF3 = lt_it_cpid_wrf3
         IT_CPID_ROUTE = lt_it_cpid_route
         IT_CPID_TCHAIN = lt_it_cpid_tchain
         IT_CPID_MARC_GI_PR_TIME = lt_it_cpid_marc_gi_pr_time
    EXCEPTIONS
        NO_DATA = 1
        INTERNAL_ERROR = 2
        MESSAGE_ERROR = 3
. " FRE_MD_PLIFZ_DELTA




ABAP code using 7.40 inline data declarations to call FM FRE_MD_PLIFZ_DELTA

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.

 
 
 
 
 
 
 
 
DATA(ld_ip_no_tchain) = '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!