SAP ABAP Message Class AXT_MODEL Message Number 240 (UI Component &1 does not support nested tables)
Hierarchy
WEBCUIF (Software Component) SAP Web UI Framework
   CA-GTF-EEW (Application Component) Easy Enhancement Workbench
     AXT_MODEL (Package) Application Extensibility Tool: Model
Attribute
Message class AXT_MODEL  
Short Description    
Message Number 240  
Documentation status       Space: object requires documentation
Authorization check Error Message      
Changed On 20130531   
Message Text
UI Component &1 does not support nested tables
Help Document

Diagnosis

You have activated the table extensible flag for a table enhancement. However the UI component , which has been set as container for the generated views, does not meet a requirement to fully support child tables.

System Response

A warning is raised. At runtime created child tables will not work properly.

Procedure

You can either create a new UI component from transaction AXTSYS and use it, or you can adjust the UI component.
To adjust the component, you can do the following:

  1. Open the UI component in the component workbench (Transaction BSP_WD_CMPWB)
  2. Open the component controller
  3. Go to the controller implementation class
  4. Go to the Properties tab and navigate to the superclass => Now the superclass should be shown as CL_BSP_WD_COMPONENT_CONTROLLER
  5. Switch to edit mode and click on Change Inheritance. It might be necesarry to enter a description before.
  6. Enter class CL_AXT_BASE_TABLE_UI_COMPONENT
  7. If you are asked whether you want to keep redefined methods, choose yes
  8. Go to Methods tab
  9. Open Method WD_USAGE_INITIALIZE
  10. Add the following lines to the beginning of the method, if they are not there yet
    super->wd_usage_initialize(
    iv_usage = iv_usage
    ).
  11. Activate the changes

Procedure for System Administration

History
Last changed on/by 20130531  SAP 
SAP Release Created in   700