cancel
Showing results for 
Search instead for 
Did you mean: 

BEx Variable default value based on other variable input

Former Member

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?

former_member211603
Participant
0 Kudos

Hi,

Any update on this requirement, I am having same requirement.

It just that, I have two input parameters coming from HANa calculation view into Bex. So when first entered by user, second should show only values related to first and not all the data from master table.

Regards,

Pradnya

Accepted Solutions (0)

Answers (3)

Answers (3)

cornelia_lezoch
Active Contributor

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

Former Member
0 Kudos
Former Member
0 Kudos

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

abdul_nahas3
Explorer
0 Kudos

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