MAKT → sap::Makt
Material Descriptions
Key: MANDT + MATNR + SPRAS
| ABAP field | Google Merchant | Rust field | Rust type | DDIC | Data element | Description |
|---|---|---|---|---|---|---|
MANDT (key) | mandt | String | CLNT 3 | MANDT | Client | |
MATNR (key) | matnr | String | CHAR 18 | MATNR | Material Number | |
SPRAS (key) | title | spras | String | LANG 1 | SPRAS | Language Key |
MAKTX | title | maktx | String | CHAR 40 | MAKTX | Material Description |
pink attributes are machine data: converted by a fixed rule, never rewritten. See Google Merchant Center.
Generated Rust
// abap_to_rust::sap::Makt
/// `MAKT`: Material Descriptions
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct Makt {
/// `MANDT` CLNT 3 (key): Client
#[serde(rename = "MANDT")]
pub mandt: String,
/// `MATNR` CHAR 18 (key): Material Number
#[serde(rename = "MATNR")]
pub matnr: String,
/// `SPRAS` LANG 1 (key): Language Key
#[serde(rename = "SPRAS")]
pub spras: String,
/// `MAKTX` CHAR 40: Material Description
#[serde(rename = "MAKTX", default)]
pub maktx: String,
}
impl Makt {
pub const TABNAME: &'static str = "MAKT";
pub const KEY: &'static [&'static str] = &["MANDT", "MATNR", "SPRAS"];
/// (ABAP name, Rust name), in DDIC position order.
pub const FIELDS: &'static [(&'static str, &'static str)] = &[("MANDT", "mandt"), ("MATNR", "matnr"), ("SPRAS", "spras"), ("MAKTX", "maktx")];
}