Ansicht
Dokumentation
RSDRI_ODSO_INSERT - Inserts Data Records into a Transactional ODS Object
General Data in Customer Master Fill RESBD Structure from EBP Component StructureThis documentation is copyright by SAP AG.
Functionality
This function module receives the technical name of the DataStore object as a return parameter. Data transfer is done in a table with the same structure as the active table of the DataStore object.
A check is carried out to see whether the DataStore object is a DataStore object for direct writing. The number of data records inserted is returned (e_numrows). In the event of errors during this process, the relevant exception is returned.
Example
Notes
Data is either accepted in full or rejected in full. For this reason, you must ensure that the data is correct and in particular ensure that the structure of the data matches the structure of the DataStore object table exactly. Incorrect data or structures may result in SQL errors, exceptions, or in data being transferred in the wrong format.
- Since a DataStore object for direct writing is often supplied with new data, lock management must be implemented in the calling object. For example, you might implement no lock (except at database level) for quick insertion of a small number of records but implement a lock for lengthy inserts involving a large number of records.
Further information
Parameters
E_RECORDSI_AUTHORITY_CHECK
I_ODSOBJECT
I_TRIGGER_SMARTMERGE
I_T_INSERT
Exceptions
ACTIVE_TABLE_NAME_NOT_FOUNDARRAY_INSERT_FAILED
DATA_TARGET_NOT_ODS
INTERNAL_ERROR
ODS_TYPE_NOT_TRANSACTIONAL
RECORD_KEY_ALREADY_EXISTS
Function Group
RSDRI_ODSOCPI1466 during Backup rdisp/max_wprun_time - Maximum work process run time
This documentation is copyright by SAP AG.
Length: 2007 Date: 20240523 Time: 134356 sap01-206 ( 45 ms )