Skip to Content
1

BEx Variable default value based on other variable input

Feb 03, 2017 at 07:45 PM

501

avatar image
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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Cornelia Lezoch Feb 06, 2017 at 04:19 PM
2

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

Share
10 |10000 characters needed characters left characters exceeded
Abdul Nahas Feb 07, 2017 at 12:15 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Feb 14, 2017 at 07:46 PM
0
Show 1 Share
10 |10000 characters needed characters left 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

0