SAP ABAP Data Element N2_DELETE_VALUE (Delete Information for Corresponding Table Row)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       NMED (Package) R/3MED: Medical documentation GSD
Basic Data
Data Element N2_DELETE_VALUE
Short Description Delete Information for Corresponding Table Row  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type BAPIUPDATE    
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    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 DeleteInfo 
Medium 14 Delete Info 
Long 20 Delete Information 
Heading 20 Delete Information 
Documentation

Definition

This indicator is used to indicate that rows in table parameters should be deleted. The indicator is required in the table parameters of change methods.

The value 'X' means that the table row should be deleted. The value BLANK means that the table row should be inserted in the table.

Example

Services 3311 and 3312 should be assigned to a medical document and the existing service assignment 4441 should be deleted:

Business Objekt: MedDoc
BAPI: Change
Table Parameter: BAPIMEDDOC_SERVIN
1. Row BAPIMEDDOC_SERVIN:
    SERVICE_SEQNO = '3311'
    DELETE_VALUE = BLANK
2. Row BAPIMEDDOC_SERVIN:
    SERVICE_SEQNO = '3312'
    DELETE_VALUE = BLANK
3. Row BAPIMEDDOC_SERVIN:
    SERVICE_SEQNO = '4441'
    DELETE_VALUE = 'X'

Further Notes

The indicator is required in table parameters in change methods, to determine whether table rows should be deleted.

This procedure is necessary, as there is not other way to determine whether a table row should be deleted or added. An initial value does not supply sufficient information, as this can also be a valid value. In the ABAP programming language, as well as on other development platforms, you cannot assign the value 'Null' to all data types to select fields.

You can find further information on this subject in the BAPI programming guide.

History
Last changed by/on SAP  20050224 
SAP Release Created in 463B