Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to find an MM invoice through the FI accounting document?

dev_parbutteea
Active Contributor
0 Kudos

Hi, in the table BKPF i have the accounting document of type FX .I wish to find the MM document associated to it( document created in MIRO)

1 ACCEPTED SOLUTION

Former Member
0 Kudos

check the table RSEG

3 REPLIES 3

Former Member
0 Kudos

check the table RSEG

former_member182371
Active Contributor
0 Kudos

Hi,

BKPF-AWKEY holds the invoice verification document number (and year).

Best regards.

GauthamV
Active Contributor
0 Kudos

hi,

use this.

SELECT belnr

awkey

INTO TABLE it_bkpf

FROM bkpf

FOR ALL ENTRIES IN it_mkpf

WHERE awkey = it_mkpf-awkey.