SAP ABAP Function Module DD_EXISTS_DATA (Checks whether data exist to a table)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-DIC-AC (Application Component) Activation Program, Conversion Program, DB Utility, MC, SPDD
     SDIC (Package) ABAP Dictionary
Basic Data
Function Module DD_EXISTS_DATA Checks whether data exist to a table  
Function Group SDD2   DD: Utilities for database operations  
Program Name SAPLSDD2    
INCLUDE Name LSDD2U06    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting SUBRC TYPE SYST-SUBRC 0: data exists; 2: no data 3: no table
Importing REFTAB TYPE DD02L-SQLTAB SPACE physical pool/cluster
Importing TABCLASS TYPE DD02L-TABCLASS Table category (POOL/CLUSTER/TRANSP/SQLT)
Importing TABNAME TYPE DD02L-TABNAME Name of the table to be checked
Exception MISSING_REFTAB TYPE No reference table specified for pool/cluster
Exception SQL_ERROR TYPE
Exception BUFFER_OVERFLOW TYPE
Exception UNKNOWN_ERROR TYPE
               
Processing Type
Normal Function Module  
Remote-Enabled Module BaseXML supported
Update Module Start immediately
Immediate Start, No Restart
Start Delayed
Coll.run
JAVA Module Callable from ABAP  
Remote-Enabled JAVA Module  
Module Callable from JAVA  
History
Last changed by/on SAP  19950113 
SAP Release Created in