Application Development and Automation 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: 
Read only

select -join

Former Member
0 Likes
924

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
Read only

Former Member
0 Likes
768

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
Read only

Former Member
0 Likes
768

Use VF05(Further selection criteria)/VF05N transaction.

Read only

Former Member
0 Likes
769

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

Read only

Former Member
0 Likes
768

MATNR is in VBRP as well: VBRP -> MARA

Read only

Former Member
0 Likes
768

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'.