on 12-21-2011 1:39 PM
Dear experts,
Can some one help me how to link the MM Invoice number and FI document number. We are developing a report where
I need to find the relvant FI document number for an Invoice document (MM).
Can some one provide me the table details where I can find these details.
Regards,
Krish
Go to MIR4 and enter your invoice number and year
Click on follow on documents and that document number is FI related
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Link Tables: EKBE, BKPF, BSEG, BSAK & BSIK
EKBE- get Invoice document,
BSEG & BKPF- FI document details
BSAK & BSIK- Payment details
Umakanth R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
In table EKBE you will get PO History Category field=BEWTP =Q means its invoice number for your PO
Now pass this 10 digit invoice number +fiscalyear2011 in reference field AWKEY of BKFP table you will get FI document for same
OR from table BSEG and RBKP you will get invoice number for your PO pass that invocie number in table BKPF with same logic
Regards
Kailas Ugale
Edited by: kailasugale on Dec 22, 2011 9:36 AM
Hi,
As you want the document detaisl of MIRO and the corresponding FI document so insted of PO history table you can directly use the table RSEG and RBKP, in RSEG you need to pass the PO number in the field EBELP and item no. in the fields EBELP select all the detaisl from RBKP and RSEG (MIRO Document) then concatenate RSEG-BELNR and RSEG-GJAHR pass this in the table BKPF-AWKEY, and get the FI document number.
regards,
zafar
HI,
Use table BKPF there input document type "RE" and then use field AWKEY i.e. Reference Key, it contains MIRO Document No with Fiscal Year.
That is if your LIV document is say 5605100011 and fiscal year is 2011 AWKEY is 56051000112011
You will get the Accounting document number (BKPF -BELNR and year BKPF- GJAHR) for your LIV document
Edited by: redriver on Dec 21, 2011 3:14 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.