Skip to Content
0
Former Member
Jun 16, 2009 at 10:11 PM

Count and Other fields - VBAK

87 Views

Hi All,

I want to find the count the no of Orders from VBAK for a combination of VBTYP and AUART.

Select Count(*) from vbak into table t_vbak where vbeln in s_vbeln

and vkorg eq p_vkorg

group by vbtyp auart.

This will only give the count.

I also need other data like erdat ernam and a bunch of other fields for this combination.

Do I need to select again from VBAK??

Any ideas.

Meghna