pub struct SapExportSettings {
pub client: String,
pub ledger: String,
pub source_system: String,
pub local_currency: String,
pub group_currency: Option<String>,
pub tables: Vec<String>,
pub include_extension_fields: bool,
pub dialect: SapDialectSetting,
pub use_sap_date_format: bool,
}Expand description
Configuration for the SAP export writers (BKPF / BSEG / ACDOCA and master-data tables).
Mirror of datasynth_output::SapExportConfig in YAML form — the CLI
translates this into the runtime struct before invoking the exporter,
replacing the v3.x hardcoded SapExportConfig::default().
Fields§
§client: StringSAP client / MANDT column value on every table.
ledger: StringLeading ledger for ACDOCA rows (0L for S/4HANA default).
source_system: StringSource system identifier — written to ACDOCA.AWSYS so downstream consumers can distinguish synthetic rows from production ones.
local_currency: StringLocal currency (WAERS / RWCUR).
group_currency: Option<String>Optional group / consolidation currency (triggers the HSL / RHCUR columns).
tables: Vec<String>Which SAP tables to export. Empty = default set (bkpf, bseg, acdoca).
include_extension_fields: boolInclude ZSIM_* extension columns on ACDOCA rows.
dialect: SapDialectSettingExport dialect — classic (R/3 / BODS) or hana (S/4HANA CDS).
use_sap_date_format: boolLegacy flag, retained for backward compatibility. Has no effect
when dialect = hana.
Trait Implementations§
Source§impl Clone for SapExportSettings
impl Clone for SapExportSettings
Source§fn clone(&self) -> SapExportSettings
fn clone(&self) -> SapExportSettings
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more