{"audience":"Product development and design teams, technical management, master data and costing teams.","authorization_objects":[{"note":"Material create authorization by material type","object":"M_MATE_MAR"},{"note":"Material authorization by plant","object":"M_MATE_WRK"},{"note":"Classification maintenance authorization","object":"C_KLAH_BKL"},{"note":"BOM create authorization by plant","object":"C_STUE_WRK"}],"components":[],"countries":[],"effort_days_max":16,"effort_days_min":12,"effort_size":"L","faq":[{"a":"The app shows both values side by side and warns if the difference exceeds the configured percentage. This catches a wrong yarn count or density before the material is created; the user corrects the values and recalculates.","q":"What if the calculated weight differs from the weight entered?"},{"a":"Yes. If a configurable material is used instead of separate materials for colour and design variants, the app writes the characteristic values to fit the configuration profile. The method is chosen during setup.","q":"Can it be used with variant configuration?"},{"a":"Yes. BAPI_MATERIAL_SAVEDATA and the classification and BOM functions are also used on S/4HANA, where material numbers of up to 40 characters are supported. The front end is built as a Fiori app.","q":"Does it work on S/4HANA?"}],"features":[{"code":"log","label":"Line-by-line result and error log","note":"The results for material, classification and BOM appear in one list."},{"code":"drilldown","label":"Double-click drill-down to the document","note":"The material and BOM display screens open from the created quality."}],"functions":[{"name":"BAPI_MATERIAL_SAVEDATA","role":"Creates the material, plant view and alternative units"},{"name":"BAPI_OBJCL_CREATE","role":"Writes the construction characteristics to the material class"},{"name":"CSAP_MAT_BOM_CREATE","role":"Creates the yarn BOM with the calculated consumption"},{"name":"SSF_FUNCTION_MODULE_NAME","role":"Calls the technical analysis sheet form"}],"gap":"In the standard system the material is created view by view in MM01, the classification on a separate screen and the yarn BOM in CS01; yarn consumption is usually calculated in Excel and the technical analysis sheet is kept outside SAP. This leads to inconsistent master data between qualities and wrong costs. The app calculates consumption from the construction and creates all objects together.","id":"pp-textile-article-master","industries":["textile"],"input_columns":[{"derived":false,"label":"Quality code","required":true,"rule":"","target_field":"MATNR","target_table":"MARA"},{"derived":false,"label":"Description","required":true,"rule":"","target_field":"MAKTX","target_table":"MAKT"},{"derived":false,"label":"Base unit","required":true,"rule":"","target_field":"MEINS","target_table":"MARA"},{"derived":false,"label":"Width (cm)","required":true,"rule":"","target_field":"BREIT","target_table":"MARA"},{"derived":false,"label":"Weight (g/m²)","required":true,"rule":"","target_field":"ATFLV","target_table":"AUSP"},{"derived":false,"label":"Warp density (ends/cm)","required":false,"rule":"","target_field":"ATFLV","target_table":"AUSP"},{"derived":false,"label":"Weft density (picks/cm)","required":false,"rule":"","target_field":"ATFLV","target_table":"AUSP"},{"derived":false,"label":"Yarn","required":true,"rule":"","target_field":"IDNRK","target_table":"STPO"},{"derived":true,"label":"Use","required":false,"rule":"Warp, weft or pile","target_field":null,"target_table":null},{"derived":true,"label":"Yarn count","required":false,"rule":"Nm, Ne or dtex; converted to Nm for the calculation","target_field":null,"target_table":null},{"derived":false,"label":"Design number","required":false,"rule":"","target_field":"ATWRT","target_table":"AUSP"},{"derived":false,"label":"Colour","required":false,"rule":"","target_field":"ATWRT","target_table":"AUSP"}],"kind":"program","language":"en","lastmod":"2026-11-17","logic":"1. Optionally the user picks a reference quality; values are copied from MARA, MAKT, AUSP and the BOM (STKO/STPO).\n2. The construction is entered: width (cm), weight (g/m²), warp and weft density (threads/cm), for each yarn its use (warp/weft/pile), yarn count (Nm, Ne or dtex), take-up, design number and colour variants. The characteristics come from the material class definition (KLAH, CABN).\n3. Yarn consumption is calculated: for warp, yarn length = density × width (cm) × (1 + take-up) metres per metre of fabric; for weft = weft density × 100 × width (m) × (1 + selvedge allowance). Weight (kg/m) = length / Nm / 1000; Ne and dtex counts are converted to Nm first.\n4. Save: BAPI_MATERIAL_SAVEDATA creates the material (base unit M, alternative units M2 and KG in MARM) and the plant view (MARC); BAPI_OBJCL_CREATE writes the construction characteristics to the material class (class type 001, AUSP); CSAP_MAT_BOM_CREATE creates the yarn BOM with the calculated consumption.\n5. Colour variants are kept either as separate materials (quality + colour suffix) or with variant configuration, according to the method chosen during setup.\n6. The technical analysis sheet (construction, yarns, consumption, weight check) is printed as a Smart Form or stored as PDF.","module":"PP","object_type":"fiori_app","output_columns":[{"calculated":false,"formula":"","label":"Quality","source_field":"MATNR","source_table":"MARA"},{"calculated":false,"formula":"","label":"Plant","source_field":"WERKS","source_table":"MARC"},{"calculated":false,"formula":"","label":"Yarn","source_field":"IDNRK","source_table":"STPO"},{"calculated":true,"formula":"Yarn length (m/m) / Nm / 1000","label":"Calculated consumption (kg/m)","source_field":null,"source_table":null},{"calculated":true,"formula":"Σ yarn consumption (kg/m) × 1000 / width (m)","label":"Calculated weight (g/m²)","source_field":null,"source_table":null},{"calculated":true,"formula":"Created, warning or error","label":"Status","source_field":null,"source_table":null},{"calculated":true,"formula":"Check or function return message","label":"Message","source_field":null,"source_table":null}],"parameters":[{"example":"1000","kind":"parameter","label":"Plant","name":"P_WERKS","ref_field":"MARC-WERKS","required":true},{"example":"FERT","kind":"parameter","label":"Material type","name":"P_MTART","ref_field":"MARA-MTART","required":true},{"example":"TEKSTIL_YAPI","kind":"parameter","label":"Construction class","name":"P_CLASS","ref_field":"KLAH-CLASS","required":true},{"example":"KMS-24017","kind":"parameter","label":"Reference quality (for copying)","name":"P_REFMAT","ref_field":"MARA-MATNR","required":false},{"example":"X","kind":"checkbox","label":"Print the technical analysis sheet after saving","name":"P_PRINT","ref_field":"","required":false}],"part_of":[],"performance":"Read the characteristic definitions (CABN) and the class structure once when the screen opens. On save, run the material, classification and BOM calls in the same logical unit of work; if one fails, save none of them.","quote_url":"https://nekuhub.com/en/request-a-quote/?report=pp-textile-article-master","related":["mm-material-master-upload","mm-materials-missing-views-by-plant","pp-bom-component-mass-change-upload"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Creates the material view by view; no construction data, consumption calculation or technical analysis sheet.","tcode":"MM01"},{"note":"Creates the yarn BOM manually; consumption must be calculated separately in Excel.","tcode":"CS01"}],"summary":"A custom app where width, weight, warp and weft density, yarns, design and colour are entered on one screen when a new fabric or carpet quality is opened. The material, its alternative units, the classification and a BOM with yarn consumption calculated from the construction are created in one save; the technical analysis sheet is printed from the same data.","tables":[{"access":"write","join_on":"","role":"New quality: material type, base unit, width","table":"MARA","variant":"both"},{"access":"write","join_on":"MAKT-MATNR = MARA-MATNR","role":"Quality description","table":"MAKT","variant":"both"},{"access":"write","join_on":"MARC-MATNR = MARA-MATNR","role":"Plant view","table":"MARC","variant":"both"},{"access":"write","join_on":"MARM-MATNR = MARA-MATNR","role":"M2 and KG alternative unit factors","table":"MARM","variant":"both"},{"access":"read","join_on":"KLAH-KLART = '001'","role":"Material class holding the quality construction","table":"KLAH","variant":"both"},{"access":"read","join_on":"","role":"Definition of the construction characteristics (width, weight, density, design, colour)","table":"CABN","variant":"both"},{"access":"write","join_on":"AUSP-OBJEK = MARA-MATNR AND AUSP-ATINN = CABN-ATINN","role":"Characteristic values of the quality","table":"AUSP","variant":"both"},{"access":"write","join_on":"","role":"Yarn BOM header","table":"STKO","variant":"both"},{"access":"write","join_on":"STPO-STLNR = STKO-STLNR","role":"Yarn items and calculated consumption","table":"STPO","variant":"both"}],"title":"Textile Article Master Data Setup Screen and Technical Analysis Sheet (Yarn, Fabric, Design, Colour)","url":"https://nekuhub.com/en/programs/textile-article-master-data-and-technical-analysis-sheet/","vendor_id":"nekudos"}