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

calculations on customer exit using input variable


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. =)


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 14, 2005 at 08:24 AM

    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 -> 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 !!!)



    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.