简体   繁体   English

SAP 查询 - BSEG 和 BKPF

[英]SAP query - BSEG and BKPF

I have two tables in SAP ERP, BSEG and BKPF, can we identify which transactions came from BSIS, BASS, BAUD, BSAD, BSIK or BSAK?我在 SAP ERP、BSEG 和 BKPF 中有两个表,我们可以识别哪些事务来自 BSIS、BASS、BAUD、BSAD、BSIK 或 BSAK? If yes then how?如果是,那怎么办? which columns and filters should we use?我们应该使用哪些列和过滤器?

You can use the account type field (BSEG-KOART):您可以使用帐户类型字段 (BSEG-KOART):

BSEG-KOART = 'S' => G/L postings, index tables are BSIS and BSAS
BSEG-KOART = 'D' => customer postings, index tables are BSID and BSAD
BSEG-KOART = 'K' => vendor postings, index tables are BSIK and BSAK.

Alternatively you can use the posting key field as well (BSEG-BSCHL), however it is a bit more complicated:或者,您也可以使用发布关键字段(BSEG-BSCHL),但它有点复杂:

BSEG-BSCHL = '40' or '50' => G/L postings
BSEG-BSCHL = '01' - '09' or '11' - '19' => customer postings
BSEG-BSCHL = '21' - '29' or '31' - '39' => vendor postings

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM