Get profit center/cost center from RBKP invoice receipt number

假如想象 提交于 2019-12-24 19:06:01

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/49743731/get-profit-center-cost-center-from-rbkp-invoice-receipt-number

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!