RCP302_DELETE_TABLES 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 RCP302_DELETE_TABLES into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RCP302
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'RCP302_DELETE_TABLES' "
EXPORTING
* i_guid = " pvs_guid
i_aennr = " aennr Change Number
* i_guid_root = " pvs_guid
* CHANGING
* xt_rcp = " rcpty_api_rcp RMS-RCP: API - Table Type for Recipe Data
* xt_pro = " rcpty_api_pro RMS-RCP: API - Table Type for Process
* xt_pst = " rcpty_api_pst RMS-RCP: API - Table Type for Process Stage
* xt_pop = " rcpty_api_pop RMS-RCP: API - Table Type for Process Operation
* xt_pac = " rcpty_api_pac RMS-RCP: API - Table Type for Process Action
* xt_eqr = " rcpty_api_eqr RMS-RCP: API - Table Type for Equipment Requirement
* xt_doc = " rcpty_api_doc RMS-RCP: API - Table Type for Document Links
* xt_cla = " rcpty_api_cla RMS-RCP: API - Table Type for Classification
* xt_stx = " rcpty_api_stx RMS-RCP: API - Table Type for Short Texts
* xt_rctx = " rcpty_api_rctx RMS-RCP: API - Table Type for Creation Reason Texts
* xt_ltx = " rcpty_api_ltx RMS-RCP: API - Table Type for Long Texts
* xt_ident = " rcpty_api_ident RMS-RCP: API - Table Type for Identifiers
* xt_ascope = " rcpty_api_ascope RMS-RCP: API - Table Type for Scope of Application
* xt_replace = " rcpty_api_replace RMS-RCP: API - Table Type for Recipe Replacement
* xt_op_suc = " rcpty_api_op_suc RMS-RCP: API - Table Type f. Process Operation - Successor
* xt_op_pre = " rcpty_api_op_pre RMS-RCP: API - Table Type f. Process Operation - Predecessor
* xt_rel_fit = " rcpty_api_rel_fit RMS-RCP: API - Table Type for Formula Items Assignment
* xt_pp = " rcpty_api_pp RMS-RCP: API - Table Type for Process Parameters
* xt_pp_n = " rcpty_api_pp_n RMS-RCP: API - Table Type New Process Parameters
EXCEPTIONS
PARAMETER_ERROR = 1 " Missing parameters
. " RCP302_DELETE_TABLES
The ABAP code below is a full code listing to execute function module RCP302_DELETE_TABLES 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_xt_rcp) = 'Check type of data required'.
DATA(ld_xt_pro) = 'Check type of data required'.
DATA(ld_xt_pst) = 'Check type of data required'.
DATA(ld_xt_pop) = 'Check type of data required'.
DATA(ld_xt_pac) = 'Check type of data required'.
DATA(ld_xt_eqr) = 'Check type of data required'.
DATA(ld_xt_doc) = 'Check type of data required'.
DATA(ld_xt_cla) = 'Check type of data required'.
DATA(ld_xt_stx) = 'Check type of data required'.
DATA(ld_xt_rctx) = 'Check type of data required'.
DATA(ld_xt_ltx) = 'Check type of data required'.
DATA(ld_xt_ident) = 'Check type of data required'.
DATA(ld_xt_ascope) = 'Check type of data required'.
DATA(ld_xt_replace) = 'Check type of data required'.
DATA(ld_xt_op_suc) = 'Check type of data required'.
DATA(ld_xt_op_pre) = 'Check type of data required'.
DATA(ld_xt_rel_fit) = 'Check type of data required'.
DATA(ld_xt_pp) = 'Check type of data required'.
DATA(ld_xt_pp_n) = 'Check type of data required'.
DATA(ld_i_guid) = 'Check type of data required'.
DATA(ld_i_aennr) = 'Check type of data required'.
DATA(ld_i_guid_root) = 'Check type of data required'. . CALL FUNCTION 'RCP302_DELETE_TABLES' EXPORTING * i_guid = ld_i_guid i_aennr = ld_i_aennr * i_guid_root = ld_i_guid_root * CHANGING * xt_rcp = ld_xt_rcp * xt_pro = ld_xt_pro * xt_pst = ld_xt_pst * xt_pop = ld_xt_pop * xt_pac = ld_xt_pac * xt_eqr = ld_xt_eqr * xt_doc = ld_xt_doc * xt_cla = ld_xt_cla * xt_stx = ld_xt_stx * xt_rctx = ld_xt_rctx * xt_ltx = ld_xt_ltx * xt_ident = ld_xt_ident * xt_ascope = ld_xt_ascope * xt_replace = ld_xt_replace * xt_op_suc = ld_xt_op_suc * xt_op_pre = ld_xt_op_pre * xt_rel_fit = ld_xt_rel_fit * xt_pp = ld_xt_pp * xt_pp_n = ld_xt_pp_n EXCEPTIONS PARAMETER_ERROR = 1 . " RCP302_DELETE_TABLES
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.
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_xt_rcp | TYPE RCPTY_API_RCP , |
| ld_i_guid | TYPE PVS_GUID , |
| ld_xt_pro | TYPE RCPTY_API_PRO , |
| ld_i_aennr | TYPE AENNR , |
| ld_xt_pst | TYPE RCPTY_API_PST , |
| ld_i_guid_root | TYPE PVS_GUID , |
| ld_xt_pop | TYPE RCPTY_API_POP , |
| ld_xt_pac | TYPE RCPTY_API_PAC , |
| ld_xt_eqr | TYPE RCPTY_API_EQR , |
| ld_xt_doc | TYPE RCPTY_API_DOC , |
| ld_xt_cla | TYPE RCPTY_API_CLA , |
| ld_xt_stx | TYPE RCPTY_API_STX , |
| ld_xt_rctx | TYPE RCPTY_API_RCTX , |
| ld_xt_ltx | TYPE RCPTY_API_LTX , |
| ld_xt_ident | TYPE RCPTY_API_IDENT , |
| ld_xt_ascope | TYPE RCPTY_API_ASCOPE , |
| ld_xt_replace | TYPE RCPTY_API_REPLACE , |
| ld_xt_op_suc | TYPE RCPTY_API_OP_SUC , |
| ld_xt_op_pre | TYPE RCPTY_API_OP_PRE , |
| ld_xt_rel_fit | TYPE RCPTY_API_REL_FIT , |
| ld_xt_pp | TYPE RCPTY_API_PP , |
| ld_xt_pp_n | TYPE RCPTY_API_PP_N . |
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 RCP302_DELETE_TABLES or its description.