SAP CJGG_DOCKING_HANDLER Function Module for NOTRANSL: Organisiert die Fensterbereiche für die PPT









CJGG_DOCKING_HANDLER is a standard cjgg docking handler 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: Organisiert die Fensterbereiche für die PPT 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 cjgg docking handler FM, simply by entering the name CJGG_DOCKING_HANDLER into the relevant SAP transaction such as SE37 or SE38.

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



Function CJGG_DOCKING_HANDLER 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 'CJGG_DOCKING_HANDLER'"NOTRANSL: Organisiert die Fensterbereiche für die PPT
EXPORTING
REPID_IMP = "Predefined Type
DYNNR_IMP = "ABAP System Field: Current Dynpro Number
METHOD_IMP = "Selection flag
POSITION_IMP = "Selection flag
* WIDTH_IMP = "Predefined Type
ID_IMP = "Predefined Type
* CONTAINER_IMP = "Generic Type

IMPORTING
HANDLE_EXP = "Generic Type
VALUE_EXP = "Predefined Type
.



IMPORTING Parameters details for CJGG_DOCKING_HANDLER

REPID_IMP - Predefined Type

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

DYNNR_IMP - ABAP System Field: Current Dynpro Number

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

METHOD_IMP - Selection flag

Data type: RCWBT-SELKZ
Optional: No
Call by Reference: Yes

POSITION_IMP - Selection flag

Data type: RCWBT-SELKZ
Optional: No
Call by Reference: Yes

WIDTH_IMP - Predefined Type

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

ID_IMP - Predefined Type

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

CONTAINER_IMP - Generic Type

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

EXPORTING Parameters details for CJGG_DOCKING_HANDLER

HANDLE_EXP - Generic Type

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

VALUE_EXP - Predefined Type

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

Copy and paste ABAP code example for CJGG_DOCKING_HANDLER 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_repid_imp  TYPE SY-REPID, "   
lv_handle_exp  TYPE ANY, "   
lv_dynnr_imp  TYPE SY-DYNNR, "   
lv_value_exp  TYPE I, "   
lv_method_imp  TYPE RCWBT-SELKZ, "   
lv_position_imp  TYPE RCWBT-SELKZ, "   
lv_width_imp  TYPE I, "   
lv_id_imp  TYPE I, "   
lv_container_imp  TYPE C. "   

  CALL FUNCTION 'CJGG_DOCKING_HANDLER'  "NOTRANSL: Organisiert die Fensterbereiche für die PPT
    EXPORTING
         REPID_IMP = lv_repid_imp
         DYNNR_IMP = lv_dynnr_imp
         METHOD_IMP = lv_method_imp
         POSITION_IMP = lv_position_imp
         WIDTH_IMP = lv_width_imp
         ID_IMP = lv_id_imp
         CONTAINER_IMP = lv_container_imp
    IMPORTING
         HANDLE_EXP = lv_handle_exp
         VALUE_EXP = lv_value_exp
. " CJGG_DOCKING_HANDLER




ABAP code using 7.40 inline data declarations to call FM CJGG_DOCKING_HANDLER

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 REPID FROM SY INTO @DATA(ld_repid_imp).
 
 
"SELECT single DYNNR FROM SY INTO @DATA(ld_dynnr_imp).
 
 
"SELECT single SELKZ FROM RCWBT INTO @DATA(ld_method_imp).
 
"SELECT single SELKZ FROM RCWBT INTO @DATA(ld_position_imp).
 
 
 
 


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!