Statistic flags are not updated in SRM PO

症状:

  • You post a confirmation (backend Goods receipt) for SRM Purchase Orders, the releated document tab statistic view is not updated.
  • You post an invoice (backend invoice) for SRM Purchase Orders, the releated document tab statistic view is not updated.
  • The final confirmation flag or final invoice flag is not updated in SRM Purchase Orders in the releated document tab statistic view.
  • You also checked in transaction BBP_PD the fields below are not updated.
  • FINAL_INV
    FINAL_ENTRY
    VAL_CF_E                             
    VAL_CF                                   
    VAL_IV_E                                 
    VAL_IV                                    
    QUAN_CF_E                              
    QUAN_CF                                 
    QUAN_IV_E                               
    QUAN_IV 

     

    举例:

    在PO的Statistics标签中, Final Entry Flag被打上勾.

    image

    但在BBP_PD中,该标记为空

    image

     

    标准逻辑:

    对于extended classic POs, 如果在ECC端进行了全部收货即full confirmation,则在ECC PO中打上Final Entry标记. 在SRM端,如果从BBP_POC / 'Process purchase order'连接打开PO, 该Final Entry标记会从ECC端读取.

    解决方法:

    需要做以下配置使得ECC PO端的标记更新到SRM BBP_PD的PO端.

    1. 确保系统中已打入SAP Note 1343257. (550 SAPKIBKT16,   700 SAPKIBKV04)

    2. 在ECC系统中,输入FIBF, 在菜单中选择

    image

    3. 新增栏位"SRMNTY" and set the flag active (table TBE11).

    以上步骤的目的是为了每次在ECC系统中有了follow-on document后, 则在SRM中,表BBP_DOCUMENT_TAB里面会创建order type = AV的记录.

    4. 运行后台作业CLEAN_REQREQ_UP以处理该'AV'值.该步骤将ECC中的statistical values与SRM保持更新.(注意是否在ECC SMQ1中有FM BBP_NOTIFY_FOLLOWON_INBOUND锁). 运行完该作业后,BBP_PD中就会打上标记了.

    5.1 对于已经产生问题的PO, 在SRM使用Report BBP_PO_INIT_NOTIFY_FOLLOWON

    image

    image 

    5.2 该程序使得表BBP_DOCUMENT_TAB中会创建order type = AV的记录,之后再运行CLEAN_REQREQ_UP来处理AV值得.

    image

     

    案例:

    以上方法继续不给力, 在Report LBBP_PD_POF14, Form UPDATE_FINAL_FLAGS设断点.

    在CALL FUNCTION 'BBP_PD_PO_UPDATE' 发现有出错信息.

    image

    打开lt_messages, 发现错误信息来自BADI DOC_CHECK_BADI, 因此statistical information和final entry flags都未更新.

    image

     

    Note:

    1524582 - Follow on document data and flags are not updated in SRM Local PO related document tab statistic view.

    1140861 - FAQ: Final delivery

    posted on 2011-01-19 04:20  懒芒果  阅读(759)  评论(0编辑  收藏  举报