SAP修改科目为未清项管理和行项目显示

来源:互联网 发布:数据库独立性最高的是 编辑:程序博客网 时间:2024/06/07 06:15

有一个资产负债表的科目需要改成未清项管理,但是保存时报错,"更改未清项管理是不可能的,数据有错误",然后我根据sap提示的消息把科目的余额转到到别的科目上,使这个科目余额为零,但是我再去修改的时候,它又报别一个message:FH190"科目余额 = 0 但未清项目存在于科目重",于是我去清这个科目,但是这个科目之前就是没有未清项管理,根据没办法清,有什么其它的办法么?​

1.FS00冻结需要修改的科目。

2.SE38打开标准程序是RFSEPA02 。

3.Copy ZFSEPA02的代码生成新的程序并做两处修改。    

   1.第6行的Reprot后面的程序名称要改成ZFsepa02。     

   2.第113~128行屏蔽掉。

4.程序执行结束后,科目已经自动打勾了。

5.科目解冻。

We can use transaction code RFSEPA01 to Switch On Line Item Display by Changing Master Record

When the setting for a G/L account is to be later changed so that the line item display is required even though the G/L account has already been posted some transaction. After the change is already made and the user finds that the total of the items does not correspond to the account balance in the line item display. The subsequent changing of the G/L account master record does not change the documents already posted. Documents that were posted before the master record was changed contain the previous setting (for example, no indicator for line item management). The following are the solution of this case: Two possible solutions regarding this problem are described below. SAP recommends the first solution because only standard means are used. The second solution requires the usage of a correction report and is therefore a consulting solution.

  1. Standard solution: a) Create a new account and make the settings according to your requirements. In particular, set the line item display indicator (SKB1-XKRES). b) Transfer the items from the old account to the new account. You can only do this for accounts that cannot be automatically posted to. As an alternative, you can also transfer the balance completely. c) Lock the old account for postings. 

     2. Consulting solution a) Manipulate all documents that were posted in the past. You can use correction program RFSEPA01 (contained in the standard system as of Release 3.0D) for this. Read the documentation carefully. b) For Releases < 3.0D a corresponding correction program is available on SAPSERV3 under /general/R3server/abap/note.0031875. For the import in your system, read Note 13719. c) Block the relevant account for posting in the company code then Run program ZFSEPA01. Thereafter unblock the account.  ZFSEPA01 : Subsequent activation of line item display​

*-------------------------------------------------------------------------​

Line Item Display-行项目显示

在SAP的科目主数据中有个行项目显示的功能,进行行项目显示的前提是该类帐户应以行项目显示方式进行管理。启用行项目显示后,系统会将凭证的行项目放在一个索引表中,在查询时不但可以查询到科目的余额,而且可以查询到科目的行项目,同时也会占用一些空间。

需要说明的是,如果未启用行项目的科目,也可以通过BSEG及相关的表查询凭证明细,但是效率没有通过行项目显示高。

对于原来未启用行项目的科目,可以使用程序RFSEPA01激活行项目显示。

对于客户或供应商帐户来讲,是预先设定的,对于总帐帐户来讲,它必须在帐户的主记录中设定。


1 0
原创粉丝点击