SAP JV_EC_EXIT Function Module for Exit for E&C for call in JV IM









JV_EC_EXIT is a standard jv ec exit SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Exit for E&C for call in JV IM 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 jv ec exit FM, simply by entering the name JV_EC_EXIT into the relevant SAP transaction such as SE37 or SE38.

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



Function JV_EC_EXIT 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 'JV_EC_EXIT'"Exit for E&C for call in JV IM
EXPORTING
* AWTYP = "Reference procedure
* AWREF = "Reference document number
* AWORG = "Reference organizational units
* BUKRS = "Company Code
* BELNR = "Accounting document number
* GJAHR = "Fiscal Year

TABLES
T_JVAH = "Joint Venture Header
T_JVAP = "Joint venture item
.



IMPORTING Parameters details for JV_EC_EXIT

AWTYP - Reference procedure

Data type: ACCIT-AWTYP
Optional: Yes
Call by Reference: Yes

AWREF - Reference document number

Data type: ACCIT-AWREF
Optional: Yes
Call by Reference: Yes

AWORG - Reference organizational units

Data type: ACCIT-AWORG
Optional: Yes
Call by Reference: Yes

BUKRS - Company Code

Data type: ACCIT-BUKRS
Optional: Yes
Call by Reference: Yes

BELNR - Accounting document number

Data type: ACCIT-BELNR
Optional: Yes
Call by Reference: Yes

GJAHR - Fiscal Year

Data type: ACCIT-GJAHR
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for JV_EC_EXIT

T_JVAH - Joint Venture Header

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

T_JVAP - Joint venture item

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

Copy and paste ABAP code example for JV_EC_EXIT 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_awtyp  TYPE ACCIT-AWTYP, "   
lt_t_jvah  TYPE STANDARD TABLE OF JVAH, "   
lv_awref  TYPE ACCIT-AWREF, "   
lt_t_jvap  TYPE STANDARD TABLE OF JVAP, "   
lv_aworg  TYPE ACCIT-AWORG, "   
lv_bukrs  TYPE ACCIT-BUKRS, "   
lv_belnr  TYPE ACCIT-BELNR, "   
lv_gjahr  TYPE ACCIT-GJAHR. "   

  CALL FUNCTION 'JV_EC_EXIT'  "Exit for E&C for call in JV IM
    EXPORTING
         AWTYP = lv_awtyp
         AWREF = lv_awref
         AWORG = lv_aworg
         BUKRS = lv_bukrs
         BELNR = lv_belnr
         GJAHR = lv_gjahr
    TABLES
         T_JVAH = lt_t_jvah
         T_JVAP = lt_t_jvap
. " JV_EC_EXIT




ABAP code using 7.40 inline data declarations to call FM JV_EC_EXIT

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 AWTYP FROM ACCIT INTO @DATA(ld_awtyp).
 
 
"SELECT single AWREF FROM ACCIT INTO @DATA(ld_awref).
 
 
"SELECT single AWORG FROM ACCIT INTO @DATA(ld_aworg).
 
"SELECT single BUKRS FROM ACCIT INTO @DATA(ld_bukrs).
 
"SELECT single BELNR FROM ACCIT INTO @DATA(ld_belnr).
 
"SELECT single GJAHR FROM ACCIT INTO @DATA(ld_gjahr).
 


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!