Diagnostic Reference Implementation - Not a Product
Maintained by PythonMate Enterprise SAP Content Integrity Diagnostics https://pythonmate.com
This repository is a diagnostic reference implementation demonstrating Python-to-SAP connectivity for GOS (Generic Object Services) integrity analysis. This tool:
- Reveals integrity decay in SAP GOS tables (SOFFCONT1, SRGBTBREL, SOFFPHIO)
- Does NOT fix any identified issues
- Does NOT provide remediation or cleanup capabilities
- Requires enterprise engagement for actual remediation activities
- Operates in read-only mode only with zero-ABAP approach
This tool surfaces risks and technical debt but does not resolve them. Actual remediation requires a separate, private PythonMate engagement.
- SAP Basis Administrators
- S/4HANA Migration Architects
- SAP Security & Audit Teams
- Enterprise Architecture Groups
- Read-Only Access: Uses RFC_READ_TABLE and metadata functions only
- 7-Minute Execution Window: Designed for evaluation, not comprehensive analysis
- Risk Identification: Detects orphaned SOFFCONT1 entries without remediation
- Enterprise Safety: Zero write operations, zero binary access, zero transport impact
- Perform cleanup operations
- Execute remediation logic
- Access binary data (CLUSTD column)
- Create transports
- Modify SAP tables
- Provide self-service fixes
The diagnostic validates attachment integrity by cross-checking GOS relationship entries (SRGBTBREL) against physical document metadata (SOFFPHIO) to identify orphaned or unreachable content without accessing binary payloads.
- Python 3.8+
- SAP NetWeaver RFC SDK
- Valid SAP credentials with S_TABU_NAM authorization (table name access only)
git clone https://github.com/pythonmate/7-minute-integrity-scan.git
cd 7-minute-integrity-scan
pip install -r requirements.txtpython src/cli/main.py scan --system PRD --client 100 --host sapserver.company.com --sysnr 00 --user RFC_USER --password 'password'Output: reports/GOS_Integrity_Audit_PRD_YYYYMMDD_HHMMSS.pdf
python src/cli/main.py validate-connection --host sapserver.company.com --sysnr 00 --client 100 --user RFC_USER --password 'password'This tool implements strict read-only operations:
- Zero Data Modification: No write, update, or delete operations
- No Binary Access: Never accesses CLUSTD (binary data) column
- Metadata Only: Analyzes relationships, not content
- Audit Safe: Designed to pass enterprise security reviews
See SECURITY_MODEL.md for detailed security assurance.
- On productive systems without Basis approval
- As a substitute for migration test cycles
- For cleanup or deletion decisions
- For ArchiveLink design
This diagnostic tool reveals opportunities but does not address them. Remediation activities (cleanup, optimization, migration) require a separate enterprise engagement with PythonMate due to:
- Complexity of safe GOS object deletion
- Risk of breaking business workflows
- Need for comprehensive testing environments
- Compliance and audit requirements
This diagnostic is designed for pre-production environments to identify content integrity risks before they impact production systems.
Use this tool to quantify GOS attachment bloat and plan cleanup strategies during your migration timeline.
Validate that GOS relationships are consistent and identify orphaned content that may pose compliance risks.
Ready to evaluate SAP GOS integrity in your environment?
git clone https://github.com/pythonmate/7-minute-integrity-scan.git
cd 7-minute-integrity-scan
pip install -r requirements.txtAfter running your diagnostic scan, engage with PythonMate for comprehensive remediation planning and execution.
MIT License - See LICENSE