SAP ABAP IMG Activity GRPC_CREATE_DATAELE (Create Date Elements in the Data Dictionary)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC-SPC (Application Component) Process Controls
     GRPC_CUSTOMIZING (Package) Customizing
IMG Activity
ID GRPC_CREATE_DATAELE Create Date Elements in the Data Dictionary  
Transaction Code S_GR1_31000112   (empty) 
Created on 20071121    
Customizing Attributes GRPC_CREATE_DATAELE   Create Date Elements in the Data Dictionary 
Customizing Activity GRPC_CREATE_DATAELE   Create Date Elements in the Data Dictionary 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name GRPC_CREATE_DATAELE    

Use

Master data objects are stored in the ABAP dictionary. In this Customizing activity, you describe where and how the data is going to be stored in the ABAP dictionary by:

  • Creating a domain
  • Creating data elements
  • Creating a structure using the data elements

Requirements

Standard settings

Activities

Creating a domain

1. Select the Create Data Elements in the ABAP Dictionary activity (SE11 transaction).

2. Click the Domain radio button. Enter a domain name in the field. For example, enter ZPC_COSO_REL.

3. Click Create.

4. The Dictionary: Maintain Domain screen appears. In the Short Description field, enter a brief description about your domain.

5. In the Definition tab, enter the data type in the Data Type field.

6. In the No. Characters field, enter a value for the number of characters (length).

7. In the Value Range tab, specify the domain values.

Note: You can maintain the value for space (the first field in the Fix Value column). This value can also be used as the default value. If your organization operates with multiple languages enter transaction code SE63 and input the languages you want to appear on the screen.

8. Click Save.

9. Click Check.

10. Click Activate. Make sure that the object is placed into your project package.

Creating data elements

Note: It is important to create specific data elements for each field at this time because the labels of the user interface (UI) elements associated with these fields come directly from the data element definition. There is no other process to influence these labels.

1. Click the Create Data Elements in the ABAP Dictionary activity (SE11 transaction).

2. Click the Data Type radio button and in the field, enter the same name you entered for domain. For example, enter ZPC_COSO_REL.

3. Click Create. A dialog box appears.

4. Click the Data Element radio button and click OK.

5. The Dictionary: Maintain Data Element screen appears. Enter the name of the data element and description.

6. On the Field Label tab, specify the texts to be used in the UI.

Note: Be careful in entering the descriptions for the field labels.

7. Click Save.

8. Click Check.

9. Click Activate.

10. Repeat the steps above for the other two data elements: ZPC_COSO_DATE with domain DATS and ZPC_COSO_COMMENT with domain TEXT100.

Creating a structure using the data elements

1. Select the Create Data Elements in the ABAP Dictionary activity (SE11 transaction).

2. Click on the Data Type radio button and enter the name of the structure form. For example, enter HRI9101.

3. Click Create. A dialog box appears. Select the Structure radio button then click OK.

4. The Dictionary: Maintain Structure screen appears. On the Components tab, enter the following field names and their respective data elements:

  • ZZCOSO_REL
  • ZZCOSO_DATE
  • ZZCOSO_COMMENT

Note: Make sure that the fields are included in the customer name space. Though the customer name space is not critical at this point, you will include the structure as a customer include into the SAP-delivered structure.

5. In the menu, select Extra->Enhancement category. A dialog box appears.

6. Click Cannot Be Enhanced.

7. Click Copy.

8. Click Save.

9. Click Check.

10. Click Activate.

Example

Business Attributes
ASAP Roadmap ID 201   Make global settings 
Mandatory / Optional 1   Mandatory activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG GRPC_CREATE_DATAELE 0 GR11000001 Process Controls 
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
IMGDUMMY D - Dummy object SE11  
History
Last changed by/on SAP  20071121 
SAP Release Created in 250