join tables BKPF-VBRK

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Post Reply
pejuz1
Posts: 165
Joined: Mon Jul 30, 2007 3:34 am

join tables BKPF-VBRK

Post by pejuz1 » Fri Feb 18, 2011 12:59 am

Good morning SAP experts,

I need create info set. I have two tables BKPF and VBRP.
Please help me which fields I can use for join.
BKPF-XBLNR and VBRK-VBELN is not possible. I receive error message.

Thanks a lot
Kind regards
Pejuz1

Sharpshooter
Posts: 1172
Joined: Wed Mar 17, 2010 12:01 pm
Location: In the dark

Re: join tables BKPF-VBRK

Post by Sharpshooter » Fri Feb 18, 2011 8:10 am

The fields are both C10 - should not be a problem. Thanks for sharing the error message!
Good luck!

MitchK
Posts: 310
Joined: Wed Jan 04, 2006 4:41 pm

Re: join tables BKPF-VBRK

Post by MitchK » Fri Feb 18, 2011 11:57 am

If going from VBRK:
VBRK-VBELN = BKPF-AWKEY

If going from BKPF:
BKPF-AWTYP = 'VBRK'.
BKPF-AWKEY = VBRK-VBELN.

Mitch

Post Reply