cancel
Showing results for 
Search instead for 
Did you mean: 

In the filter the value of text variable is not shown, only technical name.

Former Member
0 Kudos

Hi All,

We have some odd behavior of text variables in the filter screen of key-figures.

After entering values in the variable screen, the report is executed.

Within the report all text variables are filled, with the values entered in the variable screen.

I say all, because we use both sap standard variables &0T_FPER& as customer specific &ZFSCYR&.

When i want to change the key figures showned, i press the filter icon for key-figures (BW 3.5)

In the list shown: existing filtervalues, the textvariables of SAP standard are filled with the value entered in the variable screen. However the customer specific is shown with the technical name (&ZFSCYR&) and not the value.

Has anyone experience with this behavior or even better a solution to prevent this?

As allways, each usefull answer points assigned!

Regards,

René

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Rene,

If ur custom text variable is not getting populated then you need to check out the code that u have written in there in CMOD for this and ofcourse if ur using this text variable after report execution then it will definately be in i_step 2.

So best way is to debug your code and check that using code RSRT.

Thanks

Dipika

former_member189638
Active Contributor
0 Kudos

Try the following

In your rows right click and select New Selection

Drag any key fig that you are already using in the query

Drag the characteristic 0FISCPER and right click on it, restrict and select your variable ZFSCYR

Hide this newly created Restricted Key Figure

Now run the report and check whether this solves the issue???

Former Member
0 Kudos

Hi

Did you use any customer exit code for the Customer specific variable?

If yes may be because if you use I_STEP = 2 it will process the varaibel afer the user input.

Instead of i_step = 2 use I_step = 1 and place place your code within this and check.

Regards

M.A