Link between cost- and accounting-document
currently I got stuck while analyzing the connection between cost and accounting documents in R/3.
The target is to get a reference which accounting document is linked to which cost document. My source is always the number of the cost document and I need to find the relevant accounting document.
I need the tables in ERP where this information is stored, as I like to extract that in a business warehouse.
What I do in ERP is the following:
I display a cost document in KSB5.
Select "Environment -> Accounting documents" to display the list of documents in accounting.
In this list I select the accounting document which is displayed in FB03.
Now I like to get the tables which are used to store this information which I displayed as described.
BSEG is used for information about accounting documents.
COEP is used for information about cost documents.
But where can I find the link between those two documents? Where is the information stored, which can be found in the "list of documents in accounting"?
Thanks in advance for your help,