FI--对客户又是供应商的客户清账处理

本文介绍了当客户同时也是供应商时的对账流程。首先需在相应的供应商和客户主记录中输入对方编号,并设置清账选项。然后通过创建发票进行测试,并使用特定事务代码查看余额及处理未清项。

Fist Step

The customer number must be entered in the corresponding vendor master record
a. FK02->General Data -> Control
In the 'Account control' tab, in the 'Customer' field, enter the customer number

b. In the Company Code Data --> Payment Transaction Accounting, select the checkbox - 'Clrg with Cust'(LFB1-XVERR)

Second Step

The vendor number must be entered in the corresponding customer master record
a. FD02->General Data -> Control
In the 'Account control' tab, in the 'Vendor' field, enter the vendor number

b. In the Company Code Data --> Payment Transaction Accounting, select the checkbox - 'Clearing with vendor' (KNB1-XVERR)

Third Step

For testing, create a vendor invoice through FB60 and customer invoice through FB70. Note that customer and vendor are properly selected.

Fuorth Step

To see the vendor/customer balance both together use FBL1N/FBL5N, when you execute FBL1N select customer check box, when you execute FBL5N select vendor check box along with open item/cleared item check box

Fifth Step

For clearing the open items. Use the TCode F-32. On clicking the 'Process open Items', the vendor invoice (KR) and customer invoice (DR) are shown automatically. It will generate the FI document with proper entry.

Note: Partial / Residual payment between customer and vendor is also possible

<!-- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"> <rdf:Description rdf:about="https://wiki.sdn.sap.com/wiki/display/ERPFI/Clearing+of+accounts+-+If+Customer+is+vendor+or+Vice+Versa" dc:identifier="https://wiki.sdn.sap.com/wiki/display/ERPFI/Clearing+of+accounts+-+If+Customer+is+vendor+or+Vice+Versa" dc:title="Clearing of accounts - If Customer is vendor or Vice Versa" trackback:ping="https://wiki.sdn.sap.com/wiki/rpc/trackback/53343"/> </rdf:RDF> -->
在SAP系统中,应收账款清账显示时若需包含发票参考信息,可以通过以下方式进行操作和配置: 1. **使用事务代码** `FB03` 或 `FBL5N` 来查看清账凭证及其相关发票信息。`FBL5N` 是客户行项目显示的事务代码,可以展示客户主数据下的所有未清项和已清项,并且在每一行项目中可以看到发票参考字段(Reference Document Number),这通常对应原始发票的凭证编号[^1]。 2. **在清账过程中保留发票参考信息**。当执行清账操作时(例如使用事务代码 `F-28` 进行收付款清账),系统会自动将付款凭证与原始发票凭证进行关联。这种关联关系会在清账完成后保留在系统中,并且可以在清账凭证的行项目中查看到原始发票的参考信息。 3. **自定义字段显示配置**。如果希望在清账显示时默认显示发票参考信息,可以通过以下路径进行字段配置: - 使用事务代码 `O7720` 或 `O7721` 来维护字段选择(Field Selection); -客户行项目显示(`FBL5N`)的视图中,确保字段“参考凭证号”(Reference Document Number)被设置为显示字段; - 同时,在清账凭证的显示视图中启用该字段,以便在清账记录中直接看到对应的发票参考信息[^1]。 4. **通过ABAP查询或报表开发**。若标准事务代码无法满足显示需求,可考虑开发自定义报表或使用 `SE16N` 查询 `BSEG` 表(会计凭证行项目表)和 `BKPF` 表(会计凭证抬头表),结合 `RFBLG` 表(清账凭证关联表)来获取清账与原始发票之间的对应关系。特别是字段 `BSEG-AUGBL`(清账凭证编号)和 `BSEG-AUGDT`(清账日期)可用于关联清账信息,而 `BSEG-XBLNR`(参考凭证号)则可用于获取原始发票编号[^2]。 5. **外币清账中的发票参考处理**。在外币清账过程中,系统会记录清账日期、汇率及原始发票的外币金额和本币金额。通过查看清账凭证的行项目,可以追溯原始发票的汇率、外币金额及清账时的汇率变动情况。这些信息通常也包含在 `BSEG` 表中,便于后续分析和报表输出。 6. **增强标准报表或使用SAP GUI脚本**。如果需要将发票参考信息作为标准报表的一部分,可以使用 SAP 增强功能(如用户出口或BAdI)来扩展标准报表的字段输出。此外,也可以使用 SAP GUI 脚本或自动化工具(如 Winshuttle、SAP Automation Toolkit)来提取清账与发票参考信息,并生成自定义报表或导出至 Excel 进行进一步处理。 ### 示例:查询清账凭证与发票参考信息的SQL语句 ```sql SELECT bseg.belnr AS 清账凭证号, bseg.budat AS 清账日期, bseg.xblnr AS 发票参考号, bseg.waers AS 原始币种, bseg.dmbtr AS 原始本币金额, bseg.wrbtr AS 原始外币金额 FROM bseg WHERE bseg.shkzg = 'H' AND -- 贷方科目(应收账款) bseg.augbl IS NOT NULL; --清账项目 ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值