Menu

SAP Function Module MEASUREM_DOCUM_RFC_SINGLE_001

RFC MeasDocument: Individual Processing, Create

Unsere Literaturempfehlung

IDoc-Entwicklung für SAP: Customizing, Erweiterung, Eigenentwicklung

Wenn der Standard nicht ausreicht: Mit diesem Buch lernen Sie, IDocs selbstständig zu programmieren und zu erweitern. Die Autorin beschreibt Customizing-Techniken, die Erweiterung der Standardbausteine und komplette Eigenentwicklungen. Ob Rückmeldungen von Statuswerten, E-Mail-Workflows oder Serialisierung – für alle Aufgaben finden Sie Anleitungen und Tipps aus der Programmierpraxis. Neu in dieser Auflage: Überwachung und Fehlerbehandlung mit dem SAP Application Interface Framework.

Bei amazon.de ansehen →

The Function Module MEASUREM_DOCUM_RFC_SINGLE_001 (RFC MeasDocument: Individual Processing, Create) is a standard Function Module in SAP ERP and is part of the function group IMR0 within the package IMRC.

Technical Information

Function Module MEASUREM_DOCUM_RFC_SINGLE_001
Short Text RFC MeasDocument: Individual Processing, Create
Function Group IMR0
Package IMRC
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CHECK_CUSTOM_DUPREC LIKE IREF-IIND SPACE X - Customer-specific DupRec check
CODE_CATALOGUE LIKE IMRG-CODCT SPACE Catalog type of evaluation code
CODE_GROUP LIKE IMRG-CODGR SPACE Code group of evaluation code
CODE_VERSION LIKE IMRG-CVERS SPACE Version number of evaluation code
COMMIT_WORK LIKE IREF-IIND 'X' X - Execute COMMIT WORK at ABAP level
CREATE_NOTIFICATION LIKE IREF-IIND SPACE X - Create PM notification
DIFFERENCE_READING LIKE IMRG-IDIFF SPACE X - MeasValue is counter reading difference
MEASUREMENT_POINT LIKE IMRG-POINT SPACE Measuring point (Primary key)
NOTIFICATION_PRIO LIKE QMEL-PRIOK SPACE Notification priority
NOTIFICATION_TYPE LIKE QMEL-QMART 'M2' Notification type
ORIGIN_INDICATOR LIKE IMRG-GENER 'A' Origin indicator
PREPARE_UPDATE LIKE IREF-IIND 'X' X - Prepare update (for COMMIT WORK)
READER LIKE IMRG-READR SY-UNAME Person who took the measurement reading
READING_AFTER_ACTION LIKE IMRG-DOCAF SPACE X - Measurement according to its task
READING_DATE LIKE IMRG-IDATE SY-DATUM Date of the measurement
READING_TIME LIKE IMRG-ITIME SY-UZEIT Time of measurement
RECORDED_UNIT LIKE RIMR0-UNITR SPACE Unit of measurement for document entry
RECORDED_VALUE LIKE RIMR0-RECDC SPACE Measurement reading in unit of entry
SECONDARY_INDEX LIKE IMPT-PSORT SPACE Secondary index: Item No. of Measuring point
SHORT_TEXT LIKE IMRG-MDTXT SPACE Short text for measurement document
USER_DATA LIKE IMRG_USR SPACE Customer-specific data
VALUATION_CODE LIKE IMRG-VLCOD SPACE Evaluation code
WAIT_AFTER_COMMIT LIKE IREF-IIND 'X' X - Wait for database update
WITH_DIALOG_SCREEN LIKE IREF-IIND SPACE X - RFC with dialog screen

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
COMPLETE_DOCUMENT LIKE IMRG Complete measurement document
CUSTOM_DUPREC_OCCURED LIKE IREF-IIND X - Customer-defined DupRec occured
MEASUREMENT_DOCUMENT LIKE IMRG-MDOCM Measurement document (Primary key)
NOTIFICATION LIKE QMEL-QMNUM Notification (Primary key)

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
CODE_NOT_FOUND Evaluation code not defined
INDEX_NOT_UNIQUE Secondary index is not unique
INVALID_DATE Measuring Date Not Valid
INVALID_TIME Measuring Time Not Valid
NOTIF_GENER_PROBLEM Problem generating PM notification
NOTIF_PRIO_NOT_FOUND Priority not defined
NOTIF_TYPE_NOT_FOUND Notification type not defined or not allowed
NO_AUTHORITY No authorization
POINT_INACTIVE MeasPoint inactive -> No document entry
POINT_LOCKED Measuring point blocked by dialog user
POINT_NOT_FOUND Measuring point (Table IMPTT) not found
TIMESTAMP_DUPREC A counter reading already existed at that time
TIMESTAMP_IN_FUTURE Measurement time is in the future
TYPE_NOT_FOUND Measuring point category not found
UNIT_UNFIT Measurement unit does not correspond to characteristic unit
UPDATE_FAILED DB update failed (during WAIT_AFTER_COMMIT)
VALUE_MISSING MeasValue/counter reading missing
VALUE_NOT_FLTP RECORDED_VALUE cannot be read as floating point number
VALUE_OVERFLOW Exceed/fall short of measurement area
VALUE_UNFIT Counter reading does not suit monotone development