09-17-2008 5:20 AM
Dear Experts,
i need PO number EBELN for one report.
problem is it stores while MIRO in BSEG/BKPF and
Account doc.no stores in BSAK/BSIK.
So, i need link between BSIK/BSAK and BSEG/BKPF
please help as soon as possible
thanks
Nayan Lad
Edited by: Nayan Lad on Sep 17, 2008 9:50 AM
09-17-2008 5:45 AM
Hi
The link for all the tables is you have bukrs(company code), belnr(Accounting document Number). I think u got the link.
Still if u have problem revert back
Regards,
Kasuladevi Srinivas
09-17-2008 5:43 AM
Hi,
The link is the Accounting Documnet Number - BELNR.
Thanks,
Ruthra
09-17-2008 5:48 AM
no but if BELNR is not matching in this perticular case then what do u do ?
09-17-2008 5:45 AM
Hi
The link for all the tables is you have bukrs(company code), belnr(Accounting document Number). I think u got the link.
Still if u have problem revert back
Regards,
Kasuladevi Srinivas
09-17-2008 5:52 AM
Ya still have a problem,
bcoz doing MIRO the number which genrated it is not a Accounting docno. so in bkpf it is a doc. no.
and doing F-44,F-48 which genrated is the actual accountno.
now both BELNR are diffrent then what to do ?
09-17-2008 5:56 AM
Hkont.But you should take care with BELNR GJAHR also as this is key.
09-17-2008 6:39 AM
Hi Nayan Lad,
Relation between BSIK BKPF and BSAK is as below...
BUKRS is common Field in all tables...
BSIK-AUGDT == BKPF-BLDAT == BSAK-AUGDT
BSIK-AUGBL == BKPF-BELNR == BSAK-AUGBL
GJAHR Is common field in all tables...
BSIK-BELNR == BKPF-DBBLG == BSAK-BELNR....
Also BSEG contains
BUKRS
BELNR
GJAHR
AUGDT
AUGBL
Try to relate it by seeing data inside tables...
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
09-17-2008 7:25 AM
Hi Nayan,
Correct me if I am wrong.
When you do a MIRO there is always an accounting document generated for which you have an ebtry in BKPF(header) and BSEG(Items). These entries can also be found in MKPF and MSEG.
F_44(Clearing Vendor) - This mostly comes into pictuere when you have payed vendor in advance so I think there is generation of new document number. This can be cleared itseld in MIRO or its can be done in F-44.
In all case the link is document number.
BKPF, BSEG- belnr
MKPF, MSEG- mblnr, here you can also find PO number easily(ebeln)
BSAK, BSIK- reference doc number(no SAP access so could'nt find the field name)
Regards
Vijai