会计凭证检查/替代/合并 OB28/OBBH/OBCY

本文介绍SAP系统中财务会计凭证的处理流程,包括凭证的检查与替代、合并操作等,并提供了具体的事务代码和表视图。同时,还详细说明了如何通过IDOC进行公司间的发票自动凭证处理。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1 , 检查 及 替代

IMG: 财务会计 >> 凭证 >> 凭证抬头 >> 会计凭证中的确认 [替代]


TCODE          -- Table  -  View

OB28 - 检查    -- T001D  -> V_T001D

OBBH - 替代    -- T001Q  -> V_T001Q


2 , 会计凭证合并

(2.1) 合并

TCODE : OBCY   (表 :TTYPS)

IMG 示例 : 财务会计 >> 总账会计 >> 定期处理 >> 集成 >> 物料管理 >> 为物料管理执行凭证汇总

(2.2) 公司间发票自动凭证 - IDOC

VF02 RELEASE - FI EDI 功能  

SMOD : FEDI0001      FI 中 EDI 的功能模块出口 (IDOC)
NACE  : V3 / RDXX /
VF03-HEAD-OUTPUT....
TCODE : 
OBCB
OBCD

OBCE


选中 IDOC号码,显示,双击错误消息,弹出消息中有配置点链接,可以直接配置.

(2.2.1 ) 凭证流显示 : 

(1) 双击可以显示凭证

MV75FF01
FM : fi_document_read

INCLUDE : LV05CF01 

//位于 FM :    CONVERT_TO_LOCAL_CURRENCY  之后 , 
*    vbfa_tab-matnr(4)   = vbrk-bukrs.

    vbfa_tab-matnr(4)   = xdoc_num-bukrs.


(2) 增加IDOC 产生凭证的显示

FEDI0001 FI 中 EDI 的功能模块出口

EXIT_SAPLIEDI_102

修改相关参考字段 (IDOC中) , 示例 :

data: lc_vbeln like likp-vbeln,
      lc_xblnr like bkpf-xblnr.
clear: lc_xblnr.
read table document_data with key fnam = 'BKPF-XBLNR'.
if sy-subrc eq 0.
  lc_xblnr = document_data-fval.
endif.
loop at document_data.
  if document_data-fnam = 'BKPF-AWTYP' .
    document_data-fval = 'VBRK'.
    modify document_data transporting fval.
  elseif   document_data-fnam = 'BKPF-AWKEY' .
    document_data-fval = lc_xblnr.
    modify document_data transporting fval.
  elseif document_data-fnam = 'BKPF-XBLNR'.
    clear: lc_vbeln.
    select single vgbel into lc_vbeln
    from vbrp
    where vbeln = document_data-fval.
    if not lc_vbeln is initial.
      document_data-fval = lc_vbeln.
      modify document_data transporting fval.
    endif.
  endif.
endloop.

你还在狡辩,再给你完整SAP note 1854763: Symptom Material number or Quantity is not updated in FI document because you have set up summarization procedure from the documents coming from MM module. Environment Financial Accounting (FI) SAP ERP SAP ERP Central Component SAP enhancement package for SAP ERP SAP enhancement package for SAP ERP, version for SAP HANA SAP R/3 SAP R/3 Enterprise SAP S/4HANA Finance SAP S/4HANA Reproducing the Issue Create MM document BSEG-MATNR or BSEG-MENGE in accounting document is not updated Cause Please have a look at the reference procedure of the affected FI document (-> BKPF-AWTYP), and have a look at transaction OBCY, whether a summarization is defined in FI for this reference procedure (AWTYP). If field BSEG-MATNR, BSEG-MENGE etc. is contained in transaction OBCY for this reference procedure (AWTYP), the content in field BSEG-MATNR is deleted in FI for summarization reasons. Please refer to note 36353 which has very good information about summarisation. If you have summarization activated, the contents of the field are deleted in every document for the respective reference procedure and the document line items are summarized. Resolution Please check table TTYPV (in transaction OBCY): if you want to get the field material, quantity etc. in the accounting document, this field must NOT be in the table TTYPV, because FI is deleting all fields of TTYPV to make the summarization. First please remove the material field from the table TTYPV so that it can pass from MM to FI. For the historical data, please first add a document change rule to make the field BSEG-MATNR, BSEG-MENGE etc. modifiable by path SPRO -> FI ->Global Settings -> Document -> Line item -> Controls -> Document change rule. Then make sure it is visible in the line item and add it to the posted documents.
08-02
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值