cancel
Showing results for 
Search instead for 
Did you mean: 

Hidden variable but ready for Input - BEx

Former Member
0 Kudos

Hello everyone,

I wanted to know if it's possible to create a variable for selection screen in the BEx which is hidden but still ready for input.

I guess that if I uncheck the option "Variable is Ready for Input" in the variable properties in BEx, I will have a variable which is hidden and can be manipulated in a SAP Exit function module. I don't want to manipulate the variable there but send a value through RRI to this report (where the Variable should be hidden). If I uncheck the option "Variable is Ready for Input" I cannot set this in the RRI settings because I don't see the variable since it is not ready for input

Do you know a possible solution for this?

Thanks,

Carlos

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You do not need a variable to pass values to the RRI target query. Values are passed from the source query to the target query based on the InfoObjects used in each, plus any assignments you make on the Assignment Details screen in RSBBS.

In fact, when we develop a query for RRI use, we do not include any variables in it.

Hope this helps...

Bob

Former Member
0 Kudos

Hello Bob,

Thanks for your fast answer. I got what you said, but it is not as simple as it is, for that reason I will describe the scenario a little bit more:

Source query has:

Variable: Key Date (Single, mandatory) -> InfoObject /APC/ACCTRADAT

Key date means "all before that date" (defined in the extractor).

Target query has:

Variable: Transaction Date (selection Option, optional) -> InfoObject /APC/ACCTRADAT

Transaction Date means "only that date" or "from one date to other date".

If I send the date through RRI, the target query will think that the value it is getting is a single value, but it's actually a range (all before that date).

For that reason I created a new InfoObject called Key Date for Recon. (/APC/RCTKEYDAT) with a single optional variable. I don't want to show the InfoObject as a free char because it makes no sence on it. So, depending on the variable I get, the extractor will decide either if it is a range or a single value. Any ideas?

Regards,

Carlos