cancel
Showing results for 
Search instead for 
Did you mean: 

calculations on customer exit using input variable

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

thanks. i bumped into this document a short bit after i posted this message - guess i completely forgot about it.

ryan.

Former Member
0 Kudos

thanks again...

Answers (0)