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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SapExportSettings
impl Debug for SapExportSettings
Source§impl Default for SapExportSettings
impl Default for SapExportSettings
Source§impl<'de> Deserialize<'de> for SapExportSettings
impl<'de> Deserialize<'de> for SapExportSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for SapExportSettings
impl RefUnwindSafe for SapExportSettings
impl Send for SapExportSettings
impl Sync for SapExportSettings
impl Unpin for SapExportSettings
impl UnsafeUnpin for SapExportSettings
impl UnwindSafe for SapExportSettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.