Skip to Content
avatar image
Former Member

BEx Variable default value based on other variable input

This is the workflow I am trying to accomplish:

There 2 variables on a BEx report. Variable screen loads and user selects a single value for variable 1. At that point, .I would like variable 2 to show a default value based on the value selected in #1, and have the ability to overwrite that selection via normal variable selection screen.

Is this scenario possible?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Feb 06, 2017 at 04:19 PM

    Hi Thomas,

    it will not be possible exactly the way you want.

    You have the different Steps for variable execution.

    see some explanation here:

    https://blogs.sap.com/2013/12/13/all-about-istep-variable/

    filling defaults is done in step 1, user selection is done in step 2.

    So after step 2 you do not come back to step 1.

    What you could do is, if the user did not fill something into the second variable, fill it in step 3 with the value from the first variable.

    regards

    Cornelia

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 07, 2017 at 12:15 PM

    Hi Thomas,

    I do not believe this can be achievable in BEx. Because in customer exit, in I_step=1, we have to code for default values and once this is done, in I_step =2, it will move to after processing of variable screen. it will not move back to variable screen once it is processing I_step=1.

    Regards,

    Abdul

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 14, 2017 at 07:46 PM
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      This is not possible using any of the typical way of implementation since BEx customer exit variables deal with concept i_step 1, 2, 3. and i_step 1 is used for populating the default values.

      However, I understand the requirement and even I have such requirement. Did you manage to come up with any workaround?

      thanks,

      Raghu