SAP SIQM_OBJECT_INSERT_OBJECTS Function Module for Insert Objects in DB
SIQM_OBJECT_INSERT_OBJECTS is a standard siqm object insert objects SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Insert Objects in DB processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for siqm object insert objects FM, simply by entering the name SIQM_OBJECT_INSERT_OBJECTS into the relevant SAP transaction such as SE37 or SE38.
Function Group: SIQM_OBJECT
Program Name: SAPLSIQM_OBJECT
Main Program: SAPLSIQM_OBJECT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SIQM_OBJECT_INSERT_OBJECTS pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'SIQM_OBJECT_INSERT_OBJECTS'"Insert Objects in DB.
EXPORTING
IT_OBJECT = "Objects on DB
IT_KEY = "Keys on DB
* IV_SIMULATION = ABAP_FALSE "
IMPORTING
EV_INSERTED_OBJECTS = "Processed Database Table Rows
EV_INSERTED_KEYS = "Processed Database Table Rows
EXCEPTIONS
DB_OP_FAILED = 1 MISSING_ATTRIBUTE = 2
IMPORTING Parameters details for SIQM_OBJECT_INSERT_OBJECTS
IT_OBJECT - Objects on DB
Data type: SIQM_T_OBJECT_DBOptional: No
Call by Reference: Yes
IT_KEY - Keys on DB
Data type: SIQM_T_KEY_DBOptional: No
Call by Reference: Yes
IV_SIMULATION -
Data type: ABAP_BOOLDefault: ABAP_FALSE
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for SIQM_OBJECT_INSERT_OBJECTS
EV_INSERTED_OBJECTS - Processed Database Table Rows
Data type: SYDBCNTOptional: No
Call by Reference: Yes
EV_INSERTED_KEYS - Processed Database Table Rows
Data type: SYDBCNTOptional: No
Call by Reference: Yes
EXCEPTIONS details
DB_OP_FAILED - DB operation failed
Data type:Optional: No
Call by Reference: Yes
MISSING_ATTRIBUTE - missing attribute
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for SIQM_OBJECT_INSERT_OBJECTS Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_it_object | TYPE SIQM_T_OBJECT_DB, " | |||
| lv_db_op_failed | TYPE SIQM_T_OBJECT_DB, " | |||
| lv_ev_inserted_objects | TYPE SYDBCNT, " | |||
| lv_it_key | TYPE SIQM_T_KEY_DB, " | |||
| lv_ev_inserted_keys | TYPE SYDBCNT, " | |||
| lv_missing_attribute | TYPE SYDBCNT, " | |||
| lv_iv_simulation | TYPE ABAP_BOOL. " ABAP_FALSE |
|   CALL FUNCTION 'SIQM_OBJECT_INSERT_OBJECTS' "Insert Objects in DB |
| EXPORTING | ||
| IT_OBJECT | = lv_it_object | |
| IT_KEY | = lv_it_key | |
| IV_SIMULATION | = lv_iv_simulation | |
| IMPORTING | ||
| EV_INSERTED_OBJECTS | = lv_ev_inserted_objects | |
| EV_INSERTED_KEYS | = lv_ev_inserted_keys | |
| EXCEPTIONS | ||
| DB_OP_FAILED = 1 | ||
| MISSING_ATTRIBUTE = 2 | ||
| . " SIQM_OBJECT_INSERT_OBJECTS | ||
ABAP code using 7.40 inline data declarations to call FM SIQM_OBJECT_INSERT_OBJECTS
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_iv_simulation) | = ABAP_FALSE. | |||
Search for further information about these or an SAP related objects