SAP Function RSDRI_ODSO_UPDATE - Modifies Data Records in a Transactional ODS Object

Parameter Reference Type Length Default Optional Text
I_ODSOBJECT RSDODSOBJECT C 30 ODS Object
I_T_UPDATE STANDARD TABLE 0 Table of Records to Be Changed

Parameter Reference Type Length Text
E_RECORDS I I 4 Number of Modified Records

Exception Text
ACTIVE_TABLE_NAME_NOT_FOUND Name of Active Table Not Found
ARRAY_UPDATE_FAILED Update of Array Failed
DATA_TARGET_NOT_ODS Data Target Is Not an ODS Object
INTERNAL_ERROR Unexpected Error
ODS_TYPE_NOT_TRANSACTIONAL ODS Object Type Is Not "Transactional"
RECORD_KEY_DOES_NOT_EXIST At Least One of the Data Records Has a Key That Already Exists

Functionality
This function module receives the technical name of the DataStore objectas a return parameter. Data is transferred in a table with the samestructure as the active table of the DataStore object.
A check is carried out to see whether the DataStore object is aDataStore object for direct writing. The number of data records insertedis returned (e_numrows). In the event of errors during this process, therelevant exception is returned.

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 that thestructure of the data matches the structure of the DataStore objecttable 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. Forexample, you might implement no lock (except at database level) forquick changes to a small number of records but implement a lock forlengthy changes involving a large number of records.

    Description
    Technical name of the DataStore object.