XPRAS Error During MAIN_NEWBAS/XPRAS_AIMMRG in S/4HANA Conversion Execution Phase
During the recent Oracle → HANA system conversion to S/4HANA 2023, we encountered an error in the Execution Phase where SUM stopped with an error at the step MAIN_NEWBAS/XPRAS_AIMMRG.
Overview
During the SUM execution, the process stopped in MAIN_NEWBAS/XPRAS_AIMMRG due to BW-related inconsistencies. The phase could not continue because certain BW InfoObjects were not fully activated before downtime.
Analysis
- While reviewing the error logs (XPRASUPG_NEW.ELG and related BW activation logs), we observed multiple failures related to InfoObject activation.
- The XPRAS engine failed to merge certain BW objects because the BW content was not in an active state before SUM was started.
- We validated client settings, checked multiple profiles, reviewed shadow logs, and compared BW content activation status before correlating this with the root cause.
- Only after detailed log review and cross-checking, it became clear that the system required specific BW preparation activities prior to downtime.
How to Identify
These indicators helped confirm the issue early:
- XPRAS error in XPRASUPG_NEW.ELG with BW InfoObject activation entries.
- Multiple failed entries referring to missing or inactive InfoObjects.
- BW task list not executed before downtime (SAP_BW_SETUP_INITIAL_S4HANA).
- Running STC01 or RSDG_IOBJ_ACTIVATE manually showed several inactive objects.
- SUM repeating the same activation attempts and stopping again.
This combination confirmed that BW content activation was incomplete prior to the conversion.
Resolution
After confirming the root cause, we performed the below steps to fix the issue:
- Implemented the required corrections in Client 000 using a non-DDIC user with SAP_ALL.
- Activated the missing BW InfoObjects as per SAP Note 3315495.
- Ensured the system was locked again and resumed the SUM execution.
- SUM continued successfully without further XPRAS errors.
Workaround (for early detection )
To prevent the issue in the next conversion cycles (QA/DR/Production):
- Implement SAP Notes 3305016 and 3316148 before executing SUM.
• Before downtime, run task list:
STC01 → SAP_BW_SETUP_INITIAL_S4HANA - Optionally run:
Program RSDG_IOBJ_ACTIVATE to ensure all InfoObjects are active. - Validate BW readiness in Sandbox during rehearsal runs.
These actions ensure the BW layer is fully consistent before SUM execution begins.
Regards,
Shubham Mishra