SAP CJGL_CALL_REPORTING Function Module for NOTRANSL: Ruft Terminreporting









CJGL_CALL_REPORTING is a standard cjgl call reporting 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: Ruft Terminreporting 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 cjgl call reporting FM, simply by entering the name CJGL_CALL_REPORTING into the relevant SAP transaction such as SE37 or SE38.

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



Function CJGL_CALL_REPORTING 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 'CJGL_CALL_REPORTING'"NOTRANSL: Ruft Terminreporting
EXPORTING
* PROJ_IMP = "
* EVA_VRSN = "
TRMRP_IMP = "
TRMPRF_IMP = "
TRTYP_IMP = "
* P_VERSN1 = "
* P_VERSN2 = "
* FLG_COMP_SIM_COPY = "
* VERS_SOURCE = "
* VERS_TARGET = "

IMPORTING
TRMRP_EXP = "
TRMPRF_EXP = "

TABLES
CJDI_DISP = "

EXCEPTIONS
NOT_FOUND = 1
.



IMPORTING Parameters details for CJGL_CALL_REPORTING

PROJ_IMP -

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

EVA_VRSN -

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

TRMRP_IMP -

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

TRMPRF_IMP -

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

TRTYP_IMP -

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

P_VERSN1 -

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

P_VERSN2 -

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

FLG_COMP_SIM_COPY -

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

VERS_SOURCE -

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

VERS_TARGET -

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

EXPORTING Parameters details for CJGL_CALL_REPORTING

TRMRP_EXP -

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

TRMPRF_EXP -

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

TABLES Parameters details for CJGL_CALL_REPORTING

CJDI_DISP -

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

EXCEPTIONS details

NOT_FOUND -

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

Copy and paste ABAP code example for CJGL_CALL_REPORTING 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_proj_imp  TYPE PROJ, "   
lt_cjdi_disp  TYPE STANDARD TABLE OF RCJ_MARKL, "   
lv_not_found  TYPE RCJ_MARKL, "   
lv_trmrp_exp  TYPE RCWBT-TRMRP, "   
lv_eva_vrsn  TYPE TCBP-VERSN2, "   
lv_trmrp_imp  TYPE RCWBT-TRMRP, "   
lv_trmprf_exp  TYPE RCWBT-TRMPRF, "   
lv_trmprf_imp  TYPE RCWBT-TRMPRF, "   
lv_trtyp_imp  TYPE TC10-TRTYP, "   
lv_p_versn1  TYPE TCBP-VERSN1, "   
lv_p_versn2  TYPE TCBP-VERSN2, "   
lv_flg_comp_sim_copy  TYPE RCWBT-SELKZ, "   
lv_vers_source  TYPE RCWBT-VSNMR, "   
lv_vers_target  TYPE RCWBT-VSNMR. "   

  CALL FUNCTION 'CJGL_CALL_REPORTING'  "NOTRANSL: Ruft Terminreporting
    EXPORTING
         PROJ_IMP = lv_proj_imp
         EVA_VRSN = lv_eva_vrsn
         TRMRP_IMP = lv_trmrp_imp
         TRMPRF_IMP = lv_trmprf_imp
         TRTYP_IMP = lv_trtyp_imp
         P_VERSN1 = lv_p_versn1
         P_VERSN2 = lv_p_versn2
         FLG_COMP_SIM_COPY = lv_flg_comp_sim_copy
         VERS_SOURCE = lv_vers_source
         VERS_TARGET = lv_vers_target
    IMPORTING
         TRMRP_EXP = lv_trmrp_exp
         TRMPRF_EXP = lv_trmprf_exp
    TABLES
         CJDI_DISP = lt_cjdi_disp
    EXCEPTIONS
        NOT_FOUND = 1
. " CJGL_CALL_REPORTING




ABAP code using 7.40 inline data declarations to call FM CJGL_CALL_REPORTING

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 TRMRP FROM RCWBT INTO @DATA(ld_trmrp_exp).
 
"SELECT single VERSN2 FROM TCBP INTO @DATA(ld_eva_vrsn).
 
"SELECT single TRMRP FROM RCWBT INTO @DATA(ld_trmrp_imp).
 
"SELECT single TRMPRF FROM RCWBT INTO @DATA(ld_trmprf_exp).
 
"SELECT single TRMPRF FROM RCWBT INTO @DATA(ld_trmprf_imp).
 
"SELECT single TRTYP FROM TC10 INTO @DATA(ld_trtyp_imp).
 
"SELECT single VERSN1 FROM TCBP INTO @DATA(ld_p_versn1).
 
"SELECT single VERSN2 FROM TCBP INTO @DATA(ld_p_versn2).
 
"SELECT single SELKZ FROM RCWBT INTO @DATA(ld_flg_comp_sim_copy).
 
"SELECT single VSNMR FROM RCWBT INTO @DATA(ld_vers_source).
 
"SELECT single VSNMR FROM RCWBT INTO @DATA(ld_vers_target).
 


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!