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

Description
The program uses a DDIC structure to automatically create a datacontainer that can be used by the Graphical Framework (GFW).
The data container is a (local) ABAP objects class that implements thedata container interfaces in the GFW. It is derived from the globaldata container class GFW_DC.
Since, for security reasons, include files cannot be automaticallygenerated in the SAP system the file is created in the file system.That means it later has to be imported (by upload) into a manuallycreated include.
If a manually-created data container is out of date all of its methodsreturn an error message to this effect. It must be regenerated usingthe most recent version of the wizard.

Precondition
The following data must be entered:

  • DDIC structure

  • This is the name of the structure in the data dictionary in which thedata is to be stored. The names of the attributes in the structure canbe 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 cannotexceed the ABAP line length (72 characters) otherwise the data type forthe 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 beginLCL_.
          • Name of the include

          • Name of the file that is to be generated (filled with the datacontainer 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 besaved. 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 shouldbe saved by downloading it.
                • Language of comments

                • Comments are in English even if the class was created in a languageother than English.

                  Example
                  Application graphics has provided the standard data container forstructure graphics (LCL_DC_HIER). It is generated with the followingparameters.
                  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