SAP CJDT_ACT_READ_SELECTIVE Function Module for NOTRANSL: Liest Vorgänge zum PSP-Element









CJDT_ACT_READ_SELECTIVE is a standard cjdt act read selective 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: Liest Vorgänge zum PSP-Element 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 cjdt act read selective FM, simply by entering the name CJDT_ACT_READ_SELECTIVE into the relevant SAP transaction such as SE37 or SE38.

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



Function CJDT_ACT_READ_SELECTIVE 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 'CJDT_ACT_READ_SELECTIVE'"NOTRANSL: Liest Vorgänge zum PSP-Element
EXPORTING
* FLG_ADAPT = ' ' "Selection flag
* PROTO_IMP = 'X' "Selection flag
* PSPNR_IMP = "WBS Element
TRTYP_IMP = "Transaction type
* FLG_MAT_KOMP = "Selection flag
* FLG_SORT = 'X' "Selection flag

IMPORTING
FLG_DATALOSE = "Selection flag
FLG_DATALOSI = "Selection flag
FLG_DATALOSV = "Selection flag

TABLES
* PSP_RANGE = "
* AUTH_TAB = "Internal table with WBS numbers

EXCEPTIONS
NO_ENQUEUE = 1
.



IMPORTING Parameters details for CJDT_ACT_READ_SELECTIVE

FLG_ADAPT - Selection flag

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

PROTO_IMP - Selection flag

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

PSPNR_IMP - WBS Element

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

TRTYP_IMP - Transaction type

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

FLG_MAT_KOMP - Selection flag

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

FLG_SORT - Selection flag

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

EXPORTING Parameters details for CJDT_ACT_READ_SELECTIVE

FLG_DATALOSE - Selection flag

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

FLG_DATALOSI - Selection flag

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

FLG_DATALOSV - Selection flag

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

TABLES Parameters details for CJDT_ACT_READ_SELECTIVE

PSP_RANGE -

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

AUTH_TAB - Internal table with WBS numbers

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

EXCEPTIONS details

NO_ENQUEUE -

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

Copy and paste ABAP code example for CJDT_ACT_READ_SELECTIVE 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_flg_adapt  TYPE RCWBT-SELKZ, "   SPACE
lt_psp_range  TYPE STANDARD TABLE OF RCWBT, "   
lv_no_enqueue  TYPE RCWBT, "   
lv_flg_datalose  TYPE RCWBT-SELKZ, "   
lt_auth_tab  TYPE STANDARD TABLE OF RCJ_PSPNR, "   
lv_proto_imp  TYPE RCWBT-SELKZ, "   'X'
lv_flg_datalosi  TYPE RCWBT-SELKZ, "   
lv_pspnr_imp  TYPE PRPS-PSPNR, "   
lv_flg_datalosv  TYPE RCWBT-SELKZ, "   
lv_trtyp_imp  TYPE TC10-TRTYP, "   
lv_flg_mat_komp  TYPE RCWBT-SELKZ, "   
lv_flg_sort  TYPE RCWBT-SELKZ. "   'X'

  CALL FUNCTION 'CJDT_ACT_READ_SELECTIVE'  "NOTRANSL: Liest Vorgänge zum PSP-Element
    EXPORTING
         FLG_ADAPT = lv_flg_adapt
         PROTO_IMP = lv_proto_imp
         PSPNR_IMP = lv_pspnr_imp
         TRTYP_IMP = lv_trtyp_imp
         FLG_MAT_KOMP = lv_flg_mat_komp
         FLG_SORT = lv_flg_sort
    IMPORTING
         FLG_DATALOSE = lv_flg_datalose
         FLG_DATALOSI = lv_flg_datalosi
         FLG_DATALOSV = lv_flg_datalosv
    TABLES
         PSP_RANGE = lt_psp_range
         AUTH_TAB = lt_auth_tab
    EXCEPTIONS
        NO_ENQUEUE = 1
. " CJDT_ACT_READ_SELECTIVE




ABAP code using 7.40 inline data declarations to call FM CJDT_ACT_READ_SELECTIVE

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 SELKZ FROM RCWBT INTO @DATA(ld_flg_adapt).
DATA(ld_flg_adapt) = ' '.
 
 
 
"SELECT single SELKZ FROM RCWBT INTO @DATA(ld_flg_datalose).
 
 
"SELECT single SELKZ FROM RCWBT INTO @DATA(ld_proto_imp).
DATA(ld_proto_imp) = 'X'.
 
"SELECT single SELKZ FROM RCWBT INTO @DATA(ld_flg_datalosi).
 
"SELECT single PSPNR FROM PRPS INTO @DATA(ld_pspnr_imp).
 
"SELECT single SELKZ FROM RCWBT INTO @DATA(ld_flg_datalosv).
 
"SELECT single TRTYP FROM TC10 INTO @DATA(ld_trtyp_imp).
 
"SELECT single SELKZ FROM RCWBT INTO @DATA(ld_flg_mat_komp).
 
"SELECT single SELKZ FROM RCWBT INTO @DATA(ld_flg_sort).
DATA(ld_flg_sort) = 'X'.
 


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!