Start of Content Area

Procedure documentation Creating a Logical Info Object Class Locate the document in its SAP Library structure

Use

In order to check in logical documents, you first have to create logical info object classes. Think about how complex you want your content model to be. Consider the following points:

For more information on this, see Modeling Concepts and Virtual and Real Classes.

Procedure

Creating a Virtual LOIO Class (Optional)

To create a virtual LOIO class, proceed as follows:

  1. Click with the right mouse button on the folder LOIO classes in your document area.
  2. Choose Create from the context menu.

Alternatively, choose the symbol Create Entity and select Virtual LOIO class from the list. If you do this, you also have to enter the name of your document area.

  1. Enter a name and description for the new document area.

Recommendation

We recommend, for the sake of clarity, that you add _V to the end of the name of the virtual LOIO class.

  1. Choose Execute.
  2. Create the object directory entry, as before. (See also Creating a Content Model).
  3. Click with the right mouse button on the new entry in the entity tree and choose Activate from the context menu to activate the new virtual LOIO class.

Entering Attributes

Next, assign attributes to the class.

  1. Double-click on the virtual LOIO class in the entity tree to display the entity properties. Choose This graphic is explained in the accompanying text (Start tabulation editor).
  2. Activate change mode by choosing This graphic is explained in the accompanying text.
  3. Choose Copy table set. The view Copy Instance Table Set opens.

For the simple scenario being used here, it is sufficient to specify a name prefix for the table to be created. Start the program by choosing This graphic is explained in the accompanying text (Execute). The next screen that appears lists all tables to be created and a description of the content that will be stored in each one.

This graphic is explained in the accompanying text

Choose This graphic is explained in the accompanying text (Execute) to create the tables.

As before, a dialog box appears requesting the object directory details.

Note

You have to create a separate object directory entry for each table. In this example, this has to be done six times. After you create each table, its name appears as an object on this screen.

Recommendation

We do not recommend that you create a separate table set for each class. Usually, one table set per document area is sufficient.

Instead of choosing Copy table set every time, select the header table of your document area from the possible entries for the Header table field.

Deriving a Real LOIO Class

Now, derive a real LOIO class from the virtual LOIO class, as follows:

  1. Click with the right mouse button on the name of the virtual LOIO class in the entity tree, and choose Replicate from the context menu. (The terms derive and replicate are synonymous in this context.)

Note

Real IO classes inherit the instance attributes of the virtual classes from which they are derived.

Caution

The inheritance function only applies to instance attributes, and not to standard attributes or free attributes.

 

  1. Enter a name for the real LOIO class and choose Transfer Data.
  2. Create the object directory entry as before.
  3. Activate the new LOIO class.
End of Content Area