Академический Документы
Профессиональный Документы
Культура Документы
Bernd Schloemer
Contents
www.sap-press.com 1
6.1 Searching
Figure 6.1 Selecting the Category
The Data Manager supports various procedures for
searching for data in the different table types. In addi-
tion to the free-form search, you can also use restrictions Free-Form Search
for the referenced tables (Colors, Category, etc.) to In the table view, click on the Free-Form Search tab. You
limit the view of the Record area. As a first step, we will will see a view similar to that shown in Figure 6.2.
use the free-form search for searching for entries in the In the entry field to the right of Name, enter “Hard
Products table. For this purpose, switch to the Record drive” in the Value column and note how the number of
Mode and select the Products table from the toolbar. rows changes in the Record area.
www.sap-press.com 35
Operator
For every search, you can select the operator for every
field to be searched from the list box. (See Figure 6.3.)
www.sap-press.com 37
the Record Detail area. As can be expected, you will not records against being changed immediately after their
succeed because all fields are protected against changes. creation.
A record with a check-out is identified by the yellow
icon in the second column of the Records area (see Fig-
ure 6.14).
In the Record Detail area, now change the Manufac-
turer from ATI to Dummy and click in the Records area
to save your change. This means you check out the data
Figure 6.11 Locked Entries and try to change it in the second Data Manager. Open
the Data Manager a second time and log on as the Copy-
Individual or all protected entries can also be unlocked writer user.
again via the context menu (Protection • Unprotect)
(see Figure 6.12).
Note
It is important that you log on as another user in the
second Data Manager instance instead of the one you
are currently using.
As you can see in Figure 6.15, the record also has the
check-out icon here and is also marked light blue. It is
therefore not possible to change the fields for this record
in the Data Manager.
In the Check In/Out context menu, now select the Roll Figure 6.18 Original Value
www.sap-press.com 39
You can start the Code Editor for the validation by click-
6.5 Validations ing on the [Validation Expression] button in the Valida-
tion field (see Figure 6.23).
With validations, the Data Manager allows you to check
the contents of individual or several records at a time.
A validation always returns a boolean value (true or
false). This value is indicated in the Records area as a
Figure 6.23 Starting the Code Editor
new column with a red or a green icon (red for false,
green for true). To create a validation, in the Record
The Code Editor is now displayed (see Figure 6.24) and
Detail area go to the Validations tab. Now right-click
enables you to use the list boxes (Fields, Operators,
Functions, etc.) to conveniently access predefined func-
tions and the fields of your tables.
www.sap-press.com 41
Exit the Editor by clicking on the OK button. Before you Proceed in the same way to create the validations Check
test the next validation, in the Products table add a data Image (see Figure 6.31) and Check Desc (see Figure 6.32)
record without a value for Price. As shown in Figure 6.28, that will check the contents of the Image and Descrip-
use the Add menu option from the context menu. tion fields.
Grouping Validations
To create a validation group, right-click in the Validation
area and from the context menu, select Check Price •
Edit Validation Groups... (see Figure 6.34). Then right-
click on Validation Groups and select Add Child (see Fig-
Figure 6.30 Entries with Checked Price ure 6.35).
Specify a name for your new validation group, for exam- Repeat these steps for the Check Images validation and
ple, “CheckProd,” and close the window by clicking on add it to the CheckProd group as well.
the OK button (see Figure 6.36). Test the validation group by selecting all entries in the
Records area by pressing [Ctrl-A] and selecting Check-
Prod from the context menu, as shown in Figure 6.38.
As a result, you will see two new columns correspond-
ing to the two validations in the CheckProd group (see
Figure 6.39).
www.sap-press.com 43
Extending the Encoding between different products. In real life, relationships are
Another option for merging several validations is to join used for the following purposes:
the validations in the Code Editor. Create a new valida- EE To illustrate that a material belongs to an assembly
tion named “Check All” and call it in the Code Editor. Use EE To define alternative materials for a material.
the list boxes to create the code shown in Figure 6.40.
Assembly is a term used for grouping materials on dif-
The AND can be obtained via the Operators list box.
ferent levels. For example, a car engine consists of vari-
ous individual materials that are grouped in the engine
assembly.
Before we can use relationships we must create the
appropriate tables in the MDM Console. Close the Data
Manager and change to the MDM Console. First unload
the current mdm_book repository by going to Unload
Repository • Immediate so that you can make changes
(see Figure 6.43).
Figure 6.40 Code in the Code Editor
Save this validation and check it. Now select the new
validation from the context menu (see Figure 6.41). This
results in a new column [Check All], the rows of which
should each display a red icon as the validation result
(false) (see Figure 6.42).
6.6 Relationships
You will implement the mapping of an assembly for PCs Reload the repository (Figure 6.46) and restart the Data
as a relationship. All values that are relevant for this pro- Manager (see Figure 6.45). A new Relationships entry
cess are contained in the Products table; that is, the field with the fields PC <parts> and parts <PC> is now
Products table is the parent and child table for this rela- contained in the Record Detail area (see Figure 6.47).
tionship. The relationship should be named PC. Create
the relationship using the following values (see Figure
6.45):
Name PC
Name Is Parent
Name 2 parts
Has Quantity No
www.sap-press.com 45
Select the parts <PC> tab and click again on your Data
Manager to select the following rows in the Products Now, close the Relationship Editor and select again PC
table: AMD Sempron in the Records area. As shown in Figure
EE Hard drive 300G 6.52, the Record Detail area shows that the parts <PC>
EE Mainboard AMD entry has four relationships with other entries.
EE Power Supply
EE VGA card
www.sap-press.com 47
6.7 Masks
Figure 6.58 Free-Form Search for VGA Value Figure 6.62 Selecting a Mask
Select the two entries found and select Add to Mask The context menu provides other functions, such as
• Demomask in the context menu, as shown in Figure Remove from Mask to remove masks and Replace in
6.59. You can now see that your demo mask was entered Mask to replace masks (see Figure 6.63).
in the Masks field in the Record Detail area (see Figure
6.60).
Using the MDM Console, you can assign masks with the
appropriate authorizations to a role. This enables you to
easily set up different authorization concepts within a
repository.
6.8 Attributes
Alias Capacity
www.sap-press.com 49
A Record, 17 I
Record details, 17
Action item, 27, 30, 59 Images, 20
Record infos, 17
Adapter, 6 Image table, 20
Tables, 17
Approve step, 53 Import, 25, 30
Data, restrict, 16
Assembly, 44 Check, 31
Demo mask, 48
Attribute, 22, 49 Perform, 30
Description, 22
Link, 50 Processing steps, specifying, 26
Destination
Select, 49 Start, 26
Assigning, 26
Using an XML file, 32
Import action, 30, 59
B Change, 30
E Create, 59
Batch import, 31
Editing modes, 18 Replace, 59
Batch Import Manager, 25, 30
End step, 53 Skip, 59
Boolean value, 40
Ends with, 36 Update (All Mapped Fields), 59
Equals, 36 Update (Null Fields only), 59
Excludes, 36 ImportBatch.ini, 31
C Import format, 25
Execute import, 59
Categories, 18, 19 Export, 67 Import Manager, 5, 9, 25, 26, 32, 57
Changes Into an XML file, 69 Consolidation with, 57
Protection against, 37 Into a flat file, 68 Import status, 27
Change tracking, 16 Into an XML file, 71 INI file, 31
Check-in/Check-out, 38 Expression Editor, 61 Is NULL, 36
Child, 19 ItemCode, 22
Client systems, 13, 25 Item Editor, 68
Code Editor, 41, 44 F ItemName, 22
Color, 18 Items, 68
Family mode, 18
Command line, 31
Field mapping, 26, 28, 33
Compare function, 36
Flat table, 18
Comparing data records, 35
Free-form search, 35, 48, 61
L
Consolidation, 5, 57
Language layer, 36
Contains, 36
Limiting the data, 35
H Log file, 31, 32
D Harmonization, 5, 6
Hierarchy, 10
Database account, 10
Hierarchy mode, 18
M
Database server, 10
Hierarchy table, 18 ManufacturItemCode, 22
Data group, 20
Searching, 36 Map, 30, 31, 34, 60, 69
Data maintenance, 35
Mapping, 31
Data Manager, 5, 9, 17, 31, 35, 57
Mask, 48
Consolidation with, 60
www.sap-press.com 75
Matching Reference, 20
T
Based on a search, 60 Relationship, 44
Check, 20, 59 Import, 47 Tables
Field, 58 Relationship Editor, 46 Create, 11
In the Data Manager, 63 Repository, 6, 9, 11 Taxonomy mode, 18
Matching field, 34, 60 Being loaded, 11 Transformation, 63
Matching mode, 18 Create, 9, 10 Trigger, 52
Match records, 65 Load, 11, 45
MDM, 5 Must be updated, 11
MDM Console, 5, 7, 9, 44, 49 Selection, 17 U
MDM server, 7, 9, 10 Stopped, 11 Unarchive repository, 7
Logon, 17 Unload, 44 User, 14
Startup, 17 Reset search, 36
MDMWorkflowInstall.exe, 51 Role, 14, 16
Merge, 66 Assign, 16 V
Merge Editor, 62 Create, 14
Validate step, 52, 53
Microsoft Excel file, 25 Roll back, 39
Validation group, 42, 43
Mount, 10 Rule, 64
Validations, 40, 43, 52
Running simultaneously, 42
Value mapping, 28, 29, 33, 58, 59
O S Visio, 51, 52
Operator, 36, 44 Sample project, 5
Change, 36 SAP NetWeaver Exchange Infrastructure
Contains, 36 (SAP NetWeaver XI), 5, 67 W
Ends with, 36 SAP NetWeaver Master Data
Weight, 22
Equals, 36 Management (MDM), 5
Workflow, 5, 51, 53, 54, 56
Excludes, 36 Scheduler, 71
Workflow tasks, 54
Is NULL, 36 Search
Language layer, 36 Saving, 36
Sounds like, 36 Search expression, 61
Starts with, 36 Search operator, 36, 60 X
Sibling, 19 XML file, 25, 32
Sounds like, 36 Import, 32
P Source Structure, 32
Assigning, 26 XML schema, 70
Port, 11
Source preview, 26
Price, 22
Start step, 52
Process step, 52, 53
Products, 21
Starts with, 36 Z
Strategy, 64
Zip file, 6
Syndication, 67, 71
Zoom, 23
Syndicator, 6, 9, 67
R SyndicatorBatch, 71
Read/Write, 15 Syndicator GUI, 67
Record, 18 Syndicator Server, 67
Record mode, 18