Function Module MEASUREM_DOCUM_RFC_SINGLE_002

Task

RFC Measurement document: Individual processing, Change/Display or Read

Use

This RFC enables the following remote calls:

Notes

Apart from when an EXCEPTION occurs, the measurement document data (structure IMRG) is always returned.

After a remote dialog in change mode, the redundant fields of the measurement document in the calling system can be synchronized.

Import Parameters

Parameter

Type

Length

Short text

MEASUREMENT_
DOCUMENT

CHAR

20

Measurement document number

WITH_DIALOG_SCREEN

CHAR

1

X = RFC with dialog screen

EDIT_MODE

CHAR

1

X = Call in change mode

WAIT_AFTER_COMMIT

CHAR

1

X = Wait for database update

 

Export Parameters

Parameter

Type

Length

Short text

IMRG_BA

See IMRG structure

See IMRG structure

Work area returned from transaction

UPDATE_SUCCESS

CHAR

1

X = Update performed

 

IMRG Structure

Name

Type

Length

Short text

AEDAT

DATS

8

Date on which the object was last changed

AENAM

CHAR

12

Name of the user who last changed the object

CANCL

CHAR

1

Cancel indicator

CDIFF

FLTP

16

Counter reading difference in SI-units

CDIFFI

CHAR

1

Indicator to show that the corresponding number field contains a value

CNTRG

CHAR

1

Indicator: Counter reading document

CNTRR

FLTP

16

Counter reading in SI-units

CNTRRI

CHAR

1

Indicator to show that the corresponding number field contains a value

CODCT

CHAR

1

Catalog type - Valuation code for the measurement reading

CODGR

CHAR

8

Code group - Valuation code for the measurement reading

CVERS

CHAR

6

Version number

DETAILERG

NUMC

8

Development reserve: Format NUMC,
Length 8

DOCAF

CHAR

1

Indicator: Measurement document included after corresponding task

ERDAT

DATS

8

Date on which the object was created

ERNAM

CHAR

12

Name of the user who created the object

ERUHR

TIMS

6

Time at which the object was created

EXCHG

CHAR

1

Indicator to show that the register was exchanged

GENER

CHAR

1

Origin indicator

IDATE

DATS

8

Date of the measurement

IDIFF

CHAR

1

Indicator to show that the counter reading was entered as a difference

INVTS

NUMC

11

Internal time stamp format: 99.999.999.999 - seconds

ITIME

TIMS

6

Time of the measurement

KZLTX

CHAR

1

Long text indicator

LVORM

CHAR

1

Deletion flag

MANDT

CLNT

3

Client

MBEWERTG

CHAR

1

Valuation of test result

MDOCM

CHAR

20

Measurement document

MDTXT

CHAR

40

Measurement document text

MERKNR

NUMC

4

Inspection characteristic number

MLANG

LANG

1

Language key

POINT

CHAR

12

Measuring point

PREST

CHAR

1

Processing status

PROBENR

NUMC

6

Number of the partial sample

PRUEFLOS

NUMC

12

Inspection lot number

READG

FLTP

16

Measurement reading / total counter reading in SI-units

READGI

CHAR

1

Indicator to show that the corresponding number field contains a value

READR

CHAR

12

Counter reader of the measurement reading

RECDU

UNIT

3

Unit of measurement for document entry

RECDV

FLTP

16

Measurement reading in unit of entry

RECDVI

CHAR

1

Indicator to show that the corresponding number field contains a value

ROOTD

CHAR

20

Original document for measurement reading transfer

TOLID

NUMC

8

Object ID of the production resource/tool

TOLTY

CHAR

2

Object type of the CIM resource for production resource/tool

TOTEX

CHAR

1

Indicator to show that the total counter reading was set externally

VLCOD

CHAR

4

Valuation code

VORGLFNR

NUMC

8

Current node number from order counter APLZL

WOOB1

CHAR

22

Object number of the order operation / confirmation counter, etc.

WOOBJ

CHAR

22

Object number of the order etc.

 

Exceptions

Parameter

Short text

NO_AUTHORITY

No authorization

DOCUMENT_NOT_FOUND

Measurement document (table IMRG) not found

POINT_NOT_FOUND

Corresponding measuring point not available

UPDATE_FAILED

Database update failed (during WAIT_AFTER_COMMIT)

 

See Notes about the Function Modules.