SAP CO_VA_INTEROPER_DURATION_CALC Function Module for NOTRANSL: Berechnung Übergangszeiten und Berücksichtigung von Überlappung









CO_VA_INTEROPER_DURATION_CALC is a standard co va interoper duration calc 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: Berechnung Übergangszeiten und Berücksichtigung von Überlappung 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 co va interoper duration calc FM, simply by entering the name CO_VA_INTEROPER_DURATION_CALC into the relevant SAP transaction such as SE37 or SE38.

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



Function CO_VA_INTEROPER_DURATION_CALC 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 'CO_VA_INTEROPER_DURATION_CALC'"NOTRANSL: Berechnung Übergangszeiten und Berücksichtigung von Überlappung
EXPORTING
IS_OPERATION_VOR = "Order: Operation structure for buffer table
IS_OPERATION_NACH = "Order: Operation structure for buffer table
I_ABSTMINEIN = "Unit for the time interval between relationships
I_ABSTMAXEIN = "Unit for the time interval between relationships

IMPORTING
EV_NO_APPEND = "Screens, display user entry

CHANGING
CS_R3REL = "Relationships for APO in R3 Format
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLCOVA_001 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLCOVA_002 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLCOVA_003 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLCOVA_004 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLCOVA_005 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLCOVA_006 DE-EN-LANG-SWITCH-NO-TRANSLATION

IMPORTING Parameters details for CO_VA_INTEROPER_DURATION_CALC

IS_OPERATION_VOR - Order: Operation structure for buffer table

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

IS_OPERATION_NACH - Order: Operation structure for buffer table

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

I_ABSTMINEIN - Unit for the time interval between relationships

Data type: CIF_R3REL-ABSTMINEIN
Optional: No
Call by Reference: Yes

I_ABSTMAXEIN - Unit for the time interval between relationships

Data type: CIF_R3REL-ABSTMAXEIN
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for CO_VA_INTEROPER_DURATION_CALC

EV_NO_APPEND - Screens, display user entry

Data type: SY-DATAR
Optional: No
Call by Reference: Yes

CHANGING Parameters details for CO_VA_INTEROPER_DURATION_CALC

CS_R3REL - Relationships for APO in R3 Format

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

Copy and paste ABAP code example for CO_VA_INTEROPER_DURATION_CALC 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_cs_r3rel  TYPE CIF_R3REL, "   
lv_ev_no_append  TYPE SY-DATAR, "   
lv_is_operation_vor  TYPE AFVGB, "   
lv_is_operation_nach  TYPE AFVGB, "   
lv_i_abstminein  TYPE CIF_R3REL-ABSTMINEIN, "   
lv_i_abstmaxein  TYPE CIF_R3REL-ABSTMAXEIN. "   

  CALL FUNCTION 'CO_VA_INTEROPER_DURATION_CALC'  "NOTRANSL: Berechnung Übergangszeiten und Berücksichtigung von Überlappung
    EXPORTING
         IS_OPERATION_VOR = lv_is_operation_vor
         IS_OPERATION_NACH = lv_is_operation_nach
         I_ABSTMINEIN = lv_i_abstminein
         I_ABSTMAXEIN = lv_i_abstmaxein
    IMPORTING
         EV_NO_APPEND = lv_ev_no_append
    CHANGING
         CS_R3REL = lv_cs_r3rel
. " CO_VA_INTEROPER_DURATION_CALC




ABAP code using 7.40 inline data declarations to call FM CO_VA_INTEROPER_DURATION_CALC

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 DATAR FROM SY INTO @DATA(ld_ev_no_append).
 
 
 
"SELECT single ABSTMINEIN FROM CIF_R3REL INTO @DATA(ld_i_abstminein).
 
"SELECT single ABSTMAXEIN FROM CIF_R3REL INTO @DATA(ld_i_abstmaxein).
 


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!