SAP MM 并非奇怪现象之MB5B报表里期初库存余额或者期末库存余额为负数?

SAP MM 并非奇怪现象之MB5B报表里期初库存余额或者期末库存余额为负数?笔者在做某个项目的进销存报表优化的的时候,发现了一个奇怪现象:MB5B查某个日期或某个期间的库存的时候,发现有负的库存余额!以物料为号1400005012为例,MB5B,

期初金额与期末金额都是负数?尼玛,这不科学啊!某一天的物料库存余额怎么能为负数呢?笔者很是好奇与不解。于是去上网查资料,发现有不少同行都有发现这个现象! 笔者还发现了某外国同行写的一篇BLOG, 看了这个BLOG,笔者茅塞大开。如下文字来自互联网该同行的BLOG, 与诸多同行朋友共勉。https://blogs.sap.com/2008/06/08/mb5b-offers-negative-results-when-executed-per-posting-date/Many users see negative results when they execute the transaction MB5B for a specific posting date, even when the negative stocks have not been allowed in the customizing.We need to consider that, at the time of the goods issue, the system only validates whether sufficient stock is available in the complete posting period, and not on a specific posting date.The stock and value information is kept in the tables on a period basis.The table entries relate to the complete posting period, and not to a specific posting date.If there is stock enough in a posting period, the system will indeed allow the posting, even if it does not make sense according to the specific date within the period.If we were posting the goods issue in a different period in which we do not have stock, the system would indeed send an error message, but if the postings occur in the same period with different dates, the system will not issue any error.For example, we can have the following situation:Stock in the period 04/20080 PCGoods movements in the period 05/2008:MovementPosting dateDate of entryQuantityGoods Receipt20.05.200820.05.200810 PCGoods Issue10.05.200821.05.200810 PCThe system allows this goods issue to be posted with a posting date before than the posting date in the goods receipt because on the period 05/2008 we have stock enough to save this goods movement. The system checks for stock in the whole period, and not to specific dates within the period.If negative stocks are not allowed in the system, this goods issue could not have been executed with posting date in the previous month (04/2008), because in this period we do not have stock. In this case the system sends the error message M7021 reporting a deficit of stock at Storage Location level in the previous period (M7 021 “Deficit of SL Unrestr. prev. + Quantity: Material, Plant, Storage Location”).In the stocks tables (MARC, MARD, MBEW) the system will never allow negative stocks if you make the settings for negative stocks NOT allowed in Customizing for Inventory Management by using transaction “OMJ1”.Reports like MB5B (Stock on posting date) can offer negative results when executed for dates previous to the goods receipt, but this is only a reporting issue: if the program is correctly executed for the complete period (month/year), it should never show negative values.For the example we were discussing before:MB5B executed with a selection date within the month like 10.05.2008:

Will indeed offer negative stocks:

However, when executed for the complete posting period with selection date from the 01.05.2008 to the 31.05.2008, the negative stocks are no longer listed:

So you will need to consider if it makes sense to post a material movement with a posting date lower than acquisition date.If you do the goods issue posting corresponding to the real goods issue date in your stock, this incidence will be avoided.

(0)

相关推荐

  • 库存商品出现负数,该怎样调整

    coco_leung2013.06.30浏览1636次财务税务分享举报 大家好!我公司如果没有取得进项发票(注:供应商不给开发票)未入账,但已经进行销售,这样库存就出现了负数,想请教大家一下,我该如何 ...

  • Bilingual Mathematics Teaching(5)Rational Numbers

    Words and Expressions 67 有理数 rational number 68 正数 positive number 69 负数 negative number 70 符号 sign ...

  • 新库存帐龄报表

    本文,我们将在未配置批次情况下,直接从SAP ERP 6.0取数进行库存账龄管理报表开发,而不是通过excel工作表上进行计算.作为前提,此案例将使用FIFO方法进行账龄管理.因此,我们先使用事务代码 ...

  • SAP MM 并非奇怪现象之MB5B报表查不到某一笔出库记录?

    物料号:1301002696 工厂代码:2160 MB5B,如下查询条件, 查询结果中,期初与期末库存数量都是0,期间的出库入库数量都是0.事实上该物料期初应该是有库存的.并且我用MB51相同时间段查 ...

  • SAP MM 供应商无英文名称,ME21N里却带出了英文名字?

    SAP MM 供应商无英文名称,ME21N里却带出了英文名字? 近日收到客户业务用户上报的一个问题说ME21N的时候,供应商101071的名字怎么是英文名字,实际上供应商主数据里是没有这个英文名字, ...

  • SAP MM VL09试图取消收货报错说某个HU负库存

    SAP MM VL09试图取消收货报错说某个HU负库存 内向交货单2501949770, 有启用了HUM,如上图. VL32N做收货过账, 过账后系统自动生成上架TO单,将其中的部分TO单据确认,其它 ...

  • SAP MM PO中的Delivery Date并非保存在EKPO表里

     SAPMM PO中的Delivery Date并非保存在EKPO表里 采购订单行项目中的deliverydate并非如同其它字段值一样是保存在采购订单行项目表EKPO里的, 而是从EKET表里抓 ...

  • SAP MM 进销存报表优化小记

    SAP MM 进销存报表优化小记 笔者刚刚加入SY项目,就接到了SY集团上海总部SAP运维部门负责人的工作分配,说是有一只进销存报表,需要做一个优化,可能是需要重新设计重新开发. 笔者研究了他们现行进 ...

  • SAP MM 采购报表中Delivery Date的显示

    SAP MM 采购报表中Delivery Date的显示 经反复研究与测试,得知ME2L/ME2N/ME2M等报表是无法很友好的显示Delivery Date. 以ME2L为例, Scope of l ...

  • SAP MM ME1M 报表的Layout之调整

    SAP MM ME1M 报表的Layout之调整 之所周知,SAP的很多报表都可以是ALV的格式输出,这个格式对于业务而言,界面友好,方便业务人员按照自己的需求去调整报表输出结果,也方便业务人员将输出 ...

  • SAP MM ME81N PO Value Analysis报表中Net Value 为负数是怎么回事?

    SAP MM ME81N PO Value Analysis报表中Net Value 为负数是怎么回事? ME81N 报表中,如下PO的net value为负数, 怎么回事? 经查这些PO都是退货采购 ...

  • SAP MM 按采购订单查询付款信息的报表?

    SAP MM 按采购订单查询付款信息的报表? 上午给P3项目采购部门用户做了一个采购相关的报表的培训.培训过程中,客户的采购部门经理提出了一个问题:有没有报表能查询到各个采购订单的付款情况,显示采购订 ...