SAP CMS_DB_ARC_GET Function Module for Update Blocking Indicator









CMS_DB_ARC_GET is a standard cms db arc get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Update Blocking Indicator 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 cms db arc get FM, simply by entering the name CMS_DB_ARC_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function CMS_DB_ARC_GET 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 'CMS_DB_ARC_GET'"Update Blocking Indicator
EXPORTING
* L_TAB_ARC_MOV = "Movables Archiving Table
* L_TAB_ARC_CAG = "CAG Archiving Table Type
* L_TAB_ARC_RBL = "Recievable Archiving Table Type
* L_TAB_ARC_SHP = "Recievable Archiving Table Type
* L_TAB_ARC_RE = "Recievable Archiving Table Type
* L_TAB_ARC_SEC = "Recievable Archiving Table Type
* L_TAB_ARC_INS = "Recievable Archiving Table Type
* L_TAB_ARC_RIG = "Recievable Archiving Table Type

IMPORTING
EX_TAB_ARC_MOV = "Movables Archiving Table
EX_TAB_ARC_CAG = "CAG Archiving Table Type
EX_TAB_ARC_RBL = "Recievable Archiving Table Type
EX_TAB_ARC_SHP = "Ship Archiving Table Type
EX_TAB_ARC_RE = "Real Estate Archiving Table Type
EX_TAB_ARC_SEC = "Securities Account Archiving table type
EX_TAB_ARC_INS = "Insurance Archiving Table type
EX_TAB_ARC_RIG = "Rights Archiving Table type
.



IMPORTING Parameters details for CMS_DB_ARC_GET

L_TAB_ARC_MOV - Movables Archiving Table

Data type: CMS_TAB_ARC_MOVABLES
Optional: Yes
Call by Reference: Yes

L_TAB_ARC_CAG - CAG Archiving Table Type

Data type: CMS_TAB_ARC_CAG
Optional: Yes
Call by Reference: Yes

L_TAB_ARC_RBL - Recievable Archiving Table Type

Data type: CMS_TAB_ARC_RBL
Optional: Yes
Call by Reference: Yes

L_TAB_ARC_SHP - Recievable Archiving Table Type

Data type: CMS_TAB_ARC_SHP
Optional: Yes
Call by Reference: Yes

L_TAB_ARC_RE - Recievable Archiving Table Type

Data type: CMS_TAB_ARC_RE_OBJ
Optional: Yes
Call by Reference: Yes

L_TAB_ARC_SEC - Recievable Archiving Table Type

Data type: CMS_TAB_ARC_SEC_ACC
Optional: Yes
Call by Reference: Yes

L_TAB_ARC_INS - Recievable Archiving Table Type

Data type: CMS_TAB_ARC_INS
Optional: Yes
Call by Reference: Yes

L_TAB_ARC_RIG - Recievable Archiving Table Type

Data type: CMS_TAB_ARC_RIG
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for CMS_DB_ARC_GET

EX_TAB_ARC_MOV - Movables Archiving Table

Data type: CMS_TAB_ARC_MOVABLES
Optional: No
Call by Reference: Yes

EX_TAB_ARC_CAG - CAG Archiving Table Type

Data type: CMS_TAB_ARC_CAG
Optional: No
Call by Reference: Yes

EX_TAB_ARC_RBL - Recievable Archiving Table Type

Data type: CMS_TAB_ARC_RBL
Optional: No
Call by Reference: Yes

EX_TAB_ARC_SHP - Ship Archiving Table Type

Data type: CMS_TAB_ARC_SHP
Optional: No
Call by Reference: Yes

EX_TAB_ARC_RE - Real Estate Archiving Table Type

Data type: CMS_TAB_ARC_RE_OBJ
Optional: No
Call by Reference: Yes

EX_TAB_ARC_SEC - Securities Account Archiving table type

Data type: CMS_TAB_ARC_SEC_ACC
Optional: No
Call by Reference: Yes

EX_TAB_ARC_INS - Insurance Archiving Table type

Data type: CMS_TAB_ARC_INS
Optional: No
Call by Reference: Yes

EX_TAB_ARC_RIG - Rights Archiving Table type

Data type: CMS_TAB_ARC_RIG
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CMS_DB_ARC_GET 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_l_tab_arc_mov  TYPE CMS_TAB_ARC_MOVABLES, "   
lv_ex_tab_arc_mov  TYPE CMS_TAB_ARC_MOVABLES, "   
lv_l_tab_arc_cag  TYPE CMS_TAB_ARC_CAG, "   
lv_ex_tab_arc_cag  TYPE CMS_TAB_ARC_CAG, "   
lv_l_tab_arc_rbl  TYPE CMS_TAB_ARC_RBL, "   
lv_ex_tab_arc_rbl  TYPE CMS_TAB_ARC_RBL, "   
lv_l_tab_arc_shp  TYPE CMS_TAB_ARC_SHP, "   
lv_ex_tab_arc_shp  TYPE CMS_TAB_ARC_SHP, "   
lv_l_tab_arc_re  TYPE CMS_TAB_ARC_RE_OBJ, "   
lv_ex_tab_arc_re  TYPE CMS_TAB_ARC_RE_OBJ, "   
lv_l_tab_arc_sec  TYPE CMS_TAB_ARC_SEC_ACC, "   
lv_ex_tab_arc_sec  TYPE CMS_TAB_ARC_SEC_ACC, "   
lv_l_tab_arc_ins  TYPE CMS_TAB_ARC_INS, "   
lv_ex_tab_arc_ins  TYPE CMS_TAB_ARC_INS, "   
lv_l_tab_arc_rig  TYPE CMS_TAB_ARC_RIG, "   
lv_ex_tab_arc_rig  TYPE CMS_TAB_ARC_RIG. "   

  CALL FUNCTION 'CMS_DB_ARC_GET'  "Update Blocking Indicator
    EXPORTING
         L_TAB_ARC_MOV = lv_l_tab_arc_mov
         L_TAB_ARC_CAG = lv_l_tab_arc_cag
         L_TAB_ARC_RBL = lv_l_tab_arc_rbl
         L_TAB_ARC_SHP = lv_l_tab_arc_shp
         L_TAB_ARC_RE = lv_l_tab_arc_re
         L_TAB_ARC_SEC = lv_l_tab_arc_sec
         L_TAB_ARC_INS = lv_l_tab_arc_ins
         L_TAB_ARC_RIG = lv_l_tab_arc_rig
    IMPORTING
         EX_TAB_ARC_MOV = lv_ex_tab_arc_mov
         EX_TAB_ARC_CAG = lv_ex_tab_arc_cag
         EX_TAB_ARC_RBL = lv_ex_tab_arc_rbl
         EX_TAB_ARC_SHP = lv_ex_tab_arc_shp
         EX_TAB_ARC_RE = lv_ex_tab_arc_re
         EX_TAB_ARC_SEC = lv_ex_tab_arc_sec
         EX_TAB_ARC_INS = lv_ex_tab_arc_ins
         EX_TAB_ARC_RIG = lv_ex_tab_arc_rig
. " CMS_DB_ARC_GET




ABAP code using 7.40 inline data declarations to call FM CMS_DB_ARC_GET

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!