SAP Function Modules

JBD_FOBJ_ARCH_RT_CHECK SAP Function module - Baustein zum Prüfen gegen die Residenzzeit







JBD_FOBJ_ARCH_RT_CHECK is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name JBD_FOBJ_ARCH_RT_CHECK into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: JBD_FOBJ_ARCH_RT
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM JBD_FOBJ_ARCH_RT_CHECK - JBD FOBJ ARCH RT CHECK





CALL FUNCTION 'JBD_FOBJ_ARCH_RT_CHECK' "Baustein zum Prüfen gegen die Residenzzeit
  EXPORTING
    i_tab_archive =             " jbd_tab_jbdobj1_rt  Tabellentyp zum Lesen/Prüfen Residenzzeit Objekt FOBJ_ARCH
    i_tas_cl_enddates =         " jbd_tas_cl_enddates  Sortierter Tabellentyp für die Pufferung von FO-CL_Endedaten
  IMPORTING
    e_cnt_expired =             " sydbcnt       Anzahl Objekte mit abgelaufener Residenzzeit
    e_cnt_follow_up =           " sydbcnt       Anzahl Objekte für Wiedervorlage
  CHANGING
    c_tab_archivable =          " jbd_tab_jbdobj1_rt  Tabellentyp zum Lesen/Prüfen Residenzzeit Objekt FOBJ_ARCH
    c_tab_not_archivable =      " jbd_tab_jbdobj1_rt  Tabellentyp zum Lesen/Prüfen Residenzzeit Objekt FOBJ_ARCH
    c_tab_archiveable_loan =    " jbd_tab_tjbd_vdarl_arch_rt  Tabellentyp zum Lesen/Prüfen Residenzzeit Objekt LOAN_ARCH
    c_tab_archiveable_coll =    " jbd_tab_klsi01_rt  Tabellentyp zum Lesen/Prüfen Residenzzeit Objekt COLL_ARCH
    c_tab_archiveable_fcty =    " jbd_tab_klfaz01_rt  Tabellentyp zum Lesen/Prüfen Residenzzeit Objekt FCTY_ARCH
    c_tab_archiveable_getr =    " jbd_tab_jbrdbko_rt  Tabellentyp zum Lesen/Prüfen Residenzzeit Objekt GETR_ARCH
    c_tab_archiveable_vtmd =    " jbd_tab_jbdvtmd_rt  Tabellentyp zum Lesen/Prüfen Residenzzeit Objekt VTMD_ARCH
*   c_tab_archiveable_gpan =    " jbd_tab_jbrsvgaphd2_rt  Tabellentyp zum Lesen/Prüfen Residenzzeit Objekt GPAN_ARCH
*   c_tab_archiveable_gptp =    " jbr_tab_jbroz_rt  Tabellentyp zum Lesen/Prüfen Residenzzeit Objekt GPTP_ARCH
    .  "  JBD_FOBJ_ARCH_RT_CHECK

ABAP code example for Function Module JBD_FOBJ_ARCH_RT_CHECK





The ABAP code below is a full code listing to execute function module JBD_FOBJ_ARCH_RT_CHECK including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_e_cnt_expired  TYPE SYDBCNT ,
ld_e_cnt_follow_up  TYPE SYDBCNT .

DATA(ld_c_tab_archivable) = 'Check type of data required'.
DATA(ld_c_tab_not_archivable) = 'Check type of data required'.
DATA(ld_c_tab_archiveable_loan) = 'Check type of data required'.
DATA(ld_c_tab_archiveable_coll) = 'Check type of data required'.
DATA(ld_c_tab_archiveable_fcty) = 'Check type of data required'.
DATA(ld_c_tab_archiveable_getr) = 'Check type of data required'.
DATA(ld_c_tab_archiveable_vtmd) = 'Check type of data required'.
DATA(ld_c_tab_archiveable_gpan) = 'Check type of data required'.
DATA(ld_c_tab_archiveable_gptp) = 'Check type of data required'.
DATA(ld_i_tab_archive) = 'Check type of data required'.
DATA(ld_i_tas_cl_enddates) = 'Check type of data required'. . CALL FUNCTION 'JBD_FOBJ_ARCH_RT_CHECK' EXPORTING i_tab_archive = ld_i_tab_archive i_tas_cl_enddates = ld_i_tas_cl_enddates IMPORTING e_cnt_expired = ld_e_cnt_expired e_cnt_follow_up = ld_e_cnt_follow_up CHANGING c_tab_archivable = ld_c_tab_archivable c_tab_not_archivable = ld_c_tab_not_archivable c_tab_archiveable_loan = ld_c_tab_archiveable_loan c_tab_archiveable_coll = ld_c_tab_archiveable_coll c_tab_archiveable_fcty = ld_c_tab_archiveable_fcty c_tab_archiveable_getr = ld_c_tab_archiveable_getr c_tab_archiveable_vtmd = ld_c_tab_archiveable_vtmd * c_tab_archiveable_gpan = ld_c_tab_archiveable_gpan * c_tab_archiveable_gptp = ld_c_tab_archiveable_gptp . " JBD_FOBJ_ARCH_RT_CHECK
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_c_tab_archivable  TYPE JBD_TAB_JBDOBJ1_RT ,
ld_e_cnt_expired  TYPE SYDBCNT ,
ld_i_tab_archive  TYPE JBD_TAB_JBDOBJ1_RT ,
ld_c_tab_not_archivable  TYPE JBD_TAB_JBDOBJ1_RT ,
ld_e_cnt_follow_up  TYPE SYDBCNT ,
ld_i_tas_cl_enddates  TYPE JBD_TAS_CL_ENDDATES ,
ld_c_tab_archiveable_loan  TYPE JBD_TAB_TJBD_VDARL_ARCH_RT ,
ld_c_tab_archiveable_coll  TYPE JBD_TAB_KLSI01_RT ,
ld_c_tab_archiveable_fcty  TYPE JBD_TAB_KLFAZ01_RT ,
ld_c_tab_archiveable_getr  TYPE JBD_TAB_JBRDBKO_RT ,
ld_c_tab_archiveable_vtmd  TYPE JBD_TAB_JBDVTMD_RT ,
ld_c_tab_archiveable_gpan  TYPE JBD_TAB_JBRSVGAPHD2_RT ,
ld_c_tab_archiveable_gptp  TYPE JBR_TAB_JBROZ_RT .

ld_c_tab_archivable = 'Check type of data required'.
ld_i_tab_archive = 'Check type of data required'.
ld_c_tab_not_archivable = 'Check type of data required'.
ld_i_tas_cl_enddates = 'Check type of data required'.
ld_c_tab_archiveable_loan = 'Check type of data required'.
ld_c_tab_archiveable_coll = 'Check type of data required'.
ld_c_tab_archiveable_fcty = 'Check type of data required'.
ld_c_tab_archiveable_getr = 'Check type of data required'.
ld_c_tab_archiveable_vtmd = 'Check type of data required'.
ld_c_tab_archiveable_gpan = 'Check type of data required'.
ld_c_tab_archiveable_gptp = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name JBD_FOBJ_ARCH_RT_CHECK or its description.