Skip to Content
0
Former Member
Jan 12, 2005 at 04:08 PM

populating Varibale depending what is in the query

17 Views

Probably having a bit of a mind blank, but here goes.

I have a query that returns two kf's Actual Sales and Mark Down Week.

Style........Actual Sales.........Markdown Week

123..............200..................200437

I wan to display the Pre Markdown sales and the Post Markdown sales

Style.....Actual Sls(pre).Actual Sls(post)..Markdown Week

123............150.............50........ ........200437

Here we would have sold 150 in the time upto week 37 and sold 50 in teh weeks that follow week 37.

I need to restrict Actual Sales by Calendar Week where Calendor Week <= Markdown week

I have tried Custome Exit Variable, but I cannot pass any data to the ABAP to know what the Markdown Week is.

I could also use a Virtual KF but this would mean massive performance overhead as the system would have to calculate sales for each line returned in the query

cheers

alan

BW3.1

Message was edited by: Alan Poole

Message was edited by: Alan Poole