Attributes for the UPLOAD Process
The following is an overview of the attributes for the UPLOAD process:
Identifier |
Type |
Description |
SAPKEY |
String |
SAP field name. All fields (or only SAP fields) that are listed in the field set assigned to the process in question (e.g. "MATCR" "MR" "U") can be displayed in the dialog boxes. The field set names defined for the process in question can be found in the file called "cadcimr3.dat". |
COLLENG |
Short |
The value specified here determines the size of the edit field for the SAP field and the size of the edit field for any referenced AutoCAD attributes in the dialog box. If the value is "0", the SAP field and, if applicable, the AutoCAD attribute will not be displayed in the dialog box. All SAP fields assigned to an AutoCAD attribute are deactivated. All AutoCAD fields and any SAP fields not assigned to an AutoCAD attribute are activated. The length of the corresponding "SAPLABEL" description, and the value specified for "COLLENG" give the width of the dialog box. The lower your screen resolution, the lower the "COLLENG" value you should choose. The SAP field lengths defined for the SAP fields of the process in question (e.g. "MATCR" "MR" "U") can be found in the file "cadcimr3.dat". The value specified for "COLLENG" should be as near as possible to the size of the SAP field length. |
COLLENS |
Short |
This value determines the size of the edit field for the SAP field in the dialog box. If the value is "0", the SAP field will not be displayed. The fields in the dialog box are activated. The length of the corresponding "SAPLABEL" description and the value specified for "COLLENS" give the width of the dialog box. The lower your screen resolution, the lower the value you should choose for "COLLENS". The SAP field lengths defined for the SAP fields of the process in question (e.g. "MATCR" "MR" "U") can be found in the file "cadcimr3.dat". The value specified for "COLLENS" should be as near as possible to the size of the SAP field length. |
SAPLABEL |
String |
Text for the name of the SAP field in the dialog box. This text is user-definable. The length of the name and the corresponding "COLLENS" or "COLLENG" give the width of the dialog box. The lower your screen resolution, the shorter the text you enter should be. If possible, it should be the same as the name in the SAP System. |
SAPLABELMNEM |
String |
One letter of the text for the SAP field name (SAPLABEL). You can access the corresponding edit field more quickly by pressing <TAB> and then the letter in question on your keyboard. The letter assigned for SAPLABELMNEM should be unique in the sections [MATCR_MR_U] and [MATCR_MR_D] ("SAPKEY" information). |
FILLDEFAULTG |
String |
You can specify a default value for the SAP field here. This value will be used for the process in question (e.g. "MATCR" "MR" "U"). If the SAP field is displayed in the dialog box, the value can be overwritten before the process starts. |
FILLDEFAULTS |
String |
You can specify a default value for the SAP field here. This value will be used for the process in question (e.g. "MATCR" "MR" "U"). If the SAP field is displayed in the dialog box, the value can be overwritten before the process starts. |
Example of what the [MATCR_MR_U] section might look like:
e.g.
[SAP]= dwg=1 edit=1
[MATCR_MR_U]= dwg=1 edit=1
[MATCR_MR_U1]= dwg=1 edit=1 Section
SAPKEY [GenCfgString]="MATERIAL" dwg=0 edit=1 Object 1
COLLENG [GenCfgShort]=18 dwg=0 edit=1 Object 2
COLLENS [GenCfgShort]=18 dwg=0 edit=1 Object 3
SAPLABEL [GenCfgString]="Material number" dwg=0 edit=1 Object 4
SAPLABELMNEM [GenCfgString]="M" dwg=0 edit=1 Object 5
FILLDEFAULTG [GenCfgString]="" dwg=0 edit=1 Object 6
FILLDEFAULTS [GenCfgString]="" dwg=0 edit=1 Object 7
[]
[MATCR_MR_U2]= dwg=1 edit=1 Section
SAPKEY [GenCfgString]=„PLANT" dwg=0 edit=1 Object 1
COLLENG [GenCfgShort]=4 dwg=0 edit=1 Object 2
COLLENS [GenCfgShort]=4 dwg=0 edit=1 Object 3
SAPLABEL [GenCfgString]=„Plant" dwg=0 edit=1 Object 4
SAPLABELMNEM [GenCfgString]=„W" dwg=0 edit=1 Object 5
FILLDEFAULTG [GenCfgString]="0001" dwg=0 edit=1 Object 6
FILLDEFAULTS [GenCfgString]="0001" dwg=0 edit=1 Object 7
[]
[MATCR_MR_U3]= dwg=1 edit=1 Section
SAPKEY [GenCfgString]=„STORE_LOC" dwg=0 edit=1 Object 1
COLLENG [GenCfgShort]=4 dwg=0 edit=1 Object 2
COLLENS [GenCfgShort]=4 dwg=0 edit=1 Object 3
SAPLABEL [GenCfgString]=„Store location" dwg=0 edit=1 Object 4
SAPLABELMNEM [GenCfgString]=„L" dwg=0 edit=1 Object 5
FILLDEFAULTG [GenCfgString]="" dwg=0 edit=1 Object 6
FILLDEFAULTS [GenCfgString]="" dwg=0 edit=1 Object 7
[]
Example of what the section for the process "MATCR" "MR" "U" in the file "cadcimr3.dat" might look like:
MATCR MR U MTCRDAT
The "cadcimr3.dat" file is structured as follows:
Column |
Column Contents |
1 |
Process name |
2 |
Subprocess |
3 |
D = download U = upload |
4 |
Field set name |
Column 3 also tells you in which file the definition of the field set (column 4) can be found.
D |
File "cadcidr3.dat" (or "cadcidr2.dat") |
U |
File "cadciur3.dat" (or "cadciur2.dat") |
Example of what the section for the field set "MTCRDAT" in the file "cadcimr3.dat" (or "cadcimr2.dat") might look like:
...
MTCRDAT MATERIAL 18
MTCRDAT PLANT 04
MTCRDAT STORE_LOC 04
MTCRDAT LVL_ENGIN 01
MTCRDAT LVL_MRP_1 01
MTCRDAT LVL_MRP_2 01
MTCRDAT LVL_MRP_3 01
MTCRDAT LVL_STORE 01
MTCRDAT LVL_COST 01
MTCRDAT MAT_TYPE 04
MTCRDAT INDUSTRY 01
MTCRDAT DESCRIPT_M 40
MTCRDAT BASE_UNIT 03
MTCRDAT BASIC_MAT 14
MTCRDAT GROSS_WGHT 17
MTCRDAT UNIT_WGHT 03
MTCRDAT NET_WEIGHT 17
MTCRDAT DIN_FORMAT 04
MTCRDAT SIZE/DIMEN 32
MTCRDAT MRP_TYPE 02
MTCRDAT MM/PP_STAT 02
The file "cadciur3.dat" (or cadciur2.dat) has the following structure:
Column |
Column Contents |
1 |
Field set name |
2 |
SAP field name |
3 |
SAP field length |