Hi experts,
I am using the 0SD_C03 infoCube to stock the SD data, I want to calculate the net value of canceled orders.
In the 2LIS_11_VAHDR, there is a field "AUGRU", when it is filled, it means that the order is canceled.
In the 2LIS_11_VAITM, I have the net value of different order items.
The two above extractors load data to the InfoCube, the first one, 2LIS_11_VAHDR fill the 0ORD_REASON that is mapped to AUGRU. The second one, 2LIS_11_VAITM, fills the 0NET_VAL that is mapped to NETWR.
The query in SQL looks like:
Select 0NET_VAL from 0SD_C03 where VBELN in (Select VBELN from 0SD_C03 where 0ORD_REASON <> "")
How can I do this with Bex query?
Thank's a lot.
Abdess,