DELETE_DATA SAP Method Delete Business Partner Contact Data









Below is documentation, parameters and attributes of ABAP Method DELETE_DATA 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 - Static

This is a Static Method so you can call it directly

The following technical details of method DELETE_DATA can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method DELETE_DATA

.

NameTypeData TypeDescriptionDefault Value
IMT_BCONTImportingTYPE
BCONT_T
Business Partner Contact
IMT_BCONT_LINK_ATTRImportingTYPE
BCONT_LINK_ATTR_TAB
Object Relationships for BP Contact: Attrib Value Table Type
IMT_BPCT_CRM_GUIDSImportingTYPE
BPCT_CRM_GUIDS_TAB
Assignment: Contact Key -> Activity GUID Table Type
IMT_CDHDRImportingTYPE
CDHDR_TAB
Internal Table CDHDR
IMT_CDPOSImportingTYPE
CDPOS_TAB
Internal Table for cdpos
IMT_CDPOS_STRImportingTYPE
CDPOS_STR_TAB
Table Type for CDPOS_STR
IMT_CDPOS_UIDImportingTYPE
CDPOS_UID_TAB
Internal Table CDPOS_UID
IMT_SRL_ARLNKImportingTYPE
TRL_ARLNK
SREL: table for Archiving Links
IMT_THEADImportingTYPE
BBPT_THEAD
Delete THEAD and its TLINEs
IMT_TLINEImportingTYPE
TLINE_TAB
List of SAPscript Lines
EXI_DELETED_BCONTExportingTYPE
I
Number of Successfully Deleted Records in BCONT
EXI_DELETED_BCONT_LINK_ATTRExportingTYPE
I
Number of Successfully Deleted Records in bcont_link_attr
EXI_DELETED_BPCT_CRM_GUIDSExportingTYPE
I
Number of Successfully Deleted Records in bpct_srm_guids
EXI_DELETED_CDHDRExportingTYPE
I
Number of Successfully Deleted Records in CDHDR
EXI_DELETED_CDPOSExportingTYPE
I
Number of Successfully Deleted Records in CDPOS
EXI_DELETED_CDPOS_STRExportingTYPE
I
Number of Successfully Deleted Records in CDPOS_STR
EXI_DELETED_CDPOS_UIDExportingTYPE
I
Number of Successfully Deleted Records in CDPOS_UID
EXI_DELETED_SRL_ARLNKExportingTYPE
I
Number of Successfully Deleted Records in srl_arlnk
EXI_DELETED_THEADExportingTYPE
I
Number of Successfully Deleted Records in THEAD
EXI_DELETED_TLINEExportingTYPE
I
Number of Successfully Deleted TLINE



Exceptions of Method DELETE_DATA

DELETE_ERROR - Entries Could Not Be Deleted

Example ABAP coding


DATA: lv_EXI_DELETED_BCONT TYPE I,
lv_EXI_DELETED_BCONT_LINK_ATTR TYPE I,
lv_EXI_DELETED_BPCT_CRM_GUIDS TYPE I,
lv_EXI_DELETED_CDHDR TYPE I,
lv_EXI_DELETED_CDPOS TYPE I,
lv_EXI_DELETED_CDPOS_STR TYPE I,
lv_EXI_DELETED_CDPOS_UID TYPE I,
lv_EXI_DELETED_SRL_ARLNK TYPE I,
lv_EXI_DELETED_THEAD TYPE I,
lv_EXI_DELETED_TLINE TYPE I,
lv_IMT_BCONT TYPE BCONT_T,
lv_IMT_BCONT_LINK_ATTR TYPE BCONT_LINK_ATTR_TAB,
lv_IMT_BPCT_CRM_GUIDS TYPE BPCT_CRM_GUIDS_TAB,
lv_IMT_CDHDR TYPE CDHDR_TAB,
lv_IMT_CDPOS TYPE CDPOS_TAB,
lv_IMT_CDPOS_STR TYPE CDPOS_STR_TAB,
lv_IMT_CDPOS_UID TYPE CDPOS_UID_TAB,
lv_IMT_SRL_ARLNK TYPE TRL_ARLNK,
lv_IMT_THEAD TYPE BBPT_THEAD,
lv_IMT_TLINE TYPE TLINE_TAB,
lv_other TYPE c.

CALL METHOD CL_ISU_BCONT_ARCHIVE=>DELETE_DATA(
EXPORTING
IMT_BCONT = lv_IMT_BCONT
IMT_BCONT_LINK_ATTR = lv_IMT_BCONT_LINK_ATTR
IMT_BPCT_CRM_GUIDS = lv_IMT_BPCT_CRM_GUIDS
IMT_CDHDR = lv_IMT_CDHDR
IMT_CDPOS = lv_IMT_CDPOS
IMT_CDPOS_STR = lv_IMT_CDPOS_STR
IMT_CDPOS_UID = lv_IMT_CDPOS_UID
IMT_SRL_ARLNK = lv_IMT_SRL_ARLNK
IMT_THEAD = lv_IMT_THEAD
IMT_TLINE = lv_IMT_TLINE
IMPORTING
EXI_DELETED_BCONT = lv_EXI_DELETED_BCONT
EXI_DELETED_BCONT_LINK_ATTR = lv_EXI_DELETED_BCONT_LINK_ATTR
EXI_DELETED_BPCT_CRM_GUIDS = lv_EXI_DELETED_BPCT_CRM_GUIDS
EXI_DELETED_CDHDR = lv_EXI_DELETED_CDHDR
EXI_DELETED_CDPOS = lv_EXI_DELETED_CDPOS
EXI_DELETED_CDPOS_STR = lv_EXI_DELETED_CDPOS_STR
EXI_DELETED_CDPOS_UID = lv_EXI_DELETED_CDPOS_UID
EXI_DELETED_SRL_ARLNK = lv_EXI_DELETED_SRL_ARLNK
EXI_DELETED_THEAD = lv_EXI_DELETED_THEAD
EXI_DELETED_TLINE = lv_EXI_DELETED_TLINE ).

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



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!