Ansicht
Dokumentation

GFW_DCWIZARD - GFW: Wizard For Generating a Data Container for a DDIC Structure

GFW_DCWIZARD - GFW: Wizard For Generating a Data Container for a DDIC Structure

General Data in Customer Master   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Description

The program uses a DDIC structure to automatically create a data container that can be used by the Graphical Framework (GFW).

The data container is a (local) ABAP objects class that implements the data container interfaces in the GFW. It is derived from the global data container class GFW_DC.

Since, for security reasons, include files cannot be automatically generated in the SAP system the file is created in the file system. That means it later has to be imported (by upload) into a manually created include.

If a manually-created data container is out of date all of its methods return an error message to this effect. It must be regenerated using the most recent version of the wizard.

Requirements

The following data must be entered:

  • DDIC structure
This is the name of the structure in the data dictionary in which the data is to be stored. The names of the attributes in the structure can be used to access the attributes belonging to an object.
The attribute names can be a maximum of 15 characters long.
The structure must have a unique key attribute.
  • Key attribute
Name of the unique key attribute
The name of the structure and the name of the key attribute cannot exceed the ABAP line length (72 characters) otherwise the data type for the special methods ("DDIC structure key attribute" in Set_Obj_Values) cannot be generated.
  • Filter attribute (optional)
Name of the filter attribute (data type i is mandatory!).
This parameter is optional.
  • ABAP objects class
Name of the (local) ABAP objects class that is to be generated.
According to the naming conventions from January 1998 it should begin LCL_.
  • Name of the include
Name of the file that is to be generated (filled with the data container class) = name of the include in which the file is loaded.
The system specifies which file was created in the success message.
  • File path
Path in the file system under which the file to be generated is to be saved. All directories in the path must exist.

Output

  • Success message
  • List of files to be generated
(File name = include name)
Caution: Before the generated include is loaded the old include should be saved by downloading it.
  • Language of comments
Comments are in English even if the class was created in a language other than English.

Example

Application graphics has provided the standard data container for structure graphics (LCL_DC_HIER). It is generated with the following parameters.

DDIC structure GFWDCHIER
Key attribute OBJID
Filter attribute FILTER

ABAP objects class: LCL_DC_HIER
Name of include: GFW_DC_HIER
File path: C:\TEMP





BAL_S_LOG - Application Log: Log header data   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 3507 Date: 20240520 Time: 083345     sap01-206 ( 46 ms )