cancel
Showing results for 
Search instead for 
Did you mean: 

No characteristic in query selection

Former Member
0 Kudos

Hi guys

I need to input a value in the query selection which is not defined as characteristic.

For example:

Number of days [90] <- this is not defined as characteristic

Date of Process [2006.09.30] (0calday)

With these values, i need to obtain the range 2006.07.01 thru 2006.09.30 (replacement path)

Then in the query a need to calculate the media of a ratio... 09-07+1 = 3; zmovement = 0valstkval / 3

Best Regards and Thanks In Advance

Accepted Solutions (1)

Accepted Solutions (1)

former_member213594
Participant
0 Kudos

Yes , you can input with formula variable with "User Entry default value".

Hope this helps.

Thanks

Martin

Former Member
0 Kudos

Thanks Martin,

But know i am facing a problem

This is the i wrote:

WHEN 'ZRANDATE'.

IF i_step EQ 2.

READ TABLE i_t_var_range INTO loc_var_range

WITH KEY vnam = 'ZRANDAYS'.

IF sy-subrc = 0.

move loc_var_range to wl_tot_days.

READ TABLE i_t_var_range INTO loc_var_range

WITH KEY vnam = 'ZRANDATE'.

IF sy-subrc = 0.

wl_date_ini = wl_date_fin - loc_var_range.

l_s_range-high = wl_date_fin.

l_s_range-sign = 'I'.

l_s_range-opt = 'BT'.

l_s_range-low = wl_date_ini.

APPEND l_s_range TO e_t_range.

ENDIF.

ENDIF.

ENDIF.

Where zrandate is a variable of 0calday and the zrandays is user entry default value, the range of dates was not created correctly... when i try to debug (rsrt2) iam never be in i_step eq 2. What is wrong here?

Best Regards ans Thanks In Advence

Message was edited by: Juan Carlos Diez de Medina

Message was edited by: Juan Carlos Diez de Medina

former_member213594
Participant
0 Kudos

I_STEP =2 is called only for those variables that are not marked as "ready for input" and are set to "Mandatory variable entry".

Please check the property of variable "ZRANDATE" and try again though.

Thanks

Martin

Former Member
0 Kudos

Thanks Martin

Answers (0)