OBJECT_CHECK_QMFE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name OBJECT_CHECK_QMFE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
IWO5
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'OBJECT_CHECK_QMFE' "Validation QMFE Record for Class System
* EXPORTING
* called_from = 1 " 1=of document 2=of class
* language = SY-LANGU " sy-langu Logon language
* lock = SPACE "
* lock = SPACE " Block object
* single = SPACE "
* single = SPACE " Individual access
* date_of_change = " rmclf-datuv1 Change Date
* i_auth_chk = SPACE " rmclf-kreuz
IMPORTING
fault_text = " Text
message_type = " Type of the message
no_auth = "
no_auth = " No authorization for object
meins = " mara-meins Unit of Measure
TABLES
otab = " rmclobtx
otab = " rmclobtx List of the error records
EXCEPTIONS
FOREIGN_LOCK = 1 " Record blocked
OBJECT_NOT_FOUND = 2 " Record does not exist
SYSTEM_FAILURE = 3 " System problems
. " OBJECT_CHECK_QMFE
The ABAP code below is a full code listing to execute function module OBJECT_CHECK_QMFE including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_fault_text | TYPE STRING , |
| ld_message_type | TYPE STRING , |
| ld_no_auth | TYPE STRING , |
| ld_no_auth | TYPE STRING , |
| ld_meins | TYPE MARA-MEINS , |
| it_otab | TYPE STANDARD TABLE OF RMCLOBTX,"TABLES PARAM |
| wa_otab | LIKE LINE OF it_otab , |
| it_otab | TYPE STANDARD TABLE OF RMCLOBTX,"TABLES PARAM |
| wa_otab | LIKE LINE OF it_otab . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_fault_text | TYPE STRING , |
| ld_called_from | TYPE STRING , |
| it_otab | TYPE STANDARD TABLE OF RMCLOBTX , |
| wa_otab | LIKE LINE OF it_otab, |
| it_otab | TYPE STANDARD TABLE OF RMCLOBTX , |
| wa_otab | LIKE LINE OF it_otab, |
| ld_message_type | TYPE STRING , |
| ld_language | TYPE SY-LANGU , |
| ld_no_auth | TYPE STRING , |
| ld_no_auth | TYPE STRING , |
| ld_lock | TYPE STRING , |
| ld_lock | TYPE STRING , |
| ld_meins | TYPE MARA-MEINS , |
| ld_single | TYPE STRING , |
| ld_single | TYPE STRING , |
| ld_date_of_change | TYPE RMCLF-DATUV1 , |
| ld_i_auth_chk | TYPE RMCLF-KREUZ . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name OBJECT_CHECK_QMFE or its description.