OPEN_ARCHIVING_CURSOR SAP Method Open Database Cursor for BCONT
Below is documentation, parameters and attributes of ABAP Method OPEN_ARCHIVING_CURSOR within SAP class CL_ISU_BCONT_ARCHIVE. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_ISU_BCONT_ARCHIVE into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method OPEN_ARCHIVING_CURSOR can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method OPEN_ARCHIVING_CURSOR
.| Name | Type | Data Type | Description | Default Value |
| IMD_CTDATE | Importing | TYPE SYDATUM | Retention Period for business Partner Contact | |
| IM_ACTIVITY | Importing | TYPE BPC_RANGE_TAB | Contact Action | |
| IM_AR_ILM | Importing | TYPE ILM_WRITE_ARCH | ILM Archiving Action | |
| IM_BPCONTACT | Importing | TYPE BPC_RANGE_TAB | Business Partner Contact | |
| IM_CCLASS | Importing | TYPE BPC_RANGE_TAB | Contact Class | |
| IM_HOLD | Importing | TYPE KENNZX_BPCT | Cursor Indicator | |
| IM_PARTNER | Importing | TYPE BPC_RANGE_TAB | Business Partner | |
| IM_DEST | Importing | TYPE ILM_WRITE_DEST | ILM Action: Data Destruction |
Exceptions of Method OPEN_ARCHIVING_CURSOR
NOT_ALLOWED - Action not permittedExample ABAP coding
DATA: lo_class TYPE REF TO CL_ISU_BCONT_ARCHIVE.
DATA: lv_IMD_CTDATE TYPE SYDATUM,
lv_IM_ACTIVITY TYPE BPC_RANGE_TAB,
lv_IM_AR_ILM TYPE ILM_WRITE_ARCH,
lv_IM_BPCONTACT TYPE BPC_RANGE_TAB,
lv_IM_CCLASS TYPE BPC_RANGE_TAB,
lv_IM_HOLD TYPE KENNZX_BPCT,
lv_IM_PARTNER TYPE BPC_RANGE_TAB,
lv_IM_DEST TYPE ILM_WRITE_DEST,
lv_other TYPE c.
CALL METHOD lo_class=>OPEN_ARCHIVING_CURSOR(
EXPORTING
IMD_CTDATE = lv_IMD_CTDATE
IM_ACTIVITY = lv_IM_ACTIVITY
IM_AR_ILM = lv_IM_AR_ILM
IM_BPCONTACT = lv_IM_BPCONTACT
IM_CCLASS = lv_IM_CCLASS
IM_HOLD = lv_IM_HOLD
IM_PARTNER = lv_IM_PARTNER
IM_DEST = lv_IM_DEST ).
Links to Related Class(s)
CL_ISU_B...Full list of available SAP object classes
Search for further information about these or an SAP related objects