简体   繁体   中英

Get profit center/cost center from RBKP invoice receipt number

How can I get the cost center, profit center? I am from RSEG and RBKP tables is there any other way to get those, I can't use vbseg tables cause the doc no. are stored in RSEG and RBKP since I created the document using MIR7. please help. thanks

Firstly you should find accounting document number from invoice number (RBKP-BELNR). You can do this by two ways:

  1. Via reference key (AWKEY). You should concatenate fields BELNR and GJAHR and link this with BKPF-AWKEY.

在此处输入图片说明

  1. Another way to find this number is via GUI. Enter your RBKP-BELNR into MIRO transaction and press Follow-on documents , here you will see it as well.

在此处输入图片说明

After finding that BKPF number take it along with full key and go to BSEG . You will find cost center there ( KOSTL field).

Profit centers can be found by cost centers from CSKS link-table.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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