cancel
Showing results for 
Search instead for 
Did you mean: 

manual input variables

Former Member
0 Kudos
306

Dear Experts,

Is it possible to have a customised zcl* class for input variables ?

When this is used, does it bypass the standard user exit ZXRSRU01?

I mean is there other way to supply variables with values other than the standard ways such as authorization , exit variables etc?

I have a query having a variable of type manual input.

However, it seems that at runtime, the characteristic is populated with values from some kind of program.

Does anyone of you have encountered this kind of query?

I am using BI7.

best regards,

YHogan

Edited by: Yohannes Hogan on Apr 21, 2008 4:29 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi YHogan,

You can give a default value while creating a variable itself.

And you can also make use of Replacement Path:

Replacement Path:

You use the Replacement Path processing type to specify the value that automatically replaces the variable when you execute the query or Web application.

The processing type Replacement Path can be used with characteristic value variables, text variables, and formula variables.

The following options are available:

Replace with Characteristic Value

Text and formula variables with the processing type Replacement Path can be replaced with a corresponding characteristic value. In the variable editor, on the General tab page, you specify under Reference Characteristic the characteristic that is to be referenced by the replacement. On the Replacement Path tab page, you can choose whether the variable is replaced with the From or the To Value and with the Key or the Name of the characteristic value. You can also specify the Offset Start and Offset Length for the output.

Replace with Query

Characteristic value variables with the processing type Replacement Path are replaced with the results of a query. In the variable editor, on the Replacement Path tab page, you select the query whose result you want to use as the variable. You can now process the data result of the selected query as a variable in a different query.

Replace with Variable

Characteristic value variables, hierarchy variables, text variables, and formula variables with the Replacement Path processing type can take their values from a different variable.

The following prerequisites need to be fulfilled:

Variable:

● The variable must not be input-ready

● The variable must represent a single value

Source Variable:

● The source variable must not be a hierarchy node variable

● The source variable must be input-ready

● The source variable must be available in the query

● The source variable must represent a single value or an interval

In the variable editor, on the Replacement Path tab page, you specify the source variable from which the value is to be determined. The value is either determined from the key, the external attribute of the key, the description, or the attribute value. You can specify an Offset Start and an Offset Length for the output here.

The variable is replaced on the variable screen upon each data release.

Example

If you specify a variable as a characteristic value, you do not have to specify a text for the characteristic value right away. Instead, you can fill the text field dynamically and specifically for the characteristic that you use for the variable when you execute the query. To do this, define a text variable with automatic replacement.

Hope this helps u...

Regards,

KK.