Enterprise Resource Planning Blogs by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 
Qi_Liu
Product and Topic Expert
Product and Topic Expert
需求:需要开发报表拿到采购信息记录阶梯价格信息

更新: 自2208版本就可以通过上传excel的方式批量更新采购信息记录阶梯价格,详情可参考
https://blogs.sap.com/?p=1580624

解决方案:

API Reference | Purchasing Info Record | SAP API Business Hub

API Reference | Condition Record for Pricing in Purchasing | SAP API Business Hub

先调用 pricing conditions /A_PurInfoRecdPrcgCndn , 输入物料,供应商,采购组织,工厂,返回拿到"ConditionRecord": "string" 这个字段的值。

再调用pricing scales /A_PurgPrcgCndnRecordScale, 输入"ConditionRecord": "string" 这个字段的值 就可以拿到阶梯价格表信息了

逻辑解释:大家可能第一个想到用purchasing info record来找到阶梯价格信息,因为是从采购信息记录里维护和查看的。但实际上是condition record这个字段关联的。帮助大家理解,如下是后台表结构截屏:

 


 


 


 


 

其他阶梯价格相关信息参考:采购信息记录阶梯价格二三事 Scaled Condition in Purchasing Info Record – SAP S/4HANA Cloud 答客户问 Customer Q&A | SAP...