Skip to Content
author's profile photo Former Member
Former Member

populating Varibale depending what is in the query

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


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




Message was edited by: Alan Poole

Message was edited by: Alan Poole

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 12, 2005 at 06:27 PM


    One option would be to add an additional characteristic in your transaction data as the markdown week and populate it with a very high week value say 300001 until the item is actually marked down. When that happens you can input the actual markdown week. Then you can create a restricted key figure with the restriction on this new characteristic to identify the pre-sales and a calculation (total - restricted) to identify the post markdown.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.