SAP ABAP IMG Activity HRAS_DPF_CHANGECM (Create or Change Attributes for Content Model)
Hierarchy
EA-HRGXX (Software Component) Sub component EA-HRGXX of EA-HR
   PA-AS (Application Component) HR Administrative Services
     PAOC_ASR_PERSONNEL_FILE (Package) Digital Personnel Files
IMG Activity
ID HRAS_DPF_CHANGECM Create or Change Attributes for Content Model  
Transaction Code S_PEN_05000058   (empty) 
Created on 20050428    
Customizing Attributes HRAS_DPF_CHANGECM   Create or Change Attributes for Content Model 
Customizing Activity HRAS_DPF_CHANGECM   Create or Change Attributes for Content Model 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name ATTREDITDMWB    

Use

The new content model you have created inherits a fixed set of attributes from one of the SAP content models. In this IMG activity you can add new attributes to your content model. If you do not need the SAP attributes, you can hide them.

Requirements

You have already created a content model in the document area SRM. Records Management provides a wizard to do this. The wizard is in the IMG activity Create Content Model (transaction code SRMCMCREATE).

Standard settings

The content models supplied by SAP have a fixed set of attributes. As each content model inherits attributes from one of the SAP Content Models, all of the content models you create already have this fixed set of attributes. You can then change the attributes.

Activities

You can create new attributes, you can change attribute properties, and you can delete attributes.

Create a New Attribute

Step 1: Create a new attribute

  1. Expand the document area SRM.
  2. Expand the node "IO Attributes".
  3. Open the context menu on the node "IO attributes" and choose Create.

    The new attribute will appear in the list of attributes in alphabetical order.

  4. Double-click on the new attribute.

    The detail display of the attribute appears. The attribute itself has its own attributes to which you can assign values. The attributes have the following meanings:

    • FIELD_NAME: The name of a field of the table/structure that you entered under TABLE_NAME (see below).
    • In this entry you can assign the attribute a type. The typing enables all the services of the data element to be used in the interface. (For example, input help, value checking, conversion, etc.) If you do not enter a value, the attribute will be assigned type 64.
    • TABLE_NAME: The name of a table or structure.
    • This entry is only useful in conjunction with an entry in the attribute FIELD_NAME (see above).
    • The attributes CLIENT_TRANSFERT_F4, MODEL_EXTENSION and PROPERTY_CHECK are not relevant.

      Note: The pushbutton DDIC takes you directly to the data element identified by TABLE_NAME and FIELD_NAME.

  5. Activate the new attribute.

Step 2: Assign the attribute to a content model

  1. Expand the document area SRM.
  2. Expand the node "PHIO Classes" or "LOIO Classes", depending on whether you want to maintain PHIO attributes or LOIO attributes. (PHIO attributes refer to individual versions of the document. LOIO attributes refer to the whole document.)
  3. Expand the template class for the generic service provider "SRM_GENERIC_(PH)_V".

    You will see the classes of the content models supplied by SAP (template classes). You can find more information on the SAP content models in the SAP Library under SAP NetWeaver Components-> SAP Records Management -> Customizing -> Standard Service Providers Supplied -> Storage using the Knowledge Provider -> Content models for Records Management.

  4. Expand one of the SAP template classes.

    You will see the customer template you created.

  5. Expand the customer template class from which the content model whose attributes you want to define inherits.

    You will seee all the content models inherited from this customer template class. There is a template class for each content model. You can only change the attributes of this template class, and not the attributes of the content model itself.

  6. Double-click on the last template class of your content model.

    The detail display opens on the right screen.

  7. Switch to change mode and open the tab page Instance Attributes.

    You will see all the attributes that exist for this content model. The attributes display in blue are inherited from the template class above it.

  8. Select the plus sign Insert Line and enter the technical name of an atribute from the list of IO attributes.
  9. Determine the properties of the attribute. You can enter the following details for the attribute:
    • From LOIO: For a better overview you can enter LOIO attributes in the list of PHIO attributes. Use this flag to do this.
    • Dynamic: Not relevant
    • Mandatory: The user must enter a value.
    • Unique: The attribute can only be assigned one value. Use the pushbutton More to enter further details:
    • Maintenance possible: The user can enter and cahnge attribute values.
    • Hidden: The attribute is not displayed on the screen.
    • Context-relevant: Not relevant
    • Index-relevant: If you set this indicator, you can use the value of the attribute for full text searches. This is usually quicker than the normal attribute search. However, the full text search is not case sensitive, whereas the attribute search is.
    • Classification-relevant: Not relevant
    • Transfer to client: Not relevant

      You can use the pushbutton Standard to enter the following information (when you double-click on the property, it is transferred to the underlying table). Here you can enter the following values:

    • Grouping: Not relevant
    • Property01: Not relevant
    • Select_Option: Not relevant
    • Sorting: Enter a number as the value. This specifies the position at which the attribute is displayed in the attribute list. If you do not enter a number, the attribute will be added to the bottom of the list.
    • You can also enter additional attribute properties:

  1. SRM_PROPGROUP. You can choose any name you want as the value. All the attributes you assign this value to are put in the same group. This group of attributes can be used when you assign authorizations. For more information see the SAP Library under SAP Web Application Server -> Basis Services -> Records Management ->Role Maintenance -> Authorization Concept of the Generic Service Provider.
  2. SRM_CHANGE_ON_SELECT: If the attribute value is allowed to be entered only using F4 help, assign the value "X".
  3. SRM_CHANGE_ONCE: If the attribute value is allowed to be entered once only in the maintenance dialog, assign the value "X".
  4. SRM_INHERIT_PRE_VERSION: Only the values of attributes that are modifiable are copied to the new physical version, after the changes have been saved. If you want to also keep the values of specific attributes that are not modifiable in the new physical version, you can enter the value "X" in the property SRM_INHERIT_PRE_VERSION for these attributes.

  1. Choose pushbutton Assign Table. Here you can influence the performance when using the attribute for searches.

    With content models there are two ways of saving attributes. You can determine which table the attribute is saved in:

    • In the header table of the content model
    • Attributes saved here can be accessed quickly. There are only ten places reserved for attributes and the attributes must not exceed a specified length. (see below).
    • In the vertical table of the content model
    • Attributes saved here take longer to access. But here you can save any number you want and they have no length restrictions.

      You will see a table and the first column lists all the attributes. In the following columns you can set indicators. The columns have the following meanings:

    • # : The system sets the value automatically. The value is taken from the attribute type (see above: Create New Attribute -> TABLE_NAME and FIELD_NAME). The systems sets the value 0 to attributes that have not been assigned a type.
    • Vert.: The attribute is saved in the vertical table.
    • 01 - 04: The attribute is saved in the header table in position 1, 2, 3, or 4. The value of the attribute can be a maximum of 15 characters.
    • 05 - 07: The attribute is saved in the header table in position 5, 6, or 7. The value of the attribute can be a maximum of 20 characters.
    • 08 - 10: The atttribute is saved in the header table in position 8, 9, or 10. The value of the attribute can be a maximum of 40 characters.

Changing Properties of Attributes

  1. Same procedure as described under Creating new attributes in step 2. But do not enter a new attribute. Place the cursor on the attribute you want to change and from here you can change the properties.

Note: The properties Obligatory and Unique cannot be changed, if they have been already set in a higher level template class.

Deleting Attributes

  1. Same procedure as described under Creating new attributes in step 2. But do not enter a new attribute. Place the cursor on the attribute you want to delete and using the minus sign choose Delete. This removes the attribute from the content model.
  2. If you also want to delete the attribute from the list of IO attributes, proceed as described under creating new attributes in step 1. Place the cursor on the attribute you want to delete and choose Delete from the context menu. You can only delete the attribute if i
Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
SRMDMWB D - Dummy object DMWB  
History
Last changed by/on SAP  20050428 
SAP Release Created in 600