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: 

select -join

Former Member
0 Kudos

Hi all,

I wont to display list of Billing Document ( VBRP tab) which contain

materials with HAWA status ( MTAR -field)

Not sure but ( VBRP-EKPO-MARA tables)*?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Just VBRP & MARA should do it, something like....

select vbp~vbeln vbrp~matnr into table gt_itab
  from vbrp
    inner join mara on mara~matnr = vbrp~matnr
  where mara~mtart = 'HAWA'.

Darren

4 REPLIES 4

former_member181995
Active Contributor
0 Kudos

Use VF05(Further selection criteria)/VF05N transaction.

Former Member
0 Kudos

Hi,

Just VBRP & MARA should do it, something like....

select vbp~vbeln vbrp~matnr into table gt_itab
  from vbrp
    inner join mara on mara~matnr = vbrp~matnr
  where mara~mtart = 'HAWA'.

Darren

Former Member
0 Kudos

MATNR is in VBRP as well: VBRP -> MARA

Former Member
0 Kudos

You mean material type?? MTART ??

If I'm right use this...



SELECT a~vbeln a~matnr b~mtart
INTO TABLE it_vbrp
FROM vbrp AS a
INNER JOIN mara AS b
ON a~matnr EQ b~matnr
WHERE <cond>
AND  b~mtart EQ 'HAWA'.