SAP MM模块详解:概念、功能与集成

需积分: 10 6 下载量 72 浏览量 更新于2024-07-26 收藏 3.11MB PPT 举报
SAP-MM-Overview是一份全面指南,专为理解SAP R/3系统的物料管理模块(Materials Management, MM)提供深入解析。该手册以清晰的结构和详尽的内容,帮助用户掌握物料管理的核心概念、功能及其与其他模块的协作。 在第一章,"Introduction to Materials Management"中,用户将学习到物料管理模块的基础概念,它在企业运营中的核心作用,以及如何通过有效的资源管理来优化供应链流程。章节内容可能涵盖物料定义、需求计划和库存控制等基本原理。 第二章,"MM Organizational Structure and Master Data",聚焦于物料管理中的组织架构和基础数据设置,包括供应商、客户、产品和服务等关键数据的维护,以及如何确保这些数据的一致性和准确性。 第三章和第四章深入探讨" Purchasing, basics"和"Purchasing, more features",讲解采购过程中的订单处理、询价、供应商关系管理和合同管理等内容,展示了物料管理在采购活动中的关键作用。 第五章至第七章分别涉及"MRP in purchasing"、"Inventory Management"和"Account Determination for Automatic Postings in MM",这些章节详细介绍了制造资源计划(MRP)的应用、库存水平的监控与调整,以及如何自动化账务处理,以提高效率和准确性。 第八章和第九章进一步扩展到"Introduction to Materials Management",可能从不同的角度对物料管理进行回顾和深化,强调其在整个物流链中的位置,包括资源的长期和短期管理、生产和销售的物料和服务流程,以及分销和订单处理的各个环节。 在第十章至第十四章,"Vendor", "Production", "Sales", "Purchase Orders", "Procurement", "Distributions", "Products", "Services", "Sales Orders" 和 "Warehouse",分别围绕供应链的不同环节展开,探讨与供应商、生产、销售、采购订单、库存控制以及仓库管理相关的具体操作策略。 最后,"Customer", "Capital", "Investment", "Expenditure"等内容可能会涉及客户关系管理、资金管理和资本投资决策,这些都是物料管理在企业财务和战略规划中的重要作用体现。 通过阅读SAP-MM-Overview,用户不仅能掌握物料管理的基本理论,还能了解到如何实际应用这些功能,提升企业的运营效率和决策质量。这份文档为SAP R/3系统的初学者和专业人员提供了不可或缺的参考资料。

请以最详细的方式解释这段代码with a01 as( select sm_id, isname, case when isname in ('冰箱', '冷柜') then '制冷' when isname = '商空' then '楼宇' when isname = '家空' then '空调' else isname end as cyx, factory_code, mtname, curstatus, model_code, model_name, start_time, --'保养起始时间' expire_time, --'保养到期时间' substring(start_time, 1, 7) byqsny, substring(expire_time, 1, 7) byjssj, case when stype = '2' then '二保' when stype = '3' then '三保' else stype end as bylx, case when mm_type = '2' then '二保' when mm_type = '3' then '三保' when mm_type = '4' then '三保带二保' else mm_type end as mmtype, --实际保养类型 upper_time, --上次保养时间 mm_time, --实际保养时间 scustcode, -- 实供应商编码 scustname, --实供应商名称 mould_status, --模具维保状态 mm_status, --实际是否保养 smould_status --模具实际维保状态 from dwd_mm_staymaintain_all a where by_status <> '无需保养' and length(factory_code) = 4 and curstatus not in ('报废中', '已报废', '冻结数据', '垃圾数据') and isname in ('冰箱', '冷柜', '家空', '商空', '洗涤', '厨电', '热水器') and substring(expire_time, 1, 10) <= from_unixtime(unix_timestamp(), 'yyyy-MM-dd') and expire_time is not null and expire_time <> '' ), b01 as( select cyx, byjssj, count(sm_id) by_ying from a01 group by cyx, byjssj ), b02 as( select cyx, byjssj, count(sm_id) by_shi from a01 where mm_status = '已保养' group by cyx, byjssj ),c01 as( select from_unixtime(unix_timestamp(), 'yyyy-MM') months, t1.cyx industry, t1.byjssj byjsyf, cast(t1.by_ying as string) by_ying, cast(t2.by_shi as string) by_shi, cast(t2.by_shi/t1.by_ying as decimal(8,5)) bywcl from b01 t1 left join b02 t2 on t1.cyx = t2.cyx and t1.byjssj = t2.byjssj) insert overwrite table dh_yf.tt_mould_asset_maintenance_overview select months, industry, byjsyf, by_ying, by_shi, cast(bywcl as string) bywcl, from_unixtime(unix_timestamp(), 'yyyy-MM-dd') etl_date, '%' unit from c01

2023-05-30 上传