如何记录COGI中删除的记录

当我们在使用Backflush的时候,如果在做confirmation时,扣帐不成功,则可以在TCODE:COGI中继续做POST,但是有些用户怕麻烦,直接在COGI中删除需要POST的资料,从而造成成本不对,可在46C中,又没有任何历史记录可以删除,那我们应该如何处理呢?
 
 

Summary

Symptom

Automatic goods movements are not posted.
There is no material document or a planned change record in tables AFRP1, AFRP2 or AFFW or an error record in table AFFW.
Error records for goods movements deleted manually cannot be identified. You can delete them with transaction COGI, for example.
However, error records can also be deleted by canceling the responsible confirmation.

The system should check whether AFFW records are deleted by processing in the background job without corresponding material documents being posted.

Other terms

COGI, CO13, CO1P
CORUPROC, CORUPROZ, CORUAFWP

Reason and Prerequisites

The disappearance of AFFW records cannot be explained.

Solution

Make a temporary modification to the goods movements update from the confirmation. You should use the modification to localize the cause of the error. After the removal of the cause, you have to deactivate logging again since it might cause performance to deteriorate.
Logging of all AFFW records which are deleted and for which no material document is created.

Note:

  1. 1. The correction instructions apply only for releases up to and including 4.6C.
    For Releases 4.70 and higher, the correction instructions are contained in the standard source code; you only need to activate logging using the modification (see below).

    In addition to the changes described in the correction instructions, carry out the following enhancements:
    1. a) Additional import parameter for function module CO_FW_AFFW_POST

                       Release 4.6:

                       Parameter name  Type  Ref.type  Optional  Pass value
I_CALLED        TYPE  CHAR01    X        X

                       Release 4.5:

                       Parameter name   Ref. type  Optional
I_CALLED         CHAR01      X

    1. b) Use transaction SE11 to create new database table AFFWPRO.

                       Attributes

                       Description : Log of deleted AFFW entries
Development class: CORU
Delivery class: L

                       Fields

                       Fields  Key  Init  Field type  Ref. table   Ref. field
MANDT    X  X    MANDT
AUFNR    X  X    AUFNR
WEBLNR  X   X    WEBLNR
WEBLPOS  X  X    CIM_COUNT
UPDDA    X  X    DATUM
UPDZT    X  X    UZEIT
MATNR            MATNR
WERKS            WERKS_D
LGORT            LGORT_D
CHARG            CHARG_D
BWART            BWART
ERFMG            ERFMG         AFFWPRO          ERFME
ERFME            ERFME
RUECK            CO_RUECK
RMZHL            CIM_COUNT
ERSDA            ERSDA
ERZET            ERZET
USNAM            USNAM
TCODE            TCODE
UPDIND            VBKZ
CALLED            CHAR01

                       Technical settings

                       Data class            APPL1
Size category          1
Buffering not allowed  X

  1. 2. Logging can only be activated by a modification. To do this, you must (up to and including Release 4.6C) first implement the changes contained in the correction instructions. After this, delete the following statements in function module CO_FW_AFFW_POST:
    1. a) Activating logging for deleted AFFW records

                         clear prot_del_is_active.

    1. b) Activating logging for changed AFFW records

                         clear prot_upd_is_active.

 

System behavior

Table AFFWPRO lists the following AFFW records which can be differentiated by the 'update indicator':

  • UPDIND = D: existing AFFW record was deleted
  • UPDIND = U: existing AFFW record was updated
 
  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
SAP COGI操作手册是指一本详细记录并指导用户如何操作SAP COGI(Controlling Goods Issues)模块的文档。该模块是SAP系统的一个重要模块之一,用于跟踪和管理物料的发货过程。 在SAP COGI操作手册,首先会介绍COGI模块的基本概念和功能。用户将了解到该模块如何通过与其他SAP模块的集成来实现对发货过程的全面控制和监控。接着,手册会详细解释用户如何进行COGI模块的设置和配置,以适应特定的业务需求。这包括定义发货策略、维护发货文档和设置发货工作流程等。 然后,操作手册将介绍用户如何在实际操作使用COGI模块。这包括如何创建发货单、处理物料发货、验证运输和运费等。手册将详细说明每个操作步骤,包括选项和参数的选择,以确保用户能够正确地执行任务。此外,手册还会提供常见问题解答和故障排除指南,以帮助用户解决在操作过程可能遇到的问题。 最后,SAP COGI操作手册还可能包含一些额外的增强功能和自定义选项的介绍,以帮助用户根据实际需求对模块进行进一步扩展和定制。 总之,SAP COGI操作手册是一本为用户提供详细指导和帮助的文档,旨在使他们能够有效地使用SAP COGI模块来管理和控制物料的发货过程。通过遵循手册的操作步骤和指导,用户可以高效地处理发货事务,并确保系统的发货信息准确、一致。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值