SAP ABAP IMG Activity GRFNVC_MDR (Define Metadata Library)
Hierarchy
☛
GRCFND_A (Software Component) GRC Foundation ABAP
⤷
GRC-AC (Application Component) Access Control
⤷
GRAC_UTILITIES (Package) Access Control GRC Various helping infrastructure for ABAP

⤷

⤷

IMG Activity
ID | GRFNVC_MDR | Define Metadata Library |
Transaction Code | S_GF1_13000081 | (empty) |
Created on | 20100630 | |
Customizing Attributes | GRFNVC_MDR | Define Metadata Library |
Customizing Activity | GRFNVC_MDR | Define Metadata Library |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | GRFNVC_MDR_DOC |
Use
In this Customizing activity, you can maintain the Metadata Repository (MDR) for the application. The application then uses the MDR to swap values by corresponding labels at runtime.
For example, to get the exchange rating for the first day of this month, you can use this MDR to schedule a plan. You do not need to know when the plan is executed; the MDR retrieves the right value of first day of this month.
Requirements
You have:
- Implemented the interface IF_GRFN_CCI_MDREPOSITORY in SE24. For example: CL_GRFN_CCI_STATICMDR=>IF_GRFN_CCI_MDREPOSITORY~GET_VALUE( ).
- Created a method, such as GET_PERIOD_START_DAY, using the same the input/output parameter with IF_GRFN_CCI_MDREPOSITORY~GET_VALUE( ).
- Implemented the method you created.
Standard settings
Activities
Defining the metadata library:
- Create or reuse an MDR library. To do this:
- Double-click MDR Usage Library. MDR Usage Library is a group of MDR with relative usage.
- Choose New Entries or select an MDR library, such as BRVALUEDETERMINE.
- Create an MDR, such as FROM_JOB_STEP_PERIOD_START_DAY. To do this:
- Select an item in the MDR Usage Library table and double click MDR.
- Click New Entries.
- Enter the class name.
- Enter the method name.
- Define the filter data type in case you need to distinguish MDR in the same MDR library.
- Define the data type of the MDR.
- Enter a description in the Text field.
- Maintain the context for each MDR in case the MDR needs a context. The MDR context is used to get runtime values for the MDR. To maintain the context:
- Select an item in the MDR Usage table and double-click Context for Each Metadata.
- Choose whether the context parameter is optional.
- Save the entry.
The MDR is ready to be maintained and reused.
Example
Business Attributes
ASAP Roadmap ID | 201 | Make global settings |
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 |
GRFNVC_MDR | C - View cluster | SM34 |
History
Last changed by/on | SAP | 20100818 |
SAP Release Created in | 600 |