SAP ABAP Data Element QLOESCHKZ (Status of Master Record)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       QA (Package) QM master data
Basic Data
Data Element QLOESCHKZ
Short Description Status of Master Record  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type QLOESCHKZ    
Data Type CHAR   Character String 
Length 1    
Decimal Places 0    
Output Length 1    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name STATUS   
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Status 
Medium 15 Status 
Long 20 Status 
Heading St 
Documentation

Definition

Indicates the processing status of the master record; for example, created, released, blocked, marked for deletion.

Supplementary Documentation - QLOESCHKZ 0001

Use

The following statuses can be used:

  • Being created
    If you create a master record, the system proposes the status "Being created" You can, however, change this status. You cannot use master records with this status.
  • Released
    Before you can create a reference to the master record, you must release it by setting the status to "Released".
  • Can no longer be used
    If a master record is no longer to be used, you must set the status to "Can no longer be used". Master records that are already being used are not affected by this status.
  • Deletion flag
    To delete a master record during the next archiving run, you need to set the status to Deletion flag. A batch program then checks, if references exist to the master record. In addition, it also checks the actual usage and not the usage indicator.

    If no references exist to the master record, it is deleted. If however, a reference exists, the master record can only be deleted, if the reference has first been deleted.

    You can only delete a master record online, if no reference exists to it (the usage indicator is not set).

Archived
A master record with this status is archived, but not deleted from the database.

Examples

Dependencies

Supplementary Documentation - QLOESCHKZ10001

Use

Procedure

Before you can create a reference to a master record, you must release it by setting the status to 2 (released for use).

If a master record should no longer be used, you have to set the status to 3 (blocked for use) or 4 (marked for deletion).
You can only delete a master record, if a reference has not existed to this master record (the usage indicator is not set).

If you want to delete code groups or selected sets online, that were already used (the usage indicator is set), you can correct the usage indicator for unused objects.
To do this, select from the basic data menu

  • Catalog -> Code groups -> Check usage
  • Catalog -> Selected sets -> Check usage

Examples

Dependencies

History
Last changed by/on SAP  19991209 
SAP Release Created in