Symptom
- DBIF_RSQL_SQL_ERROR short dump in ST22 (exception CX_SY_OPEN_SQL_DB, form routine INSERT_ODS)
- "ORA-14400: inserted partition key does not map to any partition"
- The dump & error can occur when writing/inserting to PSA or F-fact tables or when DSO objects are activated.
- PSA loads fail.
- Unable to activate DSO requests.
- DSO activation fails.
- Activation job BI_ODS..... dumps
Environment
- SAP NetWeaver 7.0
- SAP enhancement package 1 for SAP NetWeaver 7.0
- SAP enhancement package 2 for SAP NetWeaver 7.0
- SAP NetWeaver 7.3
- SAP enhancement package 1 for SAP NetWeaver 7.3
- SAP NetWeaver 7.4
- SAP Business Information Warehouse (SAP_BW)
Reproducing the Issue
Dump occuring during DSO activation:
- Run tcode RSA1
- Find the problematic DSO & click manage
- Enter the activation log to view the returned error msg which will enable you to jump to tcode ST22 & view the related DBIF_RSQL_SQL_ERROR dump.
Dump occuring during PSA or F-fact table inserts:
- Run tcode RSA1
- Find the failing load by searching for the relevant InfoPackage used
- Click on the monitor button to view the recent runs of that InfoPackage.
Cause
The ORA-14400 error is normally caused by an inconsistency in the partition numbers for the PSA. This inconsistency then causes the data load or the DSO activation to fail.
The system displays the ORA-14400 error message if you want to load data into a partitioned table where the partitions have not been defined correctly.
Partitioned tables store data in different "parts" where every dataset, depending on the defined partitioning key, is assigned to one of these parts.
The partitioning key is the value that can be found in a specific column of the table. The table being partitioned can improve the performance considerably, in particular if the single partitions are on different hard disks.
Partitioned tables store data in different "parts" where every dataset, depending on the defined partitioning key, is assigned to one of these parts.
The partitioning key is the value that can be found in a specific column of the table. The table being partitioned can improve the performance considerably, in particular if the single partitions are on different hard disks.
For your information: the PSA is partitioned by the PARTNO field, the F-fact table is partitioned based on the Request and the E-fact table can be partitioned based on any time characteristic.
Another cause for these symptoms has in many cases been too many uncompressed requests in the F-fact table of the corresponding InfoCube.
Resolution
The correction program in transaction code RSRV normally provides a quick solution. Therefore, please do the following:
- run transaction code RSRV
- choose 'All Elementary Tests' -> 'PSA Tables' -> 'Consistency Between PSA Partitions and SAP Administration Information'
- enter the relevant PSA table (you'll get it from the short dump, in the 'How to correct the error' section) & click 'execute' (F8)
- if you get any error, then use the "Correct error" option of transaction RSRV to correct it. SAP Note 339896 describes this "repair" procedure in more detail.
If there are too many uncompressed requests in the F-fact table of the corresponding InfoCube, then you should compress the cube on a regular basis per SAP Note 590370.
Also, if your system is SAP_BW 7.XX, then apply SAP Note 1807028 - 700SP31:ORA 14400 error during ODS Activation / PSA Loading.
Keywords
"DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB" "INSERT_ODS", RSODSACT1, ORA14400, RSDDCVER_PSA_PARTITION, SAP_DROP_EMPTY_FPARTITIONS, compression, DataStore Object
Product
| Product or Product Version | ||
|---|---|---|
| SAP NetWeaver 7.0 | ||
| SAP NetWeaver 7.3 | ||
| SAP NetWeaver 7.4 | ||
| SAP enhancement package 1 for SAP NetWeaver 7.0 | ||
| SAP enhancement package 1 for SAP NetWeaver 7.3 | ||
| SAP enhancement package 2 for SAP NetWeaver 7.0 |
Attributes
| Name | Value | ||
|---|---|---|---|
| Other Components | BW-WHM-DST-PSA Persistent Staging Area |
Comments
Post a Comment