SAP FRE_MD_VKP_DELTA_PROCESS Function Module for Framework for Collection and Transmission Sales price data to SAP FuR









FRE_MD_VKP_DELTA_PROCESS is a standard fre md vkp delta process SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Framework for Collection and Transmission Sales price data to SAP FuR 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 vkp delta process FM, simply by entering the name FRE_MD_VKP_DELTA_PROCESS into the relevant SAP transaction such as SE37 or SE38.

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



Function FRE_MD_VKP_DELTA_PROCESS 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_VKP_DELTA_PROCESS'"Framework for Collection and Transmission Sales price data to SAP FuR
EXPORTING
IT_DB_ART_SITE = "interface table with werks and matnr
IP_DATEFROM = "Current Date of Application Server
IP_DATETO = "Current Date of Application Server
* IP_VZ_PRICE_DIRECT = 'X' "New Input Values
IP_OWNSYSTEM = "System of R3
* IP_PACKAGE_ID = "UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)

EXCEPTIONS
DB_ERROR = 1 RFC_ERROR = 2 COMMUNICATION_FAILURE = 3 SYSTEM_FAILURE = 4 RESSOURCE_FAILURE = 5
.



IMPORTING Parameters details for FRE_MD_VKP_DELTA_PROCESS

IT_DB_ART_SITE - interface table with werks and matnr

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

IP_DATEFROM - Current Date of Application Server

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

IP_DATETO - Current Date of Application Server

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

IP_VZ_PRICE_DIRECT - New Input Values

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

IP_OWNSYSTEM - System of R3

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

IP_PACKAGE_ID - UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)

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

EXCEPTIONS details

DB_ERROR - Error during database update

Data type:
Optional: No
Call by Reference: Yes

RFC_ERROR - Error during a call of the RFC

Data type:
Optional: No
Call by Reference: Yes

COMMUNICATION_FAILURE - Communication failure

Data type:
Optional: No
Call by Reference: Yes

SYSTEM_FAILURE - System failure

Data type:
Optional: No
Call by Reference: Yes

RESSOURCE_FAILURE - Ressource failure

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FRE_MD_VKP_DELTA_PROCESS 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_db_error  TYPE STRING, "   
lv_it_db_art_site  TYPE FRE_DB_ART_SITE_TTY, "   
lv_rfc_error  TYPE FRE_DB_ART_SITE_TTY, "   
lv_ip_datefrom  TYPE SY-DATUM, "   
lv_ip_dateto  TYPE SY-DATUM, "   
lv_communication_failure  TYPE SY, "   
lv_system_failure  TYPE SY, "   
lv_ip_vz_price_direct  TYPE XFLAG, "   'X'
lv_ip_ownsystem  TYPE FRE_SYSTEM_R3, "   
lv_ressource_failure  TYPE FRE_SYSTEM_R3, "   
lv_ip_package_id  TYPE FRE_TST_LONG. "   

  CALL FUNCTION 'FRE_MD_VKP_DELTA_PROCESS'  "Framework for Collection and Transmission Sales price data to SAP FuR
    EXPORTING
         IT_DB_ART_SITE = lv_it_db_art_site
         IP_DATEFROM = lv_ip_datefrom
         IP_DATETO = lv_ip_dateto
         IP_VZ_PRICE_DIRECT = lv_ip_vz_price_direct
         IP_OWNSYSTEM = lv_ip_ownsystem
         IP_PACKAGE_ID = lv_ip_package_id
    EXCEPTIONS
        DB_ERROR = 1
        RFC_ERROR = 2
        COMMUNICATION_FAILURE = 3
        SYSTEM_FAILURE = 4
        RESSOURCE_FAILURE = 5
. " FRE_MD_VKP_DELTA_PROCESS




ABAP code using 7.40 inline data declarations to call FM FRE_MD_VKP_DELTA_PROCESS

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 DATUM FROM SY INTO @DATA(ld_ip_datefrom).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_ip_dateto).
 
 
 
DATA(ld_ip_vz_price_direct) = '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!