SAP SAMPLE_PROCESS_00702604 Function Module for Sls-Bsed LO: Change VIMI28 and Output of Calculated Intervals









SAMPLE_PROCESS_00702604 is a standard sample process 00702604 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Sls-Bsed LO: Change VIMI28 and Output of Calculated Intervals 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 sample process 00702604 FM, simply by entering the name SAMPLE_PROCESS_00702604 into the relevant SAP transaction such as SE37 or SE38.

Function Group: FV_RESR_BTE
Program Name: SAPLFV_RESR_BTE
Main Program:
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function SAMPLE_PROCESS_00702604 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 'SAMPLE_PROCESS_00702604'"Sls-Bsed LO: Change VIMI28 and Output of Calculated Intervals
EXPORTING
IC_AGREEMENT = "Contract Types VIMIMV and VICN01
ID_SKOART = "Condition Type, i.e. Lowest Subdivision of Condition Records
ID_DMELDV = "Date and Time, Current (Application Server) Date
ID_DMELDB = "Date and Time, Current (Application Server) Date
ID_REPID = "ABAP Program: Current Main Program

CHANGING
* CT_SETTLED_INTERVALS = "Determination Of Intervals
* CT_VIMI28 = "Sales Settlement Histories
.



IMPORTING Parameters details for SAMPLE_PROCESS_00702604

IC_AGREEMENT - Contract Types VIMIMV and VICN01

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

ID_SKOART - Condition Type, i.e. Lowest Subdivision of Condition Records

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

ID_DMELDV - Date and Time, Current (Application Server) Date

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

ID_DMELDB - Date and Time, Current (Application Server) Date

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

ID_REPID - ABAP Program: Current Main Program

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

CHANGING Parameters details for SAMPLE_PROCESS_00702604

CT_SETTLED_INTERVALS - Determination Of Intervals

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

CT_VIMI28 - Sales Settlement Histories

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

Copy and paste ABAP code example for SAMPLE_PROCESS_00702604 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_ic_agreement  TYPE CL_RE_UM_AGREEMENT, "   
lv_ct_settled_intervals  TYPE RFVI_T_UM_INTERVAL, "   
lv_ct_vimi28  TYPE REVI_T_VIMI28, "   
lv_id_skoart  TYPE SKOART, "   
lv_id_dmeldv  TYPE DVONPER, "   
lv_id_dmeldb  TYPE DBISPER, "   
lv_id_repid  TYPE SYREPID. "   

  CALL FUNCTION 'SAMPLE_PROCESS_00702604'  "Sls-Bsed LO: Change VIMI28 and Output of Calculated Intervals
    EXPORTING
         IC_AGREEMENT = lv_ic_agreement
         ID_SKOART = lv_id_skoart
         ID_DMELDV = lv_id_dmeldv
         ID_DMELDB = lv_id_dmeldb
         ID_REPID = lv_id_repid
    CHANGING
         CT_SETTLED_INTERVALS = lv_ct_settled_intervals
         CT_VIMI28 = lv_ct_vimi28
. " SAMPLE_PROCESS_00702604




ABAP code using 7.40 inline data declarations to call FM SAMPLE_PROCESS_00702604

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.

 
 
 
 
 
 
 


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!