TCURX → sap::Tcurx
Decimal Places in Currencies
Key: CURRKEY
| ABAP field | Google Merchant | Rust field | Rust type | DDIC | Data element | Description |
|---|---|---|---|---|---|---|
CURRKEY (key) | currkey | String | CUKY 5 | CURRKEY | Currency Key | |
CURRDEC | price sale_price | currdec | u8 | INT1 3 | CURRDEC | Number of Decimal Places |
pink attributes are machine data: converted by a fixed rule, never rewritten. See Google Merchant Center.
Generated Rust
// abap_to_rust::sap::Tcurx
/// `TCURX`: Decimal Places in Currencies
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct Tcurx {
/// `CURRKEY` CUKY 5 (key): Currency Key
#[serde(rename = "CURRKEY")]
pub currkey: String,
/// `CURRDEC` INT1 3: Number of Decimal Places
#[serde(rename = "CURRDEC", default)]
pub currdec: u8,
}
impl Tcurx {
pub const TABNAME: &'static str = "TCURX";
pub const KEY: &'static [&'static str] = &["CURRKEY"];
/// (ABAP name, Rust name), in DDIC position order.
pub const FIELDS: &'static [(&'static str, &'static str)] = &[("CURRKEY", "currkey"), ("CURRDEC", "currdec")];
}