on 01-13-2005 12:22 AM
hi,
suppose i have a date input variable on my query, and i want to use the input value as an input for a calculation to be done in a different characteristic variable whose value is derived via a customer exit. how could this be done?
as an example - i have an input date field, and say, the user enters 1/15/2005. the other characteristic variable is, for example, sales for a given date, restricted against a characteristic variable (customer exit) which should restrict the KF to say, the start of the month of the input date up to the input date (in this case, 1/1/2005 - 1/15/2005).
thanks in advance. 😃
ryan.
Hi Ryan,
you have to use parameter I_STEP = 2 in your exit (IF I_STEP = 2. (...))
This second step is called after the processing of the variable pop-up and only for those variables that are not marked as ready for input and are set to mandatory variable entry.
Build your second variable in this way and then you can use this step to see first (pop-up) variable value.
For details see www.service.sap.com/bw -> SAP BW InfoIndex -> Variables -> How to... Derive a Variable value from another variable 2.x (pdf).
Hope it helps (and please don't forget to assign some points by clickin'on the yellow star to the contributors that help you !!!)
Bye,
Roberto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.