The "Display Material Master Record" function uses the process "MATRQ", the subprocess "MR", and data flow directions "D" and "U". When you start the function, a data flow direction from AutoCAD to the SAP system will be established. You can send information that identifies the material master record clearly (e.g. the material number, the view). If the material master record can be identified, a data flow direction from the SAP system to AutoCAD will be established, and the material master record can be displayed in AutoCAD.
You should proceed as follows when configuring the SAP-CAD interface for the "Display Material Master Record" function:
Process |
Subprocess |
Description |
MATRQ |
MR |
Display material master record |
CAD Sys. |
Process |
Subprocess |
Data flow direction |
Set name |
Description |
DEMO |
MATRQ |
MR |
D |
MTRQDAT |
Display (download) |
DEMO |
MATRQ |
MR |
U |
MTRQDAT |
Display (upload) |
The set name is user-definable, and you can overwrite it. This name will be used as a reference in tables TCID and TCIU.
Set name |
Pos. no. |
Field name |
DDIC field name |
Field length |
Database length |
MTRQDAT |
0010 |
MAT_TYPE |
MARA-MTART |
04 | |
MTRQDAT |
0020 |
INDUSTRY |
MARA-MBRSH |
01 | |
MTRQDAT |
0030 |
DESCRIPT_M |
MARA-MAKTX |
40 | |
MTRQDAT |
0040 |
BASE_UNIT |
MARA-MEINS |
03 |
The entries you make in this table are particularly important for all functions that supply information from the SAP System to AutoCAD. In other words, if the data flow direction "D" is defined for a function (process, subprocess) in table TCIM, the field or fields in table TCID should be assigned for the set name specified. The DDIC field name is the field name used in the SAP System. The field name is the field name used in AutoCAD.
Under the set name "GSMRQMR", enter all of the fields that you want to see when you call up the "Display Master Data Record" function in AutoCAD. You do not necessarily have to enter a value for the field length. The database length should be the same as the size of the DDIC field.
Field name |
Screen number |
Screen field |
DL |
Description |
MATERIAL |
SAPLCSDI0100 |
RC29N-MATNR |
18 |
Material number |
LVL_ENGIN |
SAPMM03M0070 |
BMM00-XEIK1 |
01 |
Engineering view |
In this table, you define field names that can be assigned to field sets in table TCIU. When you assign the screen field and the screen number to a field name, a field in an SAP input screen can be addressed by the field name without opening the screen itself.
Set name |
Pos. no. |
Field name |
Default value |
Field length |
DDIC length |
MTRQDAT |
0010 |
MATERIAL |
18 | ||
MTRQDAT |
0020 |
LVL_ENGIN |
01 |
The entries you make in this table are particularly important for all functions that supply information from AutoCAD to the SAP System. In other words, if the data flow direction "U" is defined for a function (process, subprocess) in table TCIM, the field or fields in table TCIU should be assigned for the set name specified. You may only enter field names that are defined in table TCIT. Do not enter anything for the default value or field length.
Under the set name " MTRQDAT", enter all of the fields for which you want to send information from AutoCAD to the SAP System when you call up the "Display Master Data Record" function.
See also:
Configuring the SAP-CAD Interface