Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

T179T → sap::T179t

Materials: Product Hierarchies: Texts

Key: MANDT + SPRAS + PRODH

ABAP fieldGoogle MerchantRust fieldRust typeDDICData elementDescription
MANDT (key)mandtStringCLNT 3MANDTClient
SPRAS (key)sprasStringLANG 1SPRASLanguage Key
PRODH (key)product_typeprodhStringCHAR 18PRODH_DProduct Hierarchy
VTEXTproduct_typevtextStringCHAR 40BEZEI40Description

pink attributes are machine data: converted by a fixed rule, never rewritten. See Google Merchant Center.

Generated Rust

// abap_to_rust::sap::T179t
/// `T179T`: Materials: Product Hierarchies: Texts
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct T179t {
    /// `MANDT` CLNT 3 (key): Client
    #[serde(rename = "MANDT")]
    pub mandt: String,
    /// `SPRAS` LANG 1 (key): Language Key
    #[serde(rename = "SPRAS")]
    pub spras: String,
    /// `PRODH` CHAR 18 (key): Product Hierarchy
    #[serde(rename = "PRODH")]
    pub prodh: String,
    /// `VTEXT` CHAR 40: Description
    #[serde(rename = "VTEXT", default)]
    pub vtext: String,
}

impl T179t {
    pub const TABNAME: &'static str = "T179T";
    pub const KEY: &'static [&'static str] = &["MANDT", "SPRAS", "PRODH"];
    /// (ABAP name, Rust name), in DDIC position order.
    pub const FIELDS: &'static [(&'static str, &'static str)] = &[("MANDT", "mandt"), ("SPRAS", "spras"), ("PRODH", "prodh"), ("VTEXT", "vtext")];
}