SAP Function Modules

BCA_DB_RELPROC_EXP_DELETE SAP Function module







BCA_DB_RELPROC_EXP_DELETE 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 BCA_DB_RELPROC_EXP_DELETE into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM BCA_DB_RELPROC_EXP_DELETE - BCA DB RELPROC EXP DELETE





CALL FUNCTION 'BCA_DB_RELPROC_EXP_DELETE' "
* EXPORTING
*   i_object_cat =              " bca_dte_object_cat
*   i_rel_procedure =           " bca_dte_rel_proc  Release procedure
*   i_numberofentry =           " bca_dte_entrynumber
  IMPORTING
    e_rc =                      " sy-subrc      Return Value, Return Value After ABAP Statements
    e_tab_relproc_exp =         " bca_tab_relproc_exp_db  Customizing Release Procedure
* TABLES
*   i_tab_relproc_exp =         " bca_tab_relproc_exp_db  Customizing Release Procedure: Expression Table (DB)
    .  "  BCA_DB_RELPROC_EXP_DELETE

ABAP code example for Function Module BCA_DB_RELPROC_EXP_DELETE





The ABAP code below is a full code listing to execute function module BCA_DB_RELPROC_EXP_DELETE 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_rc  TYPE SY-SUBRC ,
ld_e_tab_relproc_exp  TYPE BCA_TAB_RELPROC_EXP_DB ,
it_i_tab_relproc_exp  TYPE STANDARD TABLE OF BCA_TAB_RELPROC_EXP_DB,"TABLES PARAM
wa_i_tab_relproc_exp  LIKE LINE OF it_i_tab_relproc_exp .

DATA(ld_i_object_cat) = 'Check type of data required'.
DATA(ld_i_rel_procedure) = 'Check type of data required'.
DATA(ld_i_numberofentry) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_i_tab_relproc_exp to it_i_tab_relproc_exp. . CALL FUNCTION 'BCA_DB_RELPROC_EXP_DELETE' * EXPORTING * i_object_cat = ld_i_object_cat * i_rel_procedure = ld_i_rel_procedure * i_numberofentry = ld_i_numberofentry IMPORTING e_rc = ld_e_rc e_tab_relproc_exp = ld_e_tab_relproc_exp * TABLES * i_tab_relproc_exp = it_i_tab_relproc_exp . " BCA_DB_RELPROC_EXP_DELETE
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_e_rc  TYPE SY-SUBRC ,
ld_i_object_cat  TYPE BCA_DTE_OBJECT_CAT ,
it_i_tab_relproc_exp  TYPE STANDARD TABLE OF BCA_TAB_RELPROC_EXP_DB ,
wa_i_tab_relproc_exp  LIKE LINE OF it_i_tab_relproc_exp,
ld_e_tab_relproc_exp  TYPE BCA_TAB_RELPROC_EXP_DB ,
ld_i_rel_procedure  TYPE BCA_DTE_REL_PROC ,
ld_i_numberofentry  TYPE BCA_DTE_ENTRYNUMBER .

ld_i_object_cat = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_i_tab_relproc_exp to it_i_tab_relproc_exp.
ld_i_rel_procedure = 'Check type of data required'.
ld_i_numberofentry = '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 BCA_DB_RELPROC_EXP_DELETE or its description.