You can use the Application Enhancement Tool to add tables that include new fields to an object. You can enable the expert mode to adapt some of the technical settings, for example, data element and technical field names.
There are applications that require that you activate a business function to make the functions for table enhancements available. For more information, see SAP Note 1448299.
You have enabled the configuration mode in the general settings on the central personalization page of the WebClient UI.
You need to generate a UI component in Customizing for UI Framework
under .
You can however create several UI components and set one UI component as default. These UI components are available in the search help of the Component
field.
Start the WebClient UI and select the application that you want to enhance.
Start the page configuration in the application.
Choose the Display Enhancements
pushbutton to display or create a new table.
Note
You can also click Create Table
if you want to directly create a new table. However, you cannot enable or disable the expert mode if you do this.
Enable or disable the expert mode.
Choose the New
pushbutton in the Tables
block.
Select a valid package. The namespace is automatically derived from the package name.
Note
You can select a package only if you have enabled the expert mode beforehand.
Select an object part in which the new table is available, for example, header, item, and so on.
You enter the details of the new table in the Table Details
dialog box. Once you have created a new table in the Tables
block, the enhancement ID and the table ID are automatically generated.
Enter the new table name in the Description
field.
In the Relationship
field, you can choose one of the following relationships:
1: N Table View
This relationship specifies that the table contains an unlimited number of entries.
1: 1 Form View
This relationship specifies that the table contains one entry for every parent object.
You can make the table fields available in the form view of the parent object.
Note
1:1 relationships can be used instead of fields to prevent the main application tables are being overloaded, especially if the fields are rarely used.
In the Component
field, you can choose a UI component.
In the Window
field, you can enter a name for the window.
The window belongs to the UI component, in which you create the new table. The window name needs to be unique.
Note
If you have enabled the expert mode beforehand, you can change the table ID.
The Generate
checkbox indicates that you want to generate a table. The checkbox can be selected or deselected in the Tables
block or in the Table Details
dialog box. This checkbox is selected by default
for new and changed tables. If you want to exclude a table from generation, you need to deselect the checkbox.
You can add fields to the new table. In the Table Details
block, choose the Add
pushbutton in the Table Fields
block. You can select the Logical Key
checkbox if you want
to assign a logical key to the new field in the table. For more information, see Adding Fields.
In a table, you have to define at least one field that is not a calculated field. For more information, see Calculated Field.
In addition to the field types that are available for field enhancements, you can define fields of field type Long Text
with sub-type Text Area
. This field type allows you to enter text of up to 1333 characters. The sub-type renders
the field as a text area instead of an input field. This happens if the field is shown in a form view and not in a table. Therefore, you can use it in table enhancements with 1:1 cardinality if there is a form view for the table.
For more information, see section “Saving and Generating the Field” at Adding Fields.
You are using the WebClient UI
After the WebClient UI has been restarted, select the application and start the page configuration of the application, to make the new table available on the user interface. If you have started the Application Enhancement Tool from
the UI Configuration Tool, you can return to the UI Configuration Tool, by choosing the Back
pushbutton, and add the new table to the UI configuration before you restart the WebClient UI.
Note
Tables that you have added to a business object might also appear in the Available Assignment Blocks
list of a page configuration that is associated with another enhanced business object, if these business objects have the same enhancement
place. However, at runtime only the tables created for the rendered enhancement object is displayed. If you want to display these tables at runtime, you can add them as reusable tables.
You are using Floorplan Manager Web Dynpro ABAP
Press F5 to restart the session. For information about making the new table available on the UI, see Floorplan Manager for Web Dynpro ABAP.