SAP CJDB_FILL_MEMORY_FROM_PPB Function Module for Fill Memory of LDB PSJ from Planning Board
CJDB_FILL_MEMORY_FROM_PPB is a standard cjdb fill memory from ppb SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Fill Memory of LDB PSJ from Planning Board 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 cjdb fill memory from ppb FM, simply by entering the name CJDB_FILL_MEMORY_FROM_PPB into the relevant SAP transaction such as SE37 or SE38.
Function Group: CJDB
Program Name: SAPLCJDB
Main Program: SAPLCJDB
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CJDB_FILL_MEMORY_FROM_PPB 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 'CJDB_FILL_MEMORY_FROM_PPB'"Fill Memory of LDB PSJ from Planning Board.
EXPORTING
* PSJ_CALLER_PPB = 'RCNSO@@@' "ABAP Program: Current Main Program
UCOMM_PPB = "
TRMRP_PPB = "
VSNMR_PPB = "
* TMPDT_PPB = "
TCNDB_PPB = "
TCNDS_PPB = "
TRMPF_PPB = "
AKTDT_PPB = "
VERDT_PPB = "
PROJN_PPB = "
TABLES
* PSJ_AUTH_PPB = "
AFABD_PPB = "
FHMD_PPB = "
KBED01_PPB = "
VALLC_PPB = "
* VBAK_PPB = "
* VBAP_PPB = "
* IMTP_PPB = "
* IMPR_PPB = "
* AFFL_PPB = "
* PLAF_PPB = "
PROJ_PPB = "
PRPS_PPB = "
PRHI_PPB = "
CAUFVD_PPB = "
AFVGD_PPB = "
RESBD_PPB = "
PRTE_PPB = "
MLSTD_PPB = "
IMPORTING Parameters details for CJDB_FILL_MEMORY_FROM_PPB
PSJ_CALLER_PPB - ABAP Program: Current Main Program
Data type: SYREPIDDefault: 'RCNSO@@@'
Optional: Yes
Call by Reference: No ( called with pass by value option)
UCOMM_PPB -
Data type: XFELDOptional: No
Call by Reference: No ( called with pass by value option)
TRMRP_PPB -
Data type: RCWBT-TRMRPOptional: No
Call by Reference: No ( called with pass by value option)
VSNMR_PPB -
Data type: VSKOPF-VSNMROptional: No
Call by Reference: No ( called with pass by value option)
TMPDT_PPB -
Data type: XFELDOptional: Yes
Call by Reference: No ( called with pass by value option)
TCNDB_PPB -
Data type: TCNDBOptional: No
Call by Reference: No ( called with pass by value option)
TCNDS_PPB -
Data type: TCNDSOptional: No
Call by Reference: No ( called with pass by value option)
TRMPF_PPB -
Data type: TCNDS-DB_VIEWOptional: No
Call by Reference: No ( called with pass by value option)
AKTDT_PPB -
Data type: XFELDOptional: No
Call by Reference: No ( called with pass by value option)
VERDT_PPB -
Data type: XFELDOptional: No
Call by Reference: No ( called with pass by value option)
PROJN_PPB -
Data type: XFELDOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CJDB_FILL_MEMORY_FROM_PPB
PSJ_AUTH_PPB -
Data type: PSJ_AUTHOptional: Yes
Call by Reference: No ( called with pass by value option)
AFABD_PPB -
Data type: AFABDOptional: No
Call by Reference: No ( called with pass by value option)
FHMD_PPB -
Data type: AFFH01Optional: No
Call by Reference: No ( called with pass by value option)
KBED01_PPB -
Data type: KBED01Optional: No
Call by Reference: No ( called with pass by value option)
VALLC_PPB -
Data type: VALLCOptional: No
Call by Reference: No ( called with pass by value option)
VBAK_PPB -
Data type: VBAKOptional: Yes
Call by Reference: No ( called with pass by value option)
VBAP_PPB -
Data type: VBAPOptional: Yes
Call by Reference: No ( called with pass by value option)
IMTP_PPB -
Data type: IMTPOptional: Yes
Call by Reference: No ( called with pass by value option)
IMPR_PPB -
Data type: IMPROptional: Yes
Call by Reference: No ( called with pass by value option)
AFFL_PPB -
Data type: AFFLOptional: Yes
Call by Reference: No ( called with pass by value option)
PLAF_PPB -
Data type: PLAFOptional: Yes
Call by Reference: No ( called with pass by value option)
PROJ_PPB -
Data type: PROJOptional: No
Call by Reference: No ( called with pass by value option)
PRPS_PPB -
Data type: PRPS_ROptional: No
Call by Reference: No ( called with pass by value option)
PRHI_PPB -
Data type: PRHIOptional: No
Call by Reference: No ( called with pass by value option)
CAUFVD_PPB -
Data type: CAUFVDOptional: No
Call by Reference: No ( called with pass by value option)
AFVGD_PPB -
Data type: ACT01Optional: No
Call by Reference: No ( called with pass by value option)
RESBD_PPB -
Data type: RESB01Optional: No
Call by Reference: No ( called with pass by value option)
PRTE_PPB -
Data type: PRTEOptional: No
Call by Reference: No ( called with pass by value option)
MLSTD_PPB -
Data type: MLSTDOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CJDB_FILL_MEMORY_FROM_PPB 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: | ||||
| lt_psj_auth_ppb | TYPE STANDARD TABLE OF PSJ_AUTH, " | |||
| lv_psj_caller_ppb | TYPE SYREPID, " 'RCNSO@@@' | |||
| lt_afabd_ppb | TYPE STANDARD TABLE OF AFABD, " | |||
| lv_ucomm_ppb | TYPE XFELD, " | |||
| lt_fhmd_ppb | TYPE STANDARD TABLE OF AFFH01, " | |||
| lv_trmrp_ppb | TYPE RCWBT-TRMRP, " | |||
| lt_kbed01_ppb | TYPE STANDARD TABLE OF KBED01, " | |||
| lt_vallc_ppb | TYPE STANDARD TABLE OF VALLC, " | |||
| lt_vbak_ppb | TYPE STANDARD TABLE OF VBAK, " | |||
| lt_vbap_ppb | TYPE STANDARD TABLE OF VBAP, " | |||
| lt_imtp_ppb | TYPE STANDARD TABLE OF IMTP, " | |||
| lt_impr_ppb | TYPE STANDARD TABLE OF IMPR, " | |||
| lt_affl_ppb | TYPE STANDARD TABLE OF AFFL, " | |||
| lt_plaf_ppb | TYPE STANDARD TABLE OF PLAF, " | |||
| lt_proj_ppb | TYPE STANDARD TABLE OF PROJ, " | |||
| lv_vsnmr_ppb | TYPE VSKOPF-VSNMR, " | |||
| lt_prps_ppb | TYPE STANDARD TABLE OF PRPS_R, " | |||
| lv_tmpdt_ppb | TYPE XFELD, " | |||
| lt_prhi_ppb | TYPE STANDARD TABLE OF PRHI, " | |||
| lv_tcndb_ppb | TYPE TCNDB, " | |||
| lv_tcnds_ppb | TYPE TCNDS, " | |||
| lt_caufvd_ppb | TYPE STANDARD TABLE OF CAUFVD, " | |||
| lt_afvgd_ppb | TYPE STANDARD TABLE OF ACT01, " | |||
| lv_trmpf_ppb | TYPE TCNDS-DB_VIEW, " | |||
| lv_aktdt_ppb | TYPE XFELD, " | |||
| lt_resbd_ppb | TYPE STANDARD TABLE OF RESB01, " | |||
| lt_prte_ppb | TYPE STANDARD TABLE OF PRTE, " | |||
| lv_verdt_ppb | TYPE XFELD, " | |||
| lt_mlstd_ppb | TYPE STANDARD TABLE OF MLSTD, " | |||
| lv_projn_ppb | TYPE XFELD. " |
|   CALL FUNCTION 'CJDB_FILL_MEMORY_FROM_PPB' "Fill Memory of LDB PSJ from Planning Board |
| EXPORTING | ||
| PSJ_CALLER_PPB | = lv_psj_caller_ppb | |
| UCOMM_PPB | = lv_ucomm_ppb | |
| TRMRP_PPB | = lv_trmrp_ppb | |
| VSNMR_PPB | = lv_vsnmr_ppb | |
| TMPDT_PPB | = lv_tmpdt_ppb | |
| TCNDB_PPB | = lv_tcndb_ppb | |
| TCNDS_PPB | = lv_tcnds_ppb | |
| TRMPF_PPB | = lv_trmpf_ppb | |
| AKTDT_PPB | = lv_aktdt_ppb | |
| VERDT_PPB | = lv_verdt_ppb | |
| PROJN_PPB | = lv_projn_ppb | |
| TABLES | ||
| PSJ_AUTH_PPB | = lt_psj_auth_ppb | |
| AFABD_PPB | = lt_afabd_ppb | |
| FHMD_PPB | = lt_fhmd_ppb | |
| KBED01_PPB | = lt_kbed01_ppb | |
| VALLC_PPB | = lt_vallc_ppb | |
| VBAK_PPB | = lt_vbak_ppb | |
| VBAP_PPB | = lt_vbap_ppb | |
| IMTP_PPB | = lt_imtp_ppb | |
| IMPR_PPB | = lt_impr_ppb | |
| AFFL_PPB | = lt_affl_ppb | |
| PLAF_PPB | = lt_plaf_ppb | |
| PROJ_PPB | = lt_proj_ppb | |
| PRPS_PPB | = lt_prps_ppb | |
| PRHI_PPB | = lt_prhi_ppb | |
| CAUFVD_PPB | = lt_caufvd_ppb | |
| AFVGD_PPB | = lt_afvgd_ppb | |
| RESBD_PPB | = lt_resbd_ppb | |
| PRTE_PPB | = lt_prte_ppb | |
| MLSTD_PPB | = lt_mlstd_ppb | |
| . " CJDB_FILL_MEMORY_FROM_PPB | ||
ABAP code using 7.40 inline data declarations to call FM CJDB_FILL_MEMORY_FROM_PPB
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.| DATA(ld_psj_caller_ppb) | = 'RCNSO@@@'. | |||
| "SELECT single TRMRP FROM RCWBT INTO @DATA(ld_trmrp_ppb). | ||||
| "SELECT single VSNMR FROM VSKOPF INTO @DATA(ld_vsnmr_ppb). | ||||
| "SELECT single DB_VIEW FROM TCNDS INTO @DATA(ld_trmpf_ppb). | ||||
Search for further information about these or an SAP related objects