SAP ABAP Data Element XTYPE (Instance object type)
Hierarchy
SAP_HRGXX (Software Component) Sub component SAP_HRGXX of SAP_HR
   PE (Application Component) Training and Event Management
     PP09 (Package) Training and Event Management
Basic Data
Data Element XTYPE
Short Description Instance object type  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type OTYPE    
Data Type CHAR   Character String 
Length 2    
Decimal Places 0    
Output Length 2    
Value Table T778O    
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name INSTANCE_OBJ_TYPE   
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Instances 
Medium 15 Instance OType 
Long 24 Objects of object type 
Heading IO 
Documentation

Use

You use infotype 1023 (Availability Features)

  • to specify which object types can be used as instances of a particular resource type to be included in the list output when the system carries out resource determination (case 2) or
  • to specify the relationships between the business event type and object type that are to be used when the system searches for resources (case 3).

There are three possible ways to carry out resource determination. In the standard case (case 1), you are not required to complete any of the fields. Cases 2 and 3 are of special significance for the resources 'Instructor' and 'Material, although you can actually carry out resource determination using other object types and relationships.

1. Standard case

All object types G are instances of a specific resource type R. The system should find all objects of object type G that are specializations of the resource type.

In this case, the system outputs a list of all resources it finds that are specializations of this resource type.

Procedure

No input is required.

Examples

In the case of the resource type 'Room' (object type R), the system lists all rooms (object type G) which are specializations of the resource type 'Room'.

2. A certain object type can be specified as an instance of the
resource type

All objects of a specific object type (for example, P, H, KU) can be specified as instances of a particular resource type.

Procedure

Enter the object type which the system should find during resource in the field 'Objects of object type'.

Examples

All persons (P) in a particular company can act as instructors for a certain business event type. In this case, you create the resource type 'Instructor' and enter object type P as the alternative object type. The system then finds all objects of type P as resources of the resource type 'Instructor'.

In this case, it is no longer necessary to create relationship A 026 "is held by" between the business event type D and all persons (P). You need only create the relationship A 022 "requires" between the business event type and the resource type.

3. Resource determination using the relationships of the business event
type and an alternative object type

In this case, the system does not search for resources directly via the resource type. Instead, it uses the relationships between the business event type and the resource type. The system first checks whether a certain relationship exists between the event type and other objects (independent of the object type).

You can further refine the search by not only specifying the relationship type but also objects of a specific object type that are related with the business event type via this relationship.

You use this third option particularly in the case of the resource types 'Instructor' or 'Material'. For this reason, the system automatically proposes an entry when one of these resource types is concerned.

For the resource type 'Instructor', for example, the system proposes the following entry:

A 026 (is held by) *. (* stands for all object types)

This means that the system lists all objects that are related with the business event type via relationship A 026 (is held by).

The advantage of this procedure is that you can use relationships that have already been created for the business event type for resource determination. It saves you creating the relationships again for the resource type.

Procedure

Case 3a: Resource determination should only be carried out using the relationships created for the business event type

You enter the direction and type of relationship and * (asterisk) in the field 'Related objects'.

Case 3b: Resource determination should be carried out using the relationships created for the business event type and an object type

You enter the direction and type of relationship and enter the object type in the field 'Related objects'.

Examples

You want the system to display all objects that can act as instructor for a specific business event type. You enter the relationship A 026 and the object type *. The system outputs all instructors of the business event type regardless of their object types. If you are interested in external persons only, enter H instead of * (asterisk). The system then outputs only external persons who can act as instructors for the event type.

History
Last changed by/on SAP  20040116 
SAP Release Created in