cancel
Showing results for 
Search instead for 
Did you mean: 

Badi user exit for bex query formula variable

tony_chee
Discoverer
0 Kudos

I had intended to create a formula variable(not ready for input) which would read user input variable for (Fiscal Period:single selection, Fiscal Year: single selection) It appears that the formula variable is not passed into the BADI . it appears that the variable (ready for input are only passed in when User exit BADI (i_step = 2). From reading the documented posted I thought all variables could be manipulated in I_step=2.

any help would be appreciated

Accepted Solutions (0)

Answers (3)

Answers (3)

kohesco
Active Contributor
0 Kudos

The parameter I_STEP is populated
with a number from 0 to 3 to specify at what point the enhancement is being called.
i.e. If I_STEP = 1, then Call has taken place directly before any variable variable entry has been
made. This can be used to pre populate selection variables
If I_STEP = 2, then then call has taken place directly after variable entry. This step is only
started up when a variable is not input ready and could not be filled when I_STEP was equal to
1.
If I_STEP = 3, you can check the values of the variables. Triggering an exception (RAISE)
causes the variable screen to appear once more. After which, I_STEP=2 is also called again. If
I_STEP = 0, then the enhancement is not called from the variable screen. The call can come
from the authorization check or from the Monitor.

kohesco
Active Contributor
0 Kudos

The parameter I_STEP is populated
with a number from 0 to 3 to specify at what point the enhancement is being called.
i.e. If I_STEP = 1, then Call has taken place directly before any variable variable entry has been
made. This can be used to pre populate selection variables
If I_STEP = 2, then then call has taken place directly after variable entry. This step is only
started up when a variable is not input ready and could not be filled when I_STEP was equal to
1.
If I_STEP = 3, you can check the values of the variables. Triggering an exception (RAISE)
causes the variable screen to appear once more. After which, I_STEP=2 is also called again. If
I_STEP = 0, then the enhancement is not called from the variable screen. The call can come
from the authorization check or from the Monitor.

Anand71
Active Contributor
0 Kudos

Hi,

You want to manipulate formula variable or input variable. Can you post your customer exit code.

Regards,

Anand