SAP ABAP Data Element BAPIWAIT (Use the command `COMMIT AND WAIT`)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-MID-API (Application Component) BAPI Tools (for BAPIs see Note 813411)
     SBF_BAPI (Package) Business Framework BAPI, Central Modules, Tools
Basic Data
Data Element BAPIWAIT
Short Description Use the command `COMMIT AND WAIT`  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type BAPIFLAG    
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 WAIT   
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short Wait 
Medium 15 Commit and Wait 
Long 38 Use the command `COMMIT AND WAIT` 
Heading 15 Commit and Wait 
Documentation

Definition

The result is that the data within a Logical Unit of Work (LUW), changed by one or more BAPIs after the BAPI 'BapiService.TransactionCommit' has been called, is immediately available in the database.

The following values are possible:

  • ' '

    The command 'COMMIT WORK' is executed - the program does not wait, until COMMIT WORK is completed. When the database is next accessed directly, all the old data may still be able to be read.

  • 'X'

    The command 'COMMIT WORK AND WAIT' is executed - the program waits until the COMMIT WORK is completed. When the database is next accessed, the updated data is read.

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