Log Files 

Format of the AutoCAD-SAP Interface Trace File

If the value of the object "LogDataFlow" in the file "gesprese.cfg" is set to "1", a log file will be created for every function executed in the AutoCAD-SAP interface. If the same function is executed several times, the last process will be logged. The format of the log files is the same for all functions. One function can create several files. The data are recorded in different log files depending on the data flow direction.

Data flow direction:

The file contains a copy of a temporary table that is created when a function is executed. The file is divided into several sections. These file sections all have the same structure. Each file section represents one column in the table. A section starts with the identifier "record number". Each line in a section comprises an identifier and the value belonging to it. Both these are separated by a colon (:). The "record number" corresponds to the position of the column in the table, and the sequence in which the data is sent by the SAP system (or sent to the SAP system). The "set name" is the temporary table name. The "set name" is the same in all sections. The "field name" is the SAP internal field name. If you do not recognize the field used (and you cannot deduce this from the "description"), you should ask your SAP administrator. The "length" specified is the width of the column in the table.

The "description" is followed by the table contents. For every line in a column, one line is output in the respective section. The line always starts with "value", followed by a sequential number (line number) and the column value (separated by a colon).

AutoCAD-SAP Interface Trace Files for "Material" Functions

Function

Log file

Data flow direction

Display/Update

matrq_mr.lg1

upload

 

matrq_mr.lg2

download

Create

matcr_mr.lg1

upload

Change

match_mr.lg1

upload

 

match_md.lg2

download

 

match_md.lg1

upload

Assign

matrq_rf.lg1

upload

 

matrq_rl.lg2

download

 

matrq_mr.lg1

upload

 

matrq_mr.lg2

upload

Read item number

matrq_rf.lg1

upload

 

matrq_rl.lg2

download

 

matrq_mr.lg1

upload

 

matrq_mr.lg2

upload

AutoCAD-SAP Interface Trace Files for "BOM" Functions

Function

Log file

Data flow direction

Display->Single-Level BOM

bomrq_mr.lg1

upload

 

bomrq_mr.lg2

download

 

bomrq_sp.lg2

download

Display->BOM level by level

bomrq_lb.lg1

upload

 

bomrq_lb.lg2

download

 

bomrq_lp.lg2

download

Display->Multilevel BOM

bomrq_mb.lg1

upload

 

bomrq_mb.lg2

download

 

bomrq_mp.lg2

download

Display->Summarized BOM

bomrq_qb.lg1

upload

 

bomrq_qb.lg2

download

 

bomrq_qp.lg2

download

Create

bomcr_mp.lg1

upload

 

bomcr_sp.lg1

upload

Change

bomch_mp.lg1

upload

 

bomch_mp.lg2

download

 

bomch_sp.lg1

upload

 

bomch_sp.lg2

download