SAP Reports / Programs

RMCLKDEL SAP ABAP Report - Delete Class with Objects Assigned







RMCLKDEL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program is used to delete a class with all its allocations all its characteristic values...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RMCLKDEL into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

CL6M - Delete Class (with Assignments)


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RMCLKDEL. "Basic submit
SUBMIT RMCLKDEL AND RETURN. "Return to original report after report execution complete
SUBMIT RMCLKDEL VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: AENNR = Change number
Selection Text: CLASS = Class
Selection Text: DATUV = Valid from
Selection Text: KLART = Class type
Title: Delete Class with Objects Assigned
Text Symbol: 000 = Execute function in class maintenance (menu CL00)
Text Symbol: 001 = Change to classification data requires change number
Text Symbol: 002 = Class
Text Symbol: 003 = Class deleted


INCLUDES used within this REPORT RMCLKDEL

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

CLMA_DELETE_CLASS_WITH_OBJECTS CALL FUNCTION 'CLMA_DELETE_CLASS_WITH_OBJECTS' EXPORTING CLASSNAME = CLASS CLASSTYPE = KLART CHANGE_NUMBER = AENNR KEY_DATE = DATUV.

CCCN_ECN_WITH_EFFECTIVITY CALL FUNCTION 'CCCN_ECN_WITH_EFFECTIVITY' EXPORTING EAENNR = AENNR IMPORTING FLG_EFFECTIVITY = FLG_EFFECTIVITY EXCEPTIONS NO_RECORD_FOUND = 1 OTHERS = 1.

CC_CHANGE_NUMBER_CHECK CALL FUNCTION 'CC_CHANGE_NUMBER_CHECK' EXPORTING ECCIN = XCCIN FLG_DISPLAY = ' ' IMPORTING ADATUV = XDATE.

CLEF_ECM_PROCESSOR_INIT CALL FUNCTION 'CLEF_ECM_PROCESSOR_INIT' EXPORTING KEY_DATE = DATE I_AENNR = AENNR I_MAINTAIN_FLAG = 'X' I_BATCH = 'X' "Pflegebewertung muß da sein EXCEPTIONS EXIT_FROM_DYNPRO = 1 ECM_INIT_ERROR = 2 NO_MAINTENANCE_DATA = 3 OTHERS = 2.

CC_CHANGE_NUMBER_CHECK CALL FUNCTION 'CC_CHANGE_NUMBER_CHECK' EXPORTING ECCIN = XCCIN FLG_DISPLAY = ' ' IMPORTING ADATUV = DATE EXCEPTIONS ERROR_AENR = 1 ERROR_CLASS = 2 ERROR_CREATE = 3 ERROR_DATE_RESTRICTION = 4 ERROR_GENERATE = 5 ERROR_INDEX = 6 ERROR_INPUT = 7 ERROR_OBJ_LOCK = 8 ERROR_TCC01 = 9 ERROR_STATUS = 10.

CLSE_SELECT_KSML CALL FUNCTION 'CLSE_SELECT_KSML' EXPORTING KEY_DATE = DATUV BYPASSING_BUFFER = 'X' TABLES IMP_EXP_KSML = TKSML EXCEPTIONS NO_ENTRY_FOUND = 1.

OPEN_FI_PERFORM_00004012_E CALL FUNCTION 'OPEN_FI_PERFORM_00004012_E' EXPORTING I_CLASS_HEADER = KLAH I_ECM_NO = AENNR IMPORTING DELETION_NOT_ALLOWED = FLAG.

CLMA_CLASS_EXIST CALL FUNCTION 'CLMA_CLASS_EXIST' EXPORTING CLASS = CLASS CLASSTYPE = KLART DESCRIPTION_ONLY = SPACE IMPORTING RET_CODE = RETCODE XKLAH = KLAH EXCEPTIONS NO_VALID_SIGN = 1.

ENQUEUE_ECKSSKXE CALL FUNCTION 'ENQUEUE_ECKSSKXE' EXPORTING KLART = KLART CLASS = CLASS EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 3.

DEQUEUE_ECKSSKXE CALL FUNCTION 'DEQUEUE_ECKSSKXE' EXPORTING KLART = KLART CLASS = CLASS.

CUKD_XREF_OBJ CALL FUNCTION 'CUKD_XREF_OBJ' EXPORTING FROM_DATE = FDATE OBJTYPE = OBTYP OBJKEY = OBKEY TO_DATE = TDATE EXCEPTIONS NO_DEP_FOUND = 4.

CUCP_CONFIGURATIONS_EXIST CALL FUNCTION 'CUCP_CONFIGURATIONS_EXIST' "051516 EXPORTING CUCP_VAR_CLASS_TYPE = KLART "051516 CUCP_CLASS = KLAH-CLASS"051516 CUCP_DATE = DATUV "051516 EXCEPTIONS USED_IN_CONFIGURATION = 1. "051516

CLEX_BOM_CHECK_USAGE_CLASS_DIR CALL FUNCTION 'CLEX_BOM_CHECK_USAGE_CLASS_DIR' EXPORTING CLASS_NAME = KLAH-CLASS CLASS_TYPE = KLART EXCEPTIONS NOT_USED = 1 OTHERS = 2.

VB_CHECK_REPLACEMENT_ABORTED CALL FUNCTION 'VB_CHECK_REPLACEMENT_ABORTED' EXPORTING I_CLINT = KLAH-CLINT EXCEPTIONS NO_CLASS = 1 CLASS_NOT_EXIST = 2 NO_BATCH_CLASS = 3 REPLACEMENT_ABORTED = 4 REPLACEMENT_RELEASED = 5 REPLACEMENT_RUNNING = 6 OTHERS = 7.

CUCQ_CHECK_CLASS * CALL FUNCTION 'CUCQ_CHECK_CLASS' * EXPORTING * CLASS_NUMBER = KLAH-CLINT * EXCEPTIONS * CLASS_IN_USE = 4.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RMCLKDEL or its description.