其他分享
首页 > 其他分享> > 【ABAP】--890(C+)结算分录后无法再进行更改

【ABAP】--890(C+)结算分录后无法再进行更改

作者:互联网

业务背景:

财务对物料做了成本估算,对物料使用BAPI--BAPI_MATERIAL_SAVEDATA改变物料的财务视图和成本视图出现这样的报错;

业务现象:

问题查找:

当我DEBUG的时候,发现问题如下位置

起初:我一直以为是财务做的成本估算的方式有问题,因为DEBUG的时候,看到的是前期移动平均价没有数据,但是正常的都是有数据的,导致数据不对,我以为是财务对S价的物料做了V价的成本计算的方式,但是财务顾问一直说成本估算的方式是正确的(因为这块业务我这个小白技术也懂的不多)

方法:我直接联系了SAP原厂,让原厂帮我看问题点

解决方案:打了一个Note3020075,完美解决

这个NOTE中有一段话,截图给大家看看

Value on the basis of the moving average price (prior period)- MBEW-VMSAV - is not determined correctly in the material master if the previous month is simultaneously the last month of the previous year. Example: Current period = January, prior period = December This may lead to unexpected errors when updating valuation data in the material master (e.g. using BAPI_MATERIAL_SAVEDATA). For example, the system may issue the error C+ 890 "Changes are no longer possible following a closing entry" when updating the valuation price based on commercial law ( MBEW-BWPRH), which is incorrect.

大意是:前期移动平均价不正确(但是原因没有说明),跨年1月和12月,就可能出现这样的问题

后来按原厂的话,打了NOTE,完美处理了这个问题

 

 

 

标签:890,物料,BAPI,分录,--,period,视图,原厂,财务
来源: https://blog.csdn.net/weixin_42400703/article/details/122713549