TATECHATLAS
◎ English
TECHNOLOGY / KNOWLEDGE / PRACTICE

Search results: default

Materials on AI, Python, Git, SQL, SAP/ERP, statistics and time series: explanations, examples, practical tips, sources and applicability limits.

Every word must appear in the article. Use quotes for an exact phrase.

Search results

1-17 / 17 materials Reset

Serializing Complex Python Objects to JSON with Custom Encoders

The json module handles only a fixed set of Python types. To serialize complex numbers, dates, paths, or user-defined classes you must supply a default function or subclass JSONEncoder, then pair the output with object_hook on the decode side.

json / serialization / JSONEncoder / default / object_hook / python-standard-library / datetime / complex

PostgreSQL foreign keys: NO ACTION timing and selective SET NULL

A closer look at explicitly deferred NO ACTION checks and clearing only the optional component of a composite foreign key. These details complement the basic choice between RESTRICT, CASCADE and SET NULL.

postgresql / foreign-key / on-delete / data-retention / cascade / restrict / set-null / referential-integrity

SAP S/4HANA: document splitting and balanced segment reporting

Understand how document splitting distributes line items and, when configured, creates zero-balance clearing lines for a segment. Follow one numeric example and inspect the general ledger view before comparing reports.

SAP S/4HANA / Universal Journal / Segment Reporting / Financial Accounting / Controlling / Document Splitting / Balance Sheets / Reporting

Safe Cross-Platform Path Handling in Python with pathlib

A practical guide to using pathlib for file existence checks, extension manipulation, directory navigation, and path resolution without introducing platform-specific bugs on Windows or Unix systems.

pathlib / cross-platform / python / file-system / os.PathLike / PurePath / glob / resolve

SAP S/4HANA posting date, document date, and posting period rejection diagnosis

A posting rejection is usually a period-control issue, not a document-date mistake. The journal entry date is the document issue date, while the posting date determines the posting period that the system checks. The posting period variant, not the fiscal year variant, opens and closes periods for the header and for each account type.

SAP S/4HANA / posting date / document date / posting period variant / fiscal year variant / period control / authorization / FI document

Robust CSV Parsing in Python: Handling BOM, Dialects, and Newlines

A guide to using the Python csv module to automatically detect delimiters, handle Unicode Byte Order Marks (BOM) with utf-8-sig, and manage platform-specific newline issues using the Sniffer class and correct file opening parameters.

python / csv / data-processing / encoding / utf-8-sig / automation

Relative Paths in Python: Terminal, IDE and Service Launches

How Python resolves relative paths depends on the process working directory, which varies by launcher. This guide shows how to inspect the working directory, choose and document an explicit path base, and understand why __file__ cannot always be trusted.

Python / pathlib / relative paths / working directory / __file__ / os.getcwd