Skip to content

fix: detect HANA database from S4CORE component in GetSystemInfo#100

Merged
oisee merged 1 commit intooisee:mainfrom
frozenraindrop:GetSystemInfo
Apr 12, 2026
Merged

fix: detect HANA database from S4CORE component in GetSystemInfo#100
oisee merged 1 commit intooisee:mainfrom
frozenraindrop:GetSystemInfo

Conversation

@frozenraindrop
Copy link
Copy Markdown
Contributor

Detect HANA database from S4CORE component

GetSystemInfo currently relies on explicit HANA software components in the CVERS table. While this works for ECC on HANA, S/4HANA environments (like version 2022/757) often lack these specific components, causing the database to be reported incorrectly.

Changes:

  • Added a fallback check for the S4CORE component.
  • Since S/4HANA strictly implies a HANA database, this allows the system to correctly identify DatabaseSystem as HDB.
  • Note: The specific HANA database version cannot be determined via S4CORE, so DatabaseRelease is left blank in this scenario.

A path for a possible rework

Other approaches for system info retrieval (e.g., Marianfoo's ARC-1) may be worth analyzing for more comprehensive metadata in future patches.

@oisee oisee merged commit d96c38e into oisee:main Apr 12, 2026
@frozenraindrop frozenraindrop deleted the GetSystemInfo branch April 13, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants